]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
24 years agoClient: Online help works (Cisco style: just press `?' at the end of a line).
Martin Mares [Thu, 17 Feb 2000 22:00:13 +0000 (22:00 +0000)] 
Client: Online help works (Cisco style: just press `?' at the end of a line).

24 years agoFirst usable version of the client. No command completion and similar nifty
Martin Mares [Tue, 15 Feb 2000 12:18:37 +0000 (12:18 +0000)] 
First usable version of the client. No command completion and similar nifty
features yet, but it works.

24 years agoDon't make dependencies in client directory if the client is not
Martin Mares [Mon, 14 Feb 2000 17:32:50 +0000 (17:32 +0000)] 
Don't make dependencies in client directory if the client is not
configured in.

24 years agoHash table structure redesigned.
Ondrej Filip [Tue, 8 Feb 2000 22:43:10 +0000 (22:43 +0000)] 
Hash table structure redesigned.

24 years agoOther LS struct added.
Ondrej Filip [Tue, 8 Feb 2000 22:13:12 +0000 (22:13 +0000)] 
Other LS struct added.

24 years agoLSA type changed from u16 to u8.
Ondrej Filip [Tue, 8 Feb 2000 19:24:22 +0000 (19:24 +0000)] 
LSA type changed from u16 to u8.

24 years agoMalloc() changed to cfg_alloc().
Ondrej Filip [Tue, 8 Feb 2000 19:12:42 +0000 (19:12 +0000)] 
Malloc() changed to cfg_alloc().

24 years agofilter_same() implemented. Don't bet on it, yet.
Pavel Machek [Mon, 31 Jan 2000 17:44:22 +0000 (17:44 +0000)] 
filter_same() implemented. Don't bet on it, yet.

24 years agoUpdated docs about filters, and added fixme.
Pavel Machek [Wed, 26 Jan 2000 21:28:53 +0000 (21:28 +0000)] 
Updated docs about filters, and added fixme.

24 years agoDo not send empty packets in rip.
Pavel Machek [Wed, 26 Jan 2000 14:12:18 +0000 (14:12 +0000)] 
Do not send empty packets in rip.

24 years agoOutput made prettier.
Pavel Machek [Wed, 26 Jan 2000 12:07:18 +0000 (12:07 +0000)] 
Output made prettier.

24 years agoConfigure, link and use the readline library.
Martin Mares [Thu, 20 Jan 2000 13:13:30 +0000 (13:13 +0000)] 
Configure, link and use the readline library.

24 years agoPut client on a stony ground. The whole client is going to be system-specific
Martin Mares [Wed, 19 Jan 2000 15:07:00 +0000 (15:07 +0000)] 
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.

24 years agoGenerate a list of all commands and their help texts for the client to use.
Martin Mares [Wed, 19 Jan 2000 14:37:56 +0000 (14:37 +0000)] 
Generate a list of all commands and their help texts for the client to use.

24 years agoSplit off general commands to cmds.c.
Martin Mares [Wed, 19 Jan 2000 12:30:19 +0000 (12:30 +0000)] 
Split off general commands to cmds.c.

Added `show symbols' command which dumps whole symbol table together
with symbol types etc.

24 years agoKilled a couple of bugs in the neighbor cache.
Martin Mares [Wed, 19 Jan 2000 11:52:32 +0000 (11:52 +0000)] 
Killed a couple of bugs in the neighbor cache.

Manual disable/enable/restart/shutdown/reconfiguration of protocols
no longer hangs on loops in neighbor lists :)

24 years agoKilled protocol->priority. Protocol startup should be clean and hack-free now.
Martin Mares [Tue, 18 Jan 2000 11:01:03 +0000 (11:01 +0000)] 
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).

24 years agoprotocol->startup_counter no longer exists.
Martin Mares [Tue, 18 Jan 2000 10:42:45 +0000 (10:42 +0000)] 
protocol->startup_counter no longer exists.

24 years agoKernel route syncer now supports dynamic reconfiguration. Also it doesn't
Martin Mares [Tue, 18 Jan 2000 10:39:30 +0000 (10:39 +0000)] 
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.

24 years agoRemoved point-to-point tunnel hack as it breaks ordinary PtP interfaces.
Martin Mares [Mon, 17 Jan 2000 12:40:00 +0000 (12:40 +0000)] 
Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.
I'll find a better solution soon.

24 years agoStatic protocol supports full dynamic reconfiguration.
Martin Mares [Mon, 17 Jan 2000 12:38:50 +0000 (12:38 +0000)] 
Static protocol supports full dynamic reconfiguration.

24 years agoMoved initlialization of protocol lists to global init. Argh.
Martin Mares [Mon, 17 Jan 2000 12:38:07 +0000 (12:38 +0000)] 
Moved initlialization of protocol lists to global init. Argh.

24 years agoSeparated `official protocol names' used in status dumps from name templates
Martin Mares [Mon, 17 Jan 2000 11:52:50 +0000 (11:52 +0000)] 
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.

24 years agoReconfiguration for device protocol.
Martin Mares [Mon, 17 Jan 2000 11:17:33 +0000 (11:17 +0000)] 
Reconfiguration for device protocol.

24 years agoPipe protocol supports reconfiguration.
Martin Mares [Mon, 17 Jan 2000 00:20:45 +0000 (00:20 +0000)] 
Pipe protocol supports reconfiguration.

24 years agoDevice protocol supports reconfiguration.
Martin Mares [Mon, 17 Jan 2000 00:20:17 +0000 (00:20 +0000)] 
Device protocol supports reconfiguration.

24 years agoDon't forget changing proto->name to point to name in new configuration
Martin Mares [Mon, 17 Jan 2000 00:19:58 +0000 (00:19 +0000)] 
Don't forget changing proto->name to point to name in new configuration
(to avoid the name being freed with the old config).

Also remember to add proto_pipe to protocol_list.

24 years agoWhen a quoted string is encountered, don't forget to copy it to the
Martin Mares [Sun, 16 Jan 2000 23:36:53 +0000 (23:36 +0000)] 
When a quoted string is encountered, don't forget to copy it to the
config pool before passing it to the parser.

24 years agoWording changes.
Martin Mares [Sun, 16 Jan 2000 23:36:19 +0000 (23:36 +0000)] 
Wording changes.

24 years agoReworked proto lists -- each proto is now in two lists: the global one
Martin Mares [Sun, 16 Jan 2000 23:30:06 +0000 (23:30 +0000)] 
Reworked proto lists -- each proto is now in two lists: the global one
(proto_list) and per-type one (original lists). A lot of things simplified.

Implemented `disable', `enable' and `restart' CLI commands.

24 years agoAdded filter_same() for comparision of two filters.
Martin Mares [Sun, 16 Jan 2000 17:49:32 +0000 (17:49 +0000)] 
Added filter_same() for comparision of two filters.

Pavel, please implement this as soon as possible.

24 years agoConverted shutdown to a kind of reconfiguration, it's no more handled
Martin Mares [Sun, 16 Jan 2000 17:40:26 +0000 (17:40 +0000)] 
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.

24 years agoNo more problems when events get scheduled during event processing.
Martin Mares [Sun, 16 Jan 2000 17:39:16 +0000 (17:39 +0000)] 
No more problems when events get scheduled during event processing.

24 years agoFirst attempt on dynamic reconfiguration. There are still lots of bugs
Martin Mares [Sun, 16 Jan 2000 16:44:50 +0000 (16:44 +0000)] 
First attempt on dynamic reconfiguration. There are still lots of bugs
and problems to solve, but the hardest part works.

24 years agoDon't forget to set proto->min_scope = SCOPE_HOST.
Martin Mares [Sun, 16 Jan 2000 16:40:57 +0000 (16:40 +0000)] 
Don't forget to set proto->min_scope = SCOPE_HOST.

24 years agoPreparing for building LS databaze. Huh, why is it so complicated? :-(
Ondrej Filip [Wed, 5 Jan 2000 00:03:47 +0000 (00:03 +0000)] 
Preparing for building LS databaze. Huh, why is it so complicated? :-(

Adding definition of some constants.

24 years agoFew more entries for bird documentation
Pavel Machek [Mon, 20 Dec 1999 19:14:06 +0000 (19:14 +0000)] 
Few more entries for bird documentation

24 years agoThis is first version of documentation. Be sure to take a close look
Pavel Machek [Sat, 18 Dec 1999 20:41:19 +0000 (20:41 +0000)] 
This is first version of documentation. Be sure to take a close look
at it, and it would be very nice if you wrote at least introductions
to your chapters...

24 years agoAdded fixme.
Pavel Machek [Sat, 18 Dec 1999 20:39:53 +0000 (20:39 +0000)] 
Added fixme.

24 years agoMinor cleanups.
Martin Mares [Thu, 16 Dec 1999 13:51:43 +0000 (13:51 +0000)] 
Minor cleanups.

24 years agoHandle cases when SIOCGIFINDEX is defined, but doesn't work (new glibc
Martin Mares [Thu, 16 Dec 1999 13:23:32 +0000 (13:23 +0000)] 
Handle cases when SIOCGIFINDEX is defined, but doesn't work (new glibc
with 2.0 kernels).

24 years agoAdded missing semicolon.
Martin Mares [Thu, 16 Dec 1999 13:14:32 +0000 (13:14 +0000)] 
Added missing semicolon.

rip.h compiles in IPv6 mode, rip.c still doesn't.

24 years agoBetter order of includes.
Martin Mares [Thu, 16 Dec 1999 13:14:02 +0000 (13:14 +0000)] 
Better order of includes.

set_inaddr() moved to sysio.h.

24 years agoipv6_compare() accepts non-lvalue arguments as well. This makes filters
Martin Mares [Thu, 16 Dec 1999 13:13:22 +0000 (13:13 +0000)] 
ipv6_compare() accepts non-lvalue arguments as well. This makes filters
compile with IPv6.

24 years agoTried to clean up multicast handling. Now we don't try to guess
Martin Mares [Thu, 16 Dec 1999 13:06:13 +0000 (13:06 +0000)] 
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.

24 years agoAvoid touching F_MODIFY, it no longer exists.
Martin Mares [Thu, 16 Dec 1999 12:59:09 +0000 (12:59 +0000)] 
Avoid touching F_MODIFY, it no longer exists.

24 years agoTODO entries and FIXME's.
Martin Mares [Thu, 16 Dec 1999 12:18:33 +0000 (12:18 +0000)] 
TODO entries and FIXME's.

24 years agoKicked off F_MODIFY (not generated nor used)
Martin Mares [Thu, 16 Dec 1999 12:18:19 +0000 (12:18 +0000)] 
Kicked off F_MODIFY (not generated nor used)

24 years agoAdded universal locking mechanism which will solve problems
Martin Mares [Thu, 9 Dec 1999 18:54:20 +0000 (18:54 +0000)] 
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.

24 years agoTemporary work-arounds for multicast problems. Needs further investigation.
Martin Mares [Wed, 8 Dec 1999 15:12:54 +0000 (15:12 +0000)] 
Temporary work-arounds for multicast problems. Needs further investigation.

24 years agoExcept for special protocols (nowadays only the kernel syncer), don't
Martin Mares [Wed, 8 Dec 1999 14:16:13 +0000 (14:16 +0000)] 
Except for special protocols (nowadays only the kernel syncer), don't
export host and link scope routes.

24 years agoAdded hooks for show route.
Pavel Machek [Wed, 8 Dec 1999 13:33:44 +0000 (13:33 +0000)] 
Added hooks for show route.
Fixed passing metrics around routing tables.

24 years ago- Path to control socket is selectable via command-line option.
Martin Mares [Wed, 8 Dec 1999 13:20:19 +0000 (13:20 +0000)] 
- Path to control socket is selectable via command-line option.
- die() when control socket open failed.

24 years agoFix timing and fix endianity in metrics.
Pavel Machek [Wed, 8 Dec 1999 12:51:45 +0000 (12:51 +0000)] 
Fix timing and fix endianity in metrics.

24 years agoDisallow rta.net syntax.
Pavel Machek [Wed, 8 Dec 1999 12:51:26 +0000 (12:51 +0000)] 
Disallow rta.net syntax.

24 years agoPut rip options into config file.
Pavel Machek [Wed, 8 Dec 1999 12:51:15 +0000 (12:51 +0000)] 
Put rip options into config file.

24 years agoMake bird.conf that does not crash machine when you run bird as root.
Pavel Machek [Wed, 8 Dec 1999 12:50:57 +0000 (12:50 +0000)] 
Make bird.conf that does not crash machine when you run bird as root.

24 years agoMake rta. syntax optional.
Pavel Machek [Wed, 8 Dec 1999 10:15:51 +0000 (10:15 +0000)] 
Make rta. syntax optional.

24 years agoSeparated bird.conf and bird.conf for testing filters.
Pavel Machek [Wed, 8 Dec 1999 10:15:40 +0000 (10:15 +0000)] 
Separated bird.conf and bird.conf for testing filters.

24 years agoAllow logging to stderr as well.
Martin Mares [Mon, 6 Dec 1999 13:51:04 +0000 (13:51 +0000)] 
Allow logging to stderr as well.

24 years agoAdded type `g' for void (general) pointer.
Martin Mares [Mon, 6 Dec 1999 13:50:50 +0000 (13:50 +0000)] 
Added type `g' for void (general) pointer.

24 years agoLogging is now configurable. You can define multiple log outputs (to both
Martin Mares [Mon, 6 Dec 1999 13:45:56 +0000 (13:45 +0000)] 
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.

24 years agoMoved initialization of protocol list to proto.c.
Martin Mares [Mon, 6 Dec 1999 13:44:45 +0000 (13:44 +0000)] 
Moved initialization of protocol list to proto.c.

Added sysdep configuration hooks.

24 years agoAdded tracked_fopen() which is a fopen registered in resource database.
Martin Mares [Mon, 6 Dec 1999 13:43:47 +0000 (13:43 +0000)] 
Added tracked_fopen() which is a fopen registered in resource database.
Will be used for log files.

24 years agoImplemented echoing of log messages to CLI connections. Just try `echo all'.
Martin Mares [Mon, 6 Dec 1999 12:34:45 +0000 (12:34 +0000)] 
Implemented echoing of log messages to CLI connections. Just try `echo all'.

24 years agoDon't forget to send an OK reply after dumping debug information.
Martin Mares [Sat, 4 Dec 1999 23:28:56 +0000 (23:28 +0000)] 
Don't forget to send an OK reply after dumping debug information.

24 years agoAdded DEBUG commands.
Martin Mares [Sat, 4 Dec 1999 23:17:29 +0000 (23:17 +0000)] 
Added DEBUG commands.

Removed CLI tests, real commands now serve as much better examples.

24 years agoImplemented `show static'. It's a relatively good example of how to write
Martin Mares [Fri, 3 Dec 1999 11:41:23 +0000 (11:41 +0000)] 
Implemented `show static'. It's a relatively good example of how to write
show commands for other protocols.

24 years agoAdded proto_get_named() to be used in CLI commands to get protocol instance
Martin Mares [Fri, 3 Dec 1999 11:40:45 +0000 (11:40 +0000)] 
Added proto_get_named() to be used in CLI commands to get protocol instance
of a given protocol with optionally given name. See `show static' for an
example.

24 years agoRenamed SHOW PROTOCOLS VERBOSE to SHOW PROTOCOLS ALL to be consistent
Martin Mares [Fri, 3 Dec 1999 11:10:50 +0000 (11:10 +0000)] 
Renamed SHOW PROTOCOLS VERBOSE to SHOW PROTOCOLS ALL to be consistent
with the other commands.

24 years agoImplemented `show route where <condition>' command.
Martin Mares [Thu, 2 Dec 1999 14:04:44 +0000 (14:04 +0000)] 
Implemented `show route where <condition>' command.

Pavel, please check my addition to filter/config.Y.

24 years agoI tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell,
Martin Mares [Thu, 2 Dec 1999 14:03:25 +0000 (14:03 +0000)] 
I tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell,
so it doesn't even compile. Turned it again off and added a comment on it.

24 years agoAvoid `default rule can be matched' warning in CLI state.
Martin Mares [Thu, 2 Dec 1999 12:04:39 +0000 (12:04 +0000)] 
Avoid `default rule can be matched' warning in CLI state.

24 years agoUpdated TODO file.
Martin Mares [Wed, 1 Dec 1999 15:17:24 +0000 (15:17 +0000)] 
Updated TODO file.

24 years agoAdded dumping of routing tables (`show route'). This includes filtering.
Martin Mares [Wed, 1 Dec 1999 15:10:21 +0000 (15:10 +0000)] 
Added dumping of routing tables (`show route'). This includes filtering.

24 years agoAdded get_route_info and show_route_data hooks to struct protocol.
Martin Mares [Wed, 1 Dec 1999 15:08:32 +0000 (15:08 +0000)] 
Added get_route_info and show_route_data hooks to struct protocol.
Please implement them.

24 years agoReset temporary parser data before parsing, not afterwards. This enables
Martin Mares [Wed, 1 Dec 1999 15:07:56 +0000 (15:07 +0000)] 
Reset temporary parser data before parsing, not afterwards. This enables
deferred CLI command handlers to store their temporary data in the CLI
parsing pool.

24 years agoMake ACCEPT/REJECT actually return the result...
Martin Mares [Wed, 1 Dec 1999 15:07:06 +0000 (15:07 +0000)] 
Make ACCEPT/REJECT actually return the result...

24 years agoStupid bug (essentially while(1) loop) occuring sometimes during start
Pavel Machek [Wed, 1 Dec 1999 13:44:42 +0000 (13:44 +0000)] 
Stupid bug (essentially while(1) loop) occuring sometimes during start
of bird fixed.

24 years agoaccept should behave as return, not running any commands after it.
Pavel Machek [Wed, 1 Dec 1999 12:54:23 +0000 (12:54 +0000)] 
accept should behave as return, not running any commands after it.

24 years agoActually check sequence numbers.
Pavel Machek [Wed, 1 Dec 1999 12:52:57 +0000 (12:52 +0000)] 
Actually check sequence numbers.

24 years agoImplemented get_status for the pipe protocol (reports name of the other
Martin Mares [Wed, 1 Dec 1999 12:01:41 +0000 (12:01 +0000)] 
Implemented get_status for the pipe protocol (reports name of the other
side of the pipe).

Please do so for your protocols as well.

24 years ago`show protocols' now shows time of last state change and protocol-dependent
Martin Mares [Wed, 1 Dec 1999 12:00:15 +0000 (12:00 +0000)] 
`show protocols' now shows time of last state change and protocol-dependent
status information (obtained via newly introduced hook protocol->get_status).

24 years agoIntroduced new protocol-dependent integer field `aux' to struct neighbor.
Martin Mares [Wed, 1 Dec 1999 11:59:24 +0000 (11:59 +0000)] 
Introduced new protocol-dependent integer field `aux' to struct neighbor.

24 years agoAdded tm_format_reltime() for formatting of relative time quantities.
Martin Mares [Wed, 1 Dec 1999 11:59:00 +0000 (11:59 +0000)] 
Added tm_format_reltime() for formatting of relative time quantities.

24 years agoFIXME's cleaned up: I have actually fixed things without killing
Pavel Machek [Wed, 1 Dec 1999 11:39:58 +0000 (11:39 +0000)] 
FIXME's cleaned up: I have actually fixed things without killing
comments.

There are no urgent FIXME's in filters. Perhaps we should start with
documentation?

24 years agoUse linux-22 configuration with all 2.2.x and 2.3.x kernels. This means
Martin Mares [Wed, 1 Dec 1999 10:28:39 +0000 (10:28 +0000)] 
Use linux-22 configuration with all 2.2.x and 2.3.x kernels. This means
you need to have your kernel compiled with netlink routing messages enabled.
If it doesn't work for you, use --with-sysconfig=linux-21 and let me know
what's going wrong.

24 years agoRemember protocol instance in proto_config and use that for
Martin Mares [Tue, 30 Nov 1999 14:04:09 +0000 (14:04 +0000)] 
Remember protocol instance in proto_config and use that for
`show protocols <name>'.

24 years agoLexer supports fallback symbol tables and uses them to recognize
Martin Mares [Tue, 30 Nov 1999 14:03:36 +0000 (14:03 +0000)] 
Lexer supports fallback symbol tables and uses them to recognize
symbols from global config when parsing CLI commands.

cf_lex_init_tables() is now called automatically inside the lexer.

24 years agoUse TIME_INFINITY for initialization of password entries instead
Martin Mares [Tue, 30 Nov 1999 14:02:27 +0000 (14:02 +0000)] 
Use TIME_INFINITY for initialization of password entries instead
of 2000000000 (BTW who wrote that???)

24 years agoMoved TIME_INFINITY to timer.h, so that it's publicly available.
Martin Mares [Tue, 30 Nov 1999 14:01:39 +0000 (14:01 +0000)] 
Moved TIME_INFINITY to timer.h, so that it's publicly available.

24 years ago`show interfaces' and `show protocols' works.
Martin Mares [Tue, 30 Nov 1999 12:57:14 +0000 (12:57 +0000)] 
`show interfaces' and `show protocols' works.

24 years agoDon't use continuation shortcuts until real client is written.
Martin Mares [Tue, 30 Nov 1999 12:56:52 +0000 (12:56 +0000)] 
Don't use continuation shortcuts until real client is written.

24 years agoInicialisation of Topology Graph (TG).
Ondrej Filip [Tue, 30 Nov 1999 10:35:26 +0000 (10:35 +0000)] 
Inicialisation of Topology Graph (TG).

24 years agoAdded few basic commands: show status, show interfaces [summary],
Martin Mares [Thu, 25 Nov 1999 15:35:30 +0000 (15:35 +0000)] 
Added few basic commands: show status, show interfaces [summary],
show protocols (incomplete).

24 years agocli_msg() moved to cli.h, so that it can be used outside the parser.
Martin Mares [Thu, 25 Nov 1999 15:34:51 +0000 (15:34 +0000)] 
cli_msg() moved to cli.h, so that it can be used outside the parser.

24 years agoAdded ip_scope_text() for translating of scopes to strings.
Martin Mares [Thu, 25 Nov 1999 15:34:20 +0000 (15:34 +0000)] 
Added ip_scope_text() for translating of scopes to strings.

24 years agomd5 authentication seems to work.
Pavel Machek [Thu, 25 Nov 1999 15:03:12 +0000 (15:03 +0000)] 
md5 authentication seems to work.

24 years agoBugfixes: select right password for password authentication, do not
Pavel Machek [Thu, 25 Nov 1999 14:54:08 +0000 (14:54 +0000)] 
Bugfixes: select right password for password authentication, do not
try to process authentication blocks as datablocks, make it possible
to add data at end of packet. Password authentication should actually work.

24 years agoFilters: fix rta access to use ->aux field.
Pavel Machek [Thu, 25 Nov 1999 13:42:49 +0000 (13:42 +0000)] 
Filters: fix rta access to use ->aux field.