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

Commit Graph

  • 166b9c4912 Added rule "bool" for boolean switches. Martin Mares 1998-12-06 17:38:42 +0000
  • b35d72ac66 Name cleanups as suggested by Pavel: Martin Mares 1998-12-06 11:59:18 +0000
  • 2d9290e973 Rip now has configurable per-interface metric (please rewiev), and few more configurable parameters. To do that, union was added into iface_patt. Pavel Machek 1998-12-04 11:45:51 +0000
  • 9b999c393c Infinity is now configurable ammount. Pavel Machek 1998-12-01 16:17:10 +0000
  • 50d8424ad1 Added configuration of the device internal protocol. This is primarily intended to serve as an example of interface pattern list use. As a side effect, you can disable generating of device routes by disabling this protocol. Martin Mares 1998-11-29 22:03:58 +0000
  • 66efdf962a Handle disabled protocol instances. Martin Mares 1998-11-29 22:01:33 +0000
  • ed45f2e126 Added functions for manipulating interface name pattern lists: Martin Mares 1998-11-29 22:01:03 +0000
  • 49e4a4d1fd Created new functions for allocating configuration data: Martin Mares 1998-11-29 21:59:37 +0000
  • 5cd462f291 wc -l TODO decreased. Martin Mares 1998-11-29 14:51:47 +0000
  • dee929d868 Added function for shell-like pattern matching. Will be used for matching interface names in protocol-to-iface bindings. Martin Mares 1998-11-29 14:47:24 +0000
  • bd5d0d62f1 Allow setting debug value and `disabled' flag in protocol definition. Martin Mares 1998-11-29 14:40:39 +0000
  • 0cf86f0fc3 Renamed DEBUG' symbol to DEBUGGING' to prevent collisions with token names and include files. Martin Mares 1998-11-29 14:38:34 +0000
  • 7af99789c7 Oops, forgot to remove a debugging kludge. Martin Mares 1998-11-27 21:34:03 +0000
  • 0b62c3a7c7 Trivial 15-line bison excercise: Implemented expressions including user-defined numeric symbols. Whenever possible, use expr' instead of NUM' to get full express ion power :-) Martin Mares 1998-11-27 21:32:45 +0000
  • c74c0e3cdf First attempt at protocol configuration (now done only for RIP). Martin Mares 1998-11-27 21:09:57 +0000
  • 93fb60d54c Fixed few misspellings and exported instance init as rip_init_instance(). Martin Mares 1998-11-27 21:08:37 +0000
  • 8450be97d6 Added generator of default names. Martin Mares 1998-11-27 21:07:02 +0000
  • 906b0170a4 Experimental config file. Martin Mares 1998-11-27 19:39:16 +0000
  • b4712244a0 Dummy grammar for RIP configuration. Now empty, but must be here since it's referenced in the makefiles. Martin Mares 1998-11-27 19:38:30 +0000
  • da87782278 Parser fragment for the core. Now handles only router ID setting. Martin Mares 1998-11-27 19:37:57 +0000
  • 70591fa064 Compile and use the new configuration code by default. Martin Mares 1998-11-27 19:37:07 +0000
  • f142750d34 Base of the parser. Martin Mares 1998-11-27 19:36:06 +0000
  • 82fc7be7bb Lexical analyser. Martin Mares 1998-11-27 19:35:50 +0000
  • fe7cec12e8 Replaced nest/confile.h by conf/conf.h, added a lot of new definitions. Martin Mares 1998-11-27 19:35:10 +0000
  • ce6ca80926 This script takes configuration fragments and generates full Bison grammar from them. Martin Mares 1998-11-27 19:33:53 +0000
  • 882c588a40 This script takes configuration fragments and extracts keyword list from them. Martin Mares 1998-11-27 19:33:26 +0000
  • d2ed2579fa Now merges configuration fragments (*.Y) as well. Martin Mares 1998-11-27 19:31:41 +0000
  • dfeef5d8bb Implemented ip_pton() Martin Mares 1998-11-27 19:29:27 +0000
  • a3afae585a Removed prototype of rp_free() since this function has never existed. Martin Mares 1998-11-27 19:29:00 +0000
  • 3cef8c706c Added path to config file. Martin Mares 1998-11-27 19:28:29 +0000
  • 4254dc45e7 Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129. Martin Mares 1998-11-21 10:25:34 +0000
  • 9158ca99f7 Complain loudly if the logging buffer would overflow. Martin Mares 1998-11-16 21:41:21 +0000
  • 53a416d376 Implemented snprintf and similar functions. It took a lot of thinking, but the modifications were relatively simple and straightforward. Martin Mares 1998-11-16 21:40:35 +0000
  • c3e9b2ab24 RIP now includes notion of interface, and is correctly talking to itself on second host. Split horizont is broken. Pavel Machek 1998-10-26 15:35:19 +0000
  • dafd580ed9 Previous fix was wrong. Martin Mares 1998-10-26 15:24:32 +0000
  • db6984c43c rte_update: Doesn't loop forever when multiple routes point to the same destination. Martin Mares 1998-10-26 15:01:04 +0000
  • dc7c7494e3 RIP _NOW_ actually talks to itself (workaround core bug: send data from other port than we receive at), few FIXME's added. Pavel Machek 1998-10-20 16:45:53 +0000
  • 756b86dea3 Learn static device routes from the kernel (temporary until we can make such things configurable). Martin Mares 1998-10-20 16:39:04 +0000
  • feb6abe009 RIP now actually talks to itself. Pavel Machek 1998-10-20 16:12:43 +0000
  • 8ca8683c70 Beware the NULL route, my son... The bugs that bite, the BIRDs that crash :-) Martin Mares 1998-10-20 15:47:02 +0000
  • acc62f5e1d Insert/remove hooks return void, not int. Martin Mares 1998-10-20 15:17:38 +0000
  • a0762910a6 Added pointer to network to RTE. The complications with passing NET separately aren't worth 4 bytes per RTE. Martin Mares 1998-10-20 15:13:18 +0000
  • b6903c948b Updated TODO. Martin Mares 1998-10-19 18:18:12 +0000
  • 7d83290780 Generate router_id automatically if possible (standard "smallest of local regular interface addresses" rule). Martin Mares 1998-10-19 18:13:36 +0000
  • 0804525255 Basic kernel routing table syncing implemented. Learning of routes installed by other programs or the kernel itself is not supported yet, but it's not needed for development of other protocols. Martin Mares 1998-10-19 17:52:29 +0000
  • 567e6c6220 Use (SOCK_DGRAM,IPPROTO_IP) socket instead of (SOCK_STREAM,IPPROTO_TCP). This is exactly what Linux ifconfig does and seems to be the preferred way. Martin Mares 1998-10-19 17:48:45 +0000
  • 4cf45766ba Exporting fill_in_sockaddr() for use by other unix-dependent code. Martin Mares 1998-10-19 17:47:50 +0000
  • 36f2caf147 Fixed generation of device routes for unnumbered point-to-point links. Martin Mares 1998-10-19 17:46:45 +0000
  • f184ea6f7e Proto struct now contain (down | starting | up) state. Martin Mares 1998-10-19 17:45:29 +0000
  • 16a8ba30a9 We parse /proc/net/route and flag RT entries according to it. More to come today in the morning... Martin Mares 1998-10-18 22:25:56 +0000
  • 4c45595e3b o FIB flags now available for FIB users. o struct network: FIB flags used for kernel syncing. o struct network: `next' field deleted (historical relic). Martin Mares 1998-10-18 22:24:41 +0000
  • ab3a76a382 Added ipa_from_u32 and ipa_from_u32 for use in the kernel sync code (IPv4 only). Don't ever think of using it in routing protocols. Martin Mares 1998-10-18 22:22:28 +0000
  • 7e7790c61f Since almost every UNIX system requires different techniques for reading the kernel routing table as opposed to modifying it which is approximately the same on non-netlink systems, I've split the kernel routing table routines to read and write parts. To be implemented later ;-) Martin Mares 1998-10-18 12:50:43 +0000
  • 8b1688177b * Please distinguish between DGB() and debug(). Martin Mares 1998-10-18 12:48:15 +0000
  • 3629bcf0c7 Preconfig, postconfig and init hooks can be NULL. Martin Mares 1998-10-18 12:26:02 +0000
  • 0432c0173b Split protocol init to building of protocol list and real protocol init. Added kernel route table syncer skeleton. Martin Mares 1998-10-18 11:53:21 +0000
  • 05e56feb57 Removed global pointer to proto_dev. Martin Mares 1998-10-18 11:50:36 +0000
  • 5b22683d2f After contemplating about RIP route timeouts for a long time, I've implemented protocol callbacks for route insertion and deletion from the central table. RIP should maintain its own per-protocol queue of existing routes, scan it periodically and call rte_discard() for routes that have timed out. Martin Mares 1998-10-18 11:13:16 +0000
  • 570ce189d7 Implemented `route last modified' time. Martin Mares 1998-10-18 10:49:46 +0000
  • 2a900b1b15 Fixed misleading comment. Martin Mares 1998-10-17 11:26:28 +0000
  • 7f3d198df1 Each protocol now hears even its own routes and needs to make its own loop detection. This is needed since both RIP and OSPF handle multiple neighbors and they need to redistribute routes learned from each neighbor to the remaining ones. Martin Mares 1998-10-17 11:24:13 +0000
  • 47b793064c Solve chicken-and-egg problems with protocol startup. We now queue all inactive protocols and don't send route/interface updates to them and when they come up, we resend the whole route/interface tables privately. Martin Mares 1998-10-17 11:05:18 +0000
  • d92882be9b WALK_LIST_DELSAFE now actually works (it really couldn't since it didn't reference list head at all). Martin Mares 1998-10-17 11:02:39 +0000
  • c05ea56f8e rip should now correctly listen, but entries will not time out. Pavel Machek 1998-10-17 10:25:22 +0000
  • 8333431c4d Rip: rip_rta_same added. Pavel Machek 1998-10-15 15:12:24 +0000
  • 93f1c532e9 Moved scanning of interfaces, so that they get initialized after all routing protocol instances. Martin Mares 1998-10-14 13:38:17 +0000
  • cf3934c569 Lists: unneccessary test killed, make code friendly to non-gcc. Pavel Machek 1998-10-14 13:27:53 +0000
  • c93214d442 o There are cases when SIOCGIFINDEX is defined, but it doesn't work. When this happens, don't reject the whole interface, just mark it as index 0. o Removed Pavel's comment about EFAULT and SIGSEGV. EFAULT is a valid return code for cases where the buffer is too small. o Commented out the smart interface list size logic temporarily as it seems Linux 2.0 SIOCGIFCONF doesn't react to ifc_req==NULL sanely. Replaced it by exponential stepping. Martin Mares 1998-10-13 19:57:33 +0000
  • fdf33cde1c Strange, on atrey ioctl() does not fill structure, and bird segfaults on it. Now we "only" die(). Pavel Machek 1998-10-13 14:59:46 +0000
  • 21580e304f I prefer to have broken drivers than completely stupid ones... Pavel Machek 1998-10-13 14:32:18 +0000
  • 1d941de47a RIP now somehow listens to main routing table (dont expect it to work) Pavel Machek 1998-10-07 19:33:50 +0000
  • 8c43696da0 Route update hook now gets network prefix as well as updated route attributes. Martin Mares 1998-08-31 21:13:42 +0000
  • bf65d27dea Bird's info are now understood by ripquery. Pavel Machek 1998-07-30 07:43:45 +0000
  • 279f4c7b7b Rip now includes code to reply, but it is currently broken. Pavel Machek 1998-07-28 21:44:11 +0000
  • 48b41d5811 Do not segfault on iface == NULL. Pavel Machek 1998-07-28 21:42:08 +0000
  • a872b0f7da Reversed buggy patch. Pavel Machek 1998-07-20 20:05:40 +0000
  • c25e90efed Added comment explaining `now'. Martin Mares 1998-07-15 19:42:23 +0000
  • 1be52eea57 Removed format specification attributes for log() and debug() until GCC is fixed to handle custom formats. Martin Mares 1998-07-10 08:39:34 +0000
  • 786d0bb9e7 Added ipa_class_mask() which guesses netmask for classful addressing. For pure A/B/C class addresses it just returns the class netmask, for subnets it tries to guess subnet mask. Please make sure the address you pass to this function is really a valid host address (i.e., call ipa_validate() first). Martin Mares 1998-07-10 08:38:29 +0000
  • 28a9a189d7 Replaced remaining references of clock_t by bird_clock_t. Martin Mares 1998-07-10 08:32:18 +0000
  • a103373f61 Commiting RIP. RIP should somehow listen, will not reply. I needed to commit it so that whole thing compiles. Pavel Machek 1998-07-09 19:39:04 +0000
  • 86b0023033 Making SIGUSR1 dump also all protocols. Pavel Machek 1998-07-09 19:37:39 +0000
  • 87d2be86e5 Adding proto_dump_all() function Pavel Machek 1998-07-09 19:36:52 +0000
  • cf3527e2f4 Adding MIN()/MAX() macros Pavel Machek 1998-07-09 19:36:05 +0000
  • aea2dcabdc Adding walk list which permits you to delete entries. Pavel Machek 1998-07-09 19:35:23 +0000
  • 962ba482fd Use '%I' instead of dirty address printing hacks. Martin Mares 1998-06-17 14:36:02 +0000
  • d997534f65 Oops, forgot '%m'... Martin Mares 1998-06-17 14:34:13 +0000
  • 9556f22585 debug() and log() use the new printf. Feel free to use new formatting sequences for all output. Martin Mares 1998-06-17 14:33:29 +0000
  • ecacdfa434 Added local version of sprintf (bsprintf and bvsprintf) offering few new format strings: Martin Mares 1998-06-17 14:31:36 +0000
  • 97d858c590 ip_ntop() and ip_ntox() for IPv4. Martin Mares 1998-06-17 14:28:46 +0000
  • 6b5e06abb5 Added function for converting of IP addresses to printable form. Martin Mares 1998-06-17 14:26:30 +0000
  • 620a355a15 Now sending IF_CHANGE_CREATE when a new interface appears and IF_CHANGE_UP only if it's really up. Martin Mares 1998-06-04 20:30:11 +0000
  • 236d4eb8ce FIB_WALK and friends are now slightly more friendly. Martin Mares 1998-06-04 20:29:44 +0000
  • 66e53309ac Dumping of _static_ attributes implemented. Martin Mares 1998-06-04 20:29:05 +0000
  • b1e4f81485 We have full interface routes now. Martin Mares 1998-06-04 20:28:43 +0000
  • 0cdbd3975a Handle route deletion without segfaults. A bit more debug dumps. Martin Mares 1998-06-04 20:28:19 +0000
  • 5331da6a4d Fixed processing of timers. Martin Mares 1998-06-04 20:27:49 +0000
  • fd50083df4 Killed socket debug code. Initialize config pool and protocols. More to come later... Martin Mares 1998-06-03 08:43:44 +0000
  • c5ffa44759 Skeleton of device route protocol. As it's tightly coupled with our kernel, it sits here instead of `proto/dev'. Martin Mares 1998-06-03 08:42:16 +0000
  • d9f330c5ff Protocol hooks. All of them may be NULL. Martin Mares 1998-06-03 08:40:10 +0000