Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-03-26 | Don't try to manipulate neighbor lists for copied interface structures. | Martin Mares | |
This avoids few nasty references to free memory. | |||
1999-03-24 | Removed our declaration of RTPROT_BIRD since Alexey has assigned | Martin Mares | |
us a real protocol number in 2.2.4 kernel. | |||
1999-03-17 | rte_update: Check sanity of incoming entries. Throw out (and log) all routes | Martin Mares | |
to bogus prefixes and non-local routes to host scope addresses. | |||
1999-03-17 | Allow input and output filters (only accept/reject style as we didn't define | Martin Mares | |
modifying filters yet) to be attached to protocol instances. | |||
1999-03-17 | A couple of filter tweaks: | Martin Mares | |
o Introduced struct filter which serves as an external reference to filter. Using struct symbol for this is unwise since it doesn't allow extra information attached to the filter and it also forces all filters to be named. o Implemented config rule 'filter' which matches either named filter or an embedded unnamed filter (`{ <filter> }'). o Fixed totally bogus comment at the top of filter.h. o Added a missing prototype for f_run() to filter.h. | |||
1999-03-17 | Removed the `rta_same' hook since it's no longer needed (all protocols | Martin Mares | |
needing some local information should use extended attrs and cached rta's). | |||
1999-03-17 | Implemented extended route attributes and all related functions. | Martin Mares | |
1999-03-17 | Initialize pointers to functions so that code is actually alive. | Pavel Machek | |
1999-03-17 | Compilation fix for mj. | Pavel Machek | |
1999-03-17 | Don't segfault on unknown interface. | Pavel Machek | |
1999-03-17 | accept & reject should now work | Pavel Machek | |
1999-03-09 | Yes, joining the crew. Sorry for being late. Added dummy functions for OSPF. | Ondrej Filip | |
1999-03-09 | Resolved conflicts, you no longer need to wrap constants in const() | Pavel Machek | |
1999-03-09 | Added '=' to operator list | Pavel Machek | |
1999-03-08 | Filters are now a tiny bit stronger (if is actually working ;-) | Pavel Machek | |
1999-03-04 | Fixed processing of !krt_capable() routes. Converted device route decisions | Martin Mares | |
to the krt_capable mechanism as well. | |||
1999-03-04 | KRT: Implemented asynchronous route / interface state notifications | Martin Mares | |
(via Netlink). Tweaked kernel synchronization rules a bit. Discovered locking bug in kernel Netlink :-) Future plans: Hunt all the bugs and solve all the FIXME's. | |||
1999-03-04 | Although there are still heaps of FIXME's, Netlink works. | Martin Mares | |
To build BIRD with Netlink support, just configure it with ./configure --with-sysconfig=linux-21 After it will be tested well enough, I'll probably make it a default for 2.2 kernels (and rename it to linux-22 :)). | |||
1999-03-04 | Converted some mb_alloc/bzero pairs to mb_allocz. | Martin Mares | |
1999-03-04 | Initialize allocated struct proto :-) | Martin Mares | |
1999-03-04 | Use dmalloc instead of EFence when available (dmalloc has lot of improvements | Martin Mares | |
over EFence and also hopefully smaller memory overhead, but sadly it's non-free for commercial use). If the DMALLOC_OPTIONS environment variable is not set, switch on `reasonable' checks by default. Also introduced mb_allocz() for cleared mb_alloc(). | |||
1999-03-03 | Netlink scans routes... | Martin Mares | |
1999-03-03 | EFence helped to find using of already free rte's in rt_prune(). | Martin Mares | |
1999-03-03 | Fix several things I broke today. | Martin Mares | |
1999-03-03 | Added a hack forcing protocols with priority>0 to be started up | Martin Mares | |
immediately. Grrr, need to find a real solution some day. | |||
1999-03-03 | Rewrote the kernel syncer. The old layering was horrible. | Martin Mares | |
The new kernel syncer is cleanly split between generic UNIX module and OS dependent submodules: - krt.c (the generic part) - krt-iface (low-level functions for interface handling) - krt-scan (low-level functions for routing table scanning) - krt-set (low-level functions for setting of kernel routes) krt-set and krt-iface are common for all BSD-like Unices, krt-scan is heavily system dependent (most Unices require /dev/kmem parsing, Linux uses /proc), Netlink substitues all three modules. We expect each UNIX port supports kernel routing table scanning, kernel interface table scanning, kernel route manipulation and possibly also asynchronous event notifications (new route, interface state change; not implemented yet) and build the KRT protocol on the top of these primitive operations. | |||
1999-03-03 | Introduced protocol priority (all 'normal' protocols should use the | Martin Mares | |
default zero priority). No more "kernel syncer initialized before device routes" problems. | |||
1999-03-02 | Add interface for running filters (please comment!), avoid bison warnings | Pavel Machek | |
1999-03-02 | Avoid segfault | Pavel Machek | |
1999-03-02 | Netlink module supports interface scan on startup. Working on more. | Martin Mares | |
1999-03-02 | o The if_change_too_big_p change was too high-spirited. Fixed. | Martin Mares | |
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). | |||
1999-03-02 | Interface logic changes: | Martin Mares | |
o Introduced IF_LINK_UP flag corresponding to real link state. o Allowed addressless interfaces. o IF_UP is now automatically calculated and set iff the interface is administratively up, has link up and has an IP address assigned. It may be IF_IGNORED, though (as in case of the loopback). o Any changes which include up/down transition are considered small enough to not provoke artificial upping and downing of the interface. o When an interface disappears (i.e., it wasn't seen in the last scan), we announce this change only once. o IF_LOOPBACK implies IF_IGNORE. | |||
1999-03-02 | Don't try to install static routes to disconnected neighbors. | Martin Mares | |
1999-03-02 | Latest changes broke out-of-tree compilation. | Martin Mares | |
1999-03-02 | I just don't like files enclosed in <>. | Pavel Machek | |
1999-03-01 | If we are compiling with debugging enabled and libefence is available, | Martin Mares | |
link it to get debugging malloc. | |||
1999-03-01 | Implemented netlink protocol parsing functions. More to come tomorrow. | Martin Mares | |
1999-03-01 | Added SK_MAGIC type sockets for internal use by system dependent code, | Martin Mares | |
especially for netlink communication. | |||
1999-03-01 | Hopefully ended translating to new interface | Pavel Machek | |
1999-03-01 | Added skeletal version of Linux netlink interface. It doesn't work yet, | Martin Mares | |
but the framework is there and I'll try finish it soon. | |||
1999-03-01 | Include "config.h" instead of "autoconf.h" in all Modules lists to make defines | Martin Mares | |
in the static portion of configuration includes available as well. | |||
1999-03-01 | Renamed struct rtattr to struct rta to make things more consistent and | Martin Mares | |
avoid namespace clashes with <linux/rtnetlink.h>. Other files should not be affected since they use 'rta' directly. | |||
1999-03-01 | Use traditional Unix route/iface interface only when CONFIG_NETLINK | Martin Mares | |
is not defined. Also moved declarations of Unix iface logic to krt.h. | |||
1999-03-01 | Pruned the TODO list. | Martin Mares | |
1999-02-15 | More rip fixes (config data moved to struct rip_proto_config), still | Pavel Machek | |
not tested. | |||
1999-02-13 | Cleaned up TODO file. | Martin Mares | |
That's all for today, midnight gets closer. | |||
1999-02-13 | Synced example config with new options. | Martin Mares | |
1999-02-13 | Implemented static device routes. | Martin Mares | |
Expect for reconfiguration issues, the static protocol is complete now. | |||
1999-02-13 | Parameter order for the proto->if_notify hook was different in the include | Martin Mares | |
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). | |||
1999-02-13 | '#' comments in config files are equivalent to end of line, therefore | Martin Mares | |
also to implicit ';'. |