0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-18 19:35:20 +00:00

Commit Graph

  • b2280748ad Introduced protocol priority (all 'normal' protocols should use the default zero priority). No more "kernel syncer initialized before device routes" problems. Martin Mares 1999-03-03 19:33:54 +0000
  • 84c7e1943f Add interface for running filters (please comment!), avoid bison warnings Pavel Machek 1999-03-02 19:49:28 +0000
  • 05a845ed8e Avoid segfault Pavel Machek 1999-03-02 19:49:22 +0000
  • 7972248d5d Netlink module supports interface scan on startup. Working on more. Martin Mares 1999-03-02 18:37:02 +0000
  • e35ef181a4 o The if_change_too_big_p change was too high-spirited. Fixed. o Introduced if_find_by_index() o Recognizing two types of interface updates: full update (starting with if_start_update(), ending with if_end_update(), guaranteed to see all existing interfaces) and a partial update (only if_update(), usually due to asynchronous interface notifications). Martin Mares 1999-03-02 18:36:09 +0000
  • bcbd8cc3be Interface logic changes: Martin Mares 1999-03-02 17:28:06 +0000
  • 25287d6f7e Don't try to install static routes to disconnected neighbors. Martin Mares 1999-03-02 17:20:07 +0000
  • eab0d1e5e5 Latest changes broke out-of-tree compilation. Martin Mares 1999-03-02 16:39:41 +0000
  • 3d8ef0c9ef I just don't like files enclosed in <>. Pavel Machek 1999-03-02 13:15:35 +0000
  • e834074dd4 If we are compiling with debugging enabled and libefence is available, link it to get debugging malloc. Martin Mares 1999-03-01 22:42:47 +0000
  • b982b6db2b Implemented netlink protocol parsing functions. More to come tomorrow. Martin Mares 1999-03-01 22:31:27 +0000
  • b4b3b39e20 Added SK_MAGIC type sockets for internal use by system dependent code, especially for netlink communication. Martin Mares 1999-03-01 22:30:33 +0000
  • c748cdb9ec Hopefully ended translating to new interface Pavel Machek 1999-03-01 21:18:01 +0000
  • bdb95a21a4 Added skeletal version of Linux netlink interface. It doesn't work yet, but the framework is there and I'll try finish it soon. Martin Mares 1999-03-01 20:17:46 +0000
  • ea3582a6f6 Include "config.h" instead of "autoconf.h" in all Modules lists to make defines in the static portion of configuration includes available as well. Martin Mares 1999-03-01 20:15:14 +0000
  • 1b769b08c1 Renamed struct rtattr to struct rta to make things more consistent and avoid namespace clashes with <linux/rtnetlink.h>. Other files should not be affected since they use 'rta' directly. Martin Mares 1999-03-01 20:13:54 +0000
  • 025d14cd5a Use traditional Unix route/iface interface only when CONFIG_NETLINK is not defined. Also moved declarations of Unix iface logic to krt.h. Martin Mares 1999-03-01 19:05:58 +0000
  • 12be9b8c18 Pruned the TODO list. Martin Mares 1999-03-01 17:51:29 +0000
  • 293e313ec9 More rip fixes (config data moved to struct rip_proto_config), still not tested. Pavel Machek 1999-02-15 13:34:43 +0000
  • b5fe3dc21c Cleaned up TODO file. Martin Mares 1999-02-13 22:13:04 +0000
  • 45090fecd9 Synced example config with new options. Martin Mares 1999-02-13 22:02:21 +0000
  • d88e99a92a Implemented static device routes. Martin Mares 1999-02-13 21:59:48 +0000
  • d1f7eab6b5 Parameter order for the proto->if_notify hook was different in the include file and different in reality. Decided to use the same order as we do for proto->rt_notify (i.e., first new value and second the old one). Martin Mares 1999-02-13 21:58:53 +0000
  • 726141746b '#' comments in config files are equivalent to end of line, therefore also to implicit ';'. Martin Mares 1999-02-13 21:34:33 +0000
  • 5996da6a1d Implemented garbage collection of routing tables to delete orphaned network nodes having no routes attached. Such cleanup must be done from event handler since most functions manipulating the routing tables expect network entries won't disappear from under their hands and it's also probably faster when done asynchronously. Martin Mares 1999-02-13 21:29:01 +0000
  • f4a0a64e02 Static protocol doesn't need any shutdown function. Everything gets disposed by the core: neighbors, rte's, etc's... Martin Mares 1999-02-13 21:00:25 +0000
  • 3fb4ca2ce2 Don't send any neighbor notifications to protocols being flushed. Martin Mares 1999-02-13 20:57:47 +0000
  • 783f8b689a When protocols go down, prune the neighbor list. Martin Mares 1999-02-13 20:55:08 +0000
  • 013a9b91fe When shutting down, remove all routes (except for RTS_INHERIT and RTS_DEVICE routes) from kernel routing tables unless the "persist" switch is set. Martin Mares 1999-02-13 20:46:03 +0000
  • 0a2e9d9f56 Moved sanity check of protocol state during annoucements to rte_announce. Martin Mares 1999-02-13 20:19:24 +0000
  • f4aabcee62 Perform gracious shutdown upon receipt of SIGTERM. Finally we can test the whole protocol shutdown code... :) Martin Mares 1999-02-13 20:15:36 +0000
  • 7f3d1a0850 Squashed one bug in timing of route scans. Martin Mares 1999-02-13 19:57:19 +0000
  • 4c9dd1e4b9 Synchronize signals to the main select/event/timer loop. Martin Mares 1999-02-13 19:43:21 +0000
  • 1a54b1c6ac Implemented real cleanup and pruning of routing table on protocol shutdown. Martin Mares 1999-02-13 19:15:28 +0000
  • ab749558a2 Pass new argument to FIB_ITERATE_END. Martin Mares 1999-02-13 19:14:16 +0000
  • 2569bc4073 Fixed bug in FIB_ITERATE_END: it assumed the control variable is named "z". I've added an argument specifying name of the variable. Martin Mares 1999-02-13 19:13:51 +0000
  • 4e9498cbb1 config->router_id works again. Martin Mares 1999-02-13 18:42:00 +0000
  • 67bd949a52 Real implementation of protocol state machines. Delayed startup/shutdown should work now. Initial feeding of protocols by interfaces/routes is done from the event queue to prevent unwanted recursion. Martin Mares 1999-02-11 22:59:06 +0000
  • 14dea0ed25 Run the event queue before writing SIGUSR dumps. Martin Mares 1999-02-11 22:51:15 +0000
  • 64011f898c struct proto again contains instance name (a copy of proto->cf->name). Martin Mares 1999-02-11 22:45:54 +0000
  • 3b15402fd4 Grrr, forgot to commit the event routines themselves :| Martin Mares 1999-02-11 22:18:36 +0000
  • e8f73195fa Added simple event scheduling system to avoid recursive calling of various callbacks. Martin Mares 1999-02-11 21:18:26 +0000
  • edf62ba13f Propagate depend into all subdirectories; make rip compile after latest mj's changes. Pavel Machek 1999-02-08 22:50:32 +0000
  • ed245f967f Synced Linux sysdeps to new interface. Martin Mares 1999-02-05 21:39:21 +0000
  • 10d807d000 Synced kernel interface to new interface. Martin Mares 1999-02-05 21:38:50 +0000
  • e9e3dc2659 Modified static router to use new interface. Martin Mares 1999-02-05 21:38:22 +0000
  • 31b3e1bbf5 Implemented new configuration/reconfiguration interface and defined protocol state machines. Full explanation will follow soon. Martin Mares 1999-02-05 21:37:34 +0000
  • c4c63eecc3 Added several parentheses to MIN/MAX macros. Martin Mares 1999-02-05 21:29:19 +0000
  • 292099d55f Few fixes in parsing of filters Pavel Machek 1999-02-03 12:28:16 +0000
  • 294c182eb1 Replaced the old ugly ipv6 compilation hack by a conditional in Modules. Martin Mares 1999-01-23 21:08:59 +0000
  • 2c2f67bd83 Filter all `Modules' files through C preprocessor, so that they can reference BIRD configuration. Martin Mares 1999-01-23 21:08:36 +0000
  • ca3d562b24 filters_init() renamed to filters_postconfig(). Pavel Machek 1999-01-15 18:13:55 +0000
  • c9b6670608 Original expr' is back, filter expressions renamed to term'. Martin Mares 1999-01-15 18:04:28 +0000
  • 3169cf6991 Added bird.conf to .cvsignore and created an example configuration file. Martin Mares 1999-01-15 17:18:41 +0000
  • e3a39a9ee7 Killed duplicate %type for expr. Martin Mares 1999-01-15 16:59:26 +0000
  • ca6dfded2c Make filters actually compiled. Pavel Machek 1999-01-15 16:52:14 +0000
  • b9d70dc84e Filters, second try. This time they have their own directory. Pavel Machek 1999-01-15 16:49:17 +0000
  • b79f9215b9 Propagate "depend" target to real top-level Makefile. Martin Mares 1999-01-15 16:40:14 +0000
  • 489b6b5e00 #if 1 that creeped into cvs killed. Pavel Machek 1999-01-15 16:13:51 +0000
  • eeb05158ac Be a tiny bit more verbose. Pavel Machek 1999-01-15 14:42:55 +0000
  • 72380a3447 Filters added. They are unable to do anything interesting for now (with exception of printing integers to screen), but they exist. Pavel Machek 1999-01-15 14:41:51 +0000
  • 41183888ee Properly initialize filters. Also bumped version to 0.0.0 as it actually does something. Pavel Machek 1999-01-15 14:40:50 +0000
  • cceb3e7d2f Fixed trivial bug in naming of `depend' file. Argh. Martin Mares 1999-01-12 20:36:18 +0000
  • 663683a575 Make it compile again (stupid makefiles!), make quiet option work (multicast/broadcast options are currently unimplemented). Pavel Machek 1999-01-12 16:50:38 +0000
  • 77cedad1f6 Keep protocol data out of iface_patt. Pavel Machek 1999-01-12 16:41:34 +0000
  • 50e89a6ea2 Patterns expanded in the right way Pavel Machek 1999-01-12 16:40:55 +0000
  • 18fff6a197 Initialize only protocols which are compiled in :) Martin Mares 1999-01-10 00:26:11 +0000
  • b296730cb6 Few last-minute bug fixes. Martin Mares 1999-01-10 00:25:50 +0000
  • 49e7e5ee0b New makefiles. Includes support for out-of-source-tree builds. Martin Mares 1999-01-10 00:18:32 +0000
  • 2f9bcf9713 First step of "autoconfization". Created a configure script which guesses most system-dependent parameters and determines name of system configuration file (sysdep/cf/...) with the remaining ones. Martin Mares 1999-01-09 15:02:11 +0000
  • 6996f459c6 Bird now uses fib structure instead of linklist. Pavel Machek 1998-12-22 19:41:04 +0000
  • 1d7c44b711 Oops, previous modification for passing NULL to fib_init() did not compile :-(. Pavel Machek 1998-12-22 19:20:43 +0000
  • ce45fc1287 Allow NULL to init_fib(). Pavel Machek 1998-12-22 18:55:49 +0000
  • 852fc0af31 log(), die() and bug() messages shound NOT contain trailing newlines. Martin Mares 1998-12-20 14:29:06 +0000
  • 08c69a7720 die() -> bug() where appropriate. Martin Mares 1998-12-20 14:27:37 +0000
  • ee969ea7f4 Added #if 0 to rip_postconfig(), so that it doesn't crash whole daemon when RIP is unconfigured. Martin Mares 1998-12-20 14:26:57 +0000
  • 98e87c8628 Finer grained logging levels: Martin Mares 1998-12-20 14:24:35 +0000
  • e440395d7d When printing a routing table, fib_check() it. Martin Mares 1998-12-20 14:01:37 +0000
  • 3ab001b974 Rewrote fib functions to make them insert/delete/asynchronous-walk safe. This is implemented in a way similar to lib/slists.h, but it took some more effort to make rehashing not disturb the readers. We do it by just taking _highest_ k bits of ipa_hash as our hash value and sorting each box by whole ipa_hash(). Martin Mares 1998-12-20 14:01:20 +0000
  • a6f250f5c6 New hash functions according to benchmarks posted yesterday. (The IPv6 version has not been benchmarked yet due to insufficient test data.) Now ipa_hash() returns a uniformely distributed 16-bit value. Martin Mares 1998-12-20 13:57:49 +0000
  • a05406e69c Implemented deletion/insertion/asynchronous-walk lists. For example of their use, look at comments in lib/slists.h. Martin Mares 1998-12-20 13:56:27 +0000
  • 29ad2c9ee1 Variance estimation fixed. Martin Mares 1998-12-19 21:53:28 +0000
  • 87b60bf7e8 Added several tools for fib hashing function analysis. It turned out we can use very simple function which is monotonic with respect to re-hashing: Martin Mares 1998-12-19 11:51:47 +0000
  • 02933ddbbe debug() -> DBG() in rip. Pavel Machek 1998-12-09 20:08:57 +0000
  • 06fa1453cd Initial multicast support (can not work, but skeleton is there) Pavel Machek 1998-12-09 15:22:40 +0000
  • 8e66a0ebb9 Hopefully finished kernel syncer (krt) rewrite: Martin Mares 1998-12-08 18:37:58 +0000
  • 980297d289 Fixed a couple of bugs in static protocol. All static routes except device ones seem to work well. Martin Mares 1998-12-08 18:31:31 +0000
  • 618533af91 Added source RTS_DUMMY for temporary routes. They should never appear in the main table. Martin Mares 1998-12-08 18:30:35 +0000
  • f39e4713c2 Rewritten kernel syncer. Now uses the rta trickery I've introduced yesterday and does things "the right way". Few things are still missing (device routes etc.), I'll add them later in the evening. Martin Mares 1998-12-08 16:20:13 +0000
  • 04925e9040 Minor rte/rta interface changes: Martin Mares 1998-12-07 21:59:15 +0000
  • cdc6bfa70f Comparison of kernel reject routes fixed. Martin Mares 1998-12-07 10:16:15 +0000
  • 12df4d909b KRF_* flags moved to krt.h as they are internal to kernel syncer, fib->pad0,pad1 renamed to x0,x1 and in case of struct net x0 is reserved for kernel syncing as well. Martin Mares 1998-12-07 10:15:42 +0000
  • f6bd206607 All static routes except for device ones should work and appear/disappear when their destination comes on/off link. Deserves better testing :) Martin Mares 1998-12-06 23:13:31 +0000
  • 78d06cf2bc Removed protocol-specific data in rte for protocol static since no such data ever existed. Martin Mares 1998-12-06 23:11:47 +0000
  • 436965d25e Aesthetic fix for neighbor cache debug dump. Martin Mares 1998-12-06 23:11:18 +0000
  • 89d2355d3d Added new rule for prefix length / netmask. Martin Mares 1998-12-06 23:10:45 +0000
  • cc12cf05c7 cf_error() now accepts any format strings instead of just an error message. Also added extra kludge to get rid of collisions of REJECT symbols. Martin Mares 1998-12-06 23:10:28 +0000
  • a1bf6440b5 Added skeleton of static route protocol. Martin Mares 1998-12-06 18:21:23 +0000
  • 980ffedbb0 Kernel syncer is now configurable. It will probably need some more options, but at least basic tuning is possible now. Martin Mares 1998-12-06 17:40:42 +0000
  • 0846203e89 Fixed bug in CF_ADDTO. How it's possible it has ever worked? Martin Mares 1998-12-06 17:39:08 +0000