Martin Mares 
							
						 
					 
					
						
						
							
						
						f990fc61e0 
					 
					
						
						
							
							When in persist mode, don't delete routes from kernel tables even if  
						
						... 
						
						
						
						they cease to exist in our routing tables due to protocols having shut down. 
						
						
					 
					
						2000-05-16 13:36:38 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						02bd064ab7 
					 
					
						
						
							
							Adapted to new rt_notify semantics.  
						
						
						
						
					 
					
						2000-05-13 11:02:02 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						5ff0a270cb 
					 
					
						
						
							
							In non-debug mode, set default logging to syslog only, not stderr.  
						
						
						
						
					 
					
						2000-05-08 22:31:58 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						4524331a3d 
					 
					
						
						
							
							Fixed type in daemonization code.  
						
						
						
						
					 
					
						2000-05-08 22:31:34 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						0bcba21e89 
					 
					
						
						
							
							When not debugging, daemonize automatically.  
						
						
						
						
					 
					
						2000-05-08 19:10:36 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						818ff1e2b7 
					 
					
						
						
							
							When reporting a bug(), call abort() instead of exit(), so that we  
						
						... 
						
						
						
						can analyse the core. 
						
						
					 
					
						2000-05-08 12:38:00 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						c304392e65 
					 
					
						
						
							
							Some less socket error messages.  
						
						
						
						
					 
					
						2000-05-08 12:37:39 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						9cbf43eb8a 
					 
					
						
						
							
							Don't report refused connections.  
						
						
						
						
					 
					
						2000-05-08 12:09:10 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						916c8c0aba 
					 
					
						
						
							
							Use preferences properly.  
						
						
						
						
					 
					
						2000-05-08 10:40:00 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						1151401e2b 
					 
					
						
						
							
							Don't crash when reporting deleted routes.  
						
						... 
						
						
						
						Set preferences correctly. 
						
						
					 
					
						2000-05-08 10:38:51 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						ab1129c1bd 
					 
					
						
						
							
							Added skeleton Doc files for the whole developer's documentation.  
						
						
						
						
					 
					
						2000-05-05 17:17:42 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						9a220cabbc 
					 
					
						
						
							
							#ifdef out lots of debugging information.  
						
						... 
						
						
						
						The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands. 
						
						
					 
					
						2000-05-04 20:52:28 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						93a786cb03 
					 
					
						
						
							
							Removed a lot of unused variables.  
						
						... 
						
						
						
						Please try compiling your code with --enable-warnings to see them. (The
unused parameter warnings are usually bogus, the unused variable ones
are very useful, but gcc is unable to control them separately.) 
						
						
					 
					
						2000-05-04 20:30:36 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						2edb31b097 
					 
					
						
						
							
							Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,  
						
						... 
						
						
						
						C declarations etc.). 
						
						
					 
					
						2000-04-28 15:11:10 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f75e3bbc01 
					 
					
						
						
							
							Fixed a couple of nasty CLI bugs which were triggered on long or multi-part  
						
						... 
						
						
						
						outputs. It took a whole evening to hunt them down, but now the CLI seems
to work fine.
Now I run three BGP connections with several thousand routes! 
						
						
					 
					
						2000-04-27 22:35:08 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						e1ddd99377 
					 
					
						
						
							
							Changed handling of incoming connections, so that we can send data  
						
						... 
						
						
						
						from the send hook without worrying about existence of socket buffers.
Also, don't forget to copy peer addresses. 
						
						
					 
					
						2000-04-26 13:26:11 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						0cadd5f531 
					 
					
						
						
							
							Removed several FIXME's.  
						
						
						
						
					 
					
						2000-04-26 12:33:37 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						00c0c18aea 
					 
					
						
						
							
							Allow sk_close(NULL).  
						
						
						
						
					 
					
						2000-04-25 23:07:47 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f380aa60fa 
					 
					
						
						
							
							IPv6 compiles with glibc 2.1.  
						
						
						
						
					 
					
						2000-04-20 23:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						3991d84e8f 
					 
					
						
						
							
							Changed initialization of protocol list -- now we call proto_build() instead  
						
						... 
						
						
						
						of calling the protocols manually.
Implemented printing of dynamic attributes in `show route all'.
Each protocol can now register its own attribute class (protocol->attr_class,
set to EAP_xxx) and also a callback for naming and formatting of attributes.
The callback can return one of the following results:
	GA_UNKNOWN	Attribute not recognized.
	GA_NAME		Attribute name recognized and put to the buffer,
			generic code should format the value.
	GA_FULL		Both attribute name and value put to the buffer.
Please update protocols generating dynamic attributes to provide
the attr_class and formatting hook. 
						
						
					 
					
						2000-04-01 10:19:47 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						a37410cbdd 
					 
					
						
						
							
							Use bsprintf() instead of sprintf().  
						
						
						
						
					 
					
						2000-03-31 23:33:03 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						221135d6bf 
					 
					
						
						
							
							Include "lib/string.h" instead of <string.h>. It should give us bzero()  
						
						... 
						
						
						
						and other non-portable functions on all systems. 
						
						
					 
					
						2000-03-31 23:30:21 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						320f417357 
					 
					
						
						
							
							Defined sk_close() which closes the socket safely even if called from  
						
						... 
						
						
						
						socket hook. Replaces the SK_DELETED hack.
Squashed a couple of bugs in handling of TCP sockets. 
						
						
					 
					
						2000-03-30 10:43:37 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						1cf716f075 
					 
					
						
						
							
							Handle EINPROGRESS properly.  
						
						... 
						
						
						
						Set IP_DONTROUTE sockopt only if sk->ttl == 1. 
						
						
					 
					
						2000-03-20 21:49:21 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f098e072be 
					 
					
						
						
							
							Fixed a bunch of FIXME's by removing them :)  
						
						
						
						
					 
					
						2000-03-12 22:53:05 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						7a88832e78 
					 
					
						
						
							
							Added tm_format_datetime().  
						
						
						
						
					 
					
						2000-03-12 22:43:13 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						a92bebe0ec 
					 
					
						
						
							
							Yet another LOCAL_DEBUG turned off.  
						
						
						
						
					 
					
						2000-03-12 21:58:51 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						832fa033b7 
					 
					
						
						
							
							Cleaned up debugging in kernel syncer.  Netlink has still LOCAL_DEBUG  
						
						... 
						
						
						
						turned on, but after some testing I'll gag it. 
						
						
					 
					
						2000-03-12 21:54:39 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						6b9fa32080 
					 
					
						
						
							
							Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,  
						
						... 
						
						
						
						several debug() calls converted to DBG(). 
						
						
					 
					
						2000-03-12 21:01:38 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						c801e1fbab 
					 
					
						
						
							
							Renamed command shutdown' to down', so that `s' can be used as an  
						
						... 
						
						
						
						abbreviation for `show'. 
						
						
					 
					
						2000-03-07 20:09:35 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						b9626ec6ea 
					 
					
						
						
							
							Garbage collector events and counters are now per table and one day  
						
						... 
						
						
						
						they can be made configurable if it turns out to be useful. 
						
						
					 
					
						2000-03-04 22:21:06 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						6a636392d3 
					 
					
						
						
							
							Rewrote interface type detection logic. The `unnumbered' flag is now per  
						
						... 
						
						
						
						address, not per interface (hence it's ifa->flags & IA_UNNUMBERED) and
should be set reliably. IF_MULTIACCESS should be fixed now, but it isn't
wise to rely on it on interfaces configured with /30 prefix. 
						
						
					 
					
						2000-02-29 23:19:52 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						9fac310d1a 
					 
					
						
						
							
							Put client on a stony ground. The whole client is going to be system-specific  
						
						... 
						
						
						
						(the current version UNIX-specific) anyway, so it's useless to try splitting it
to sysdep and generic part. Instead of this, configure script decides (based on
system type and user's wish) what (if any) client should be built and what
autoconfiguration it requires. Also, the client provides its own die/bug/...
functions. 
						
						
					 
					
						2000-01-19 15:07:00 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						3ea1ba632b 
					 
					
						
						
							
							Killed protocol->priority. Protocol startup should be clean and hack-free now.  
						
						... 
						
						
						
						It seems everything still works (except for disable/enable/restart which hangs
sometimes, but it's another story). 
						
						
					 
					
						2000-01-18 11:01:03 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						aa8761de94 
					 
					
						
						
							
							Kernel route syncer now supports dynamic reconfiguration. Also it doesn't  
						
						... 
						
						
						
						depend on the startup counter hack now and uses a zero-time timer instead
to make itself scheduled after normal protocol startup. 
						
						
					 
					
						2000-01-18 10:39:30 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						d272fe22dd 
					 
					
						
						
							
							Separated `official protocol names' used in status dumps from name templates  
						
						... 
						
						
						
						used for automatic generation of instance names.
	protocol->name is the official name
	protocol->template is the name template (usually "name%d"),
		should be all lowercase.
Updated all protocols to define the templates, checked that their configuration
grammar includes proto_name which generates the name and interns it in the
symbol table. 
						
						
					 
					
						2000-01-17 11:52:50 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f7fcb75252 
					 
					
						
						
							
							Reconfiguration for device protocol.  
						
						
						
						
					 
					
						2000-01-17 11:17:33 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						99278e1042 
					 
					
						
						
							
							Wording changes.  
						
						
						
						
					 
					
						2000-01-16 23:36:19 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						bf8558bc9c 
					 
					
						
						
							
							Converted shutdown to a kind of reconfiguration, it's no more handled  
						
						... 
						
						
						
						as a exception in protocol state machines. Introduced a `shutdown'
CLI command. Killed few reconfiguration bugs. 
						
						
					 
					
						2000-01-16 17:40:26 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						50fe90edf3 
					 
					
						
						
							
							First attempt on dynamic reconfiguration. There are still lots of bugs  
						
						... 
						
						
						
						and problems to solve, but the hardest part works. 
						
						
					 
					
						2000-01-16 16:44:50 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						476e108425 
					 
					
						
						
							
							Minor cleanups.  
						
						
						
						
					 
					
						1999-12-16 13:51:43 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						e693ddff87 
					 
					
						
						
							
							Handle cases when SIOCGIFINDEX is defined, but doesn't work (new glibc  
						
						... 
						
						
						
						with 2.0 kernels). 
						
						
					 
					
						1999-12-16 13:23:32 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						a2867cd957 
					 
					
						
						
							
							Better order of includes.  
						
						... 
						
						
						
						set_inaddr() moved to sysio.h. 
						
						
					 
					
						1999-12-16 13:14:02 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						67ece6df42 
					 
					
						
						
							
							Tried to clean up multicast handling. Now we don't try to guess  
						
						... 
						
						
						
						multicast abilities depending on definedness of symbols and use hard-wired
system-dependent configuration defines instead.
Please test whereever you can. 
						
						
					 
					
						1999-12-16 13:06:13 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f545d38707 
					 
					
						
						
							
							Added universal locking mechanism which will solve problems  
						
						... 
						
						
						
						with protocols wanting to use the same port on the same interface
during reconfiguration time.
How to use locks: In the if_notify hook, just order locks for the
interfaces you want to work with and do the real socket opening after the
lock hook function gets called. When you stop using the socket, close
it and rfree() the lock.
Please update your protocols to use the new locking mechanism. 
						
						
					 
					
						1999-12-09 18:54:20 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						30bc402ebb 
					 
					
						
						
							
							Temporary work-arounds for multicast problems. Needs further investigation.  
						
						
						
						
					 
					
						1999-12-08 15:12:54 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						0da472d7e8 
					 
					
						
						
							
							Except for special protocols (nowadays only the kernel syncer), don't  
						
						... 
						
						
						
						export host and link scope routes. 
						
						
					 
					
						1999-12-08 14:16:13 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						dc82daaa9b 
					 
					
						
						
							
							- Path to control socket is selectable via command-line option.  
						
						... 
						
						
						
						- die() when control socket open failed. 
						
						
					 
					
						1999-12-08 13:20:19 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f78056fb2c 
					 
					
						
						
							
							Allow logging to stderr as well.  
						
						
						
						
					 
					
						1999-12-06 13:51:04 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Mares 
							
						 
					 
					
						
						
							
						
						a0c37b45e5 
					 
					
						
						
							
							Logging is now configurable. You can define multiple log outputs (to both  
						
						... 
						
						
						
						files and syslog) and assign lists of message categories to each of them. 
						
						
					 
					
						1999-12-06 13:45:56 +00:00