Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-05-04 | Removed a lot of unused variables. | Martin Mares | |
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 | Switched off LOCAL_DEBUG. | Martin Mares | |
2000-05-02 | IPv6 address classification fixes. | Martin Mares | |
2000-04-28 | Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines, | Martin Mares | |
C declarations etc.). | |||
2000-04-28 | Fixed a couple of nasty CLI bugs which were triggered on long or multi-part | Martin Mares | |
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-28 | Event handlers no longer return re-queue flag. Instead of using it, just | Martin Mares | |
call ev_schedule() on the same handler which should work perfectly now. | |||
2000-04-27 | Fixed stupid bug in as_path_format(). | Martin Mares | |
2000-04-26 | Better formatting of router ID's. | Martin Mares | |
2000-04-26 | Fixed several bugs in protocol state machine. Reconfigurations and | Martin Mares | |
restarts of BGP seem to work now. | |||
2000-04-26 | Whitespace changes. | Pavel Machek | |
2000-04-25 | Don't forget to set filter pointers in struct proto when reconfiguring. | Martin Mares | |
2000-04-17 | Don't import/export MED and LOCAL_PREF on external links. | Martin Mares | |
Added real comparison of BGP routes (inspired by the Cisco one). Default local preference and default MED are now settable. Defined filter keywords for all BGP attributes we know. | |||
2000-04-17 | The previous fix for spacing was (a) totally out of context, (b) wrong. | Martin Mares | |
Please *read* the code when trying to change it. Also killed a couple of type clashes. | |||
2000-04-17 | Put space between entries so they are separated. | Pavel Machek | |
FIXME: should use format as in filters. | |||
2000-04-17 | Int sets moved to core. It is now possible to have variable of type clist. | Pavel Machek | |
2000-04-17 | Define EAF_ORIGINATED and propagate it properly when merging attribute lists. | Martin Mares | |
2000-04-17 | Aesthetical tweaks (asterisk spells `asterisk' etc.) | Martin Mares | |
2000-04-17 | as_path_match moved to a-path.c | Pavel Machek | |
2000-04-17 | Path_getlen moved to nest and length was made callable from filters. | Pavel Machek | |
2000-04-17 | Printing of AS paths and community sets. | Martin Mares | |
2000-04-17 | Created nest/a-path.c and a-set.c which should contain general operations | Martin Mares | |
on AS paths and community sets. Moved as_path_prepend() there. Pavel, please move the other functions as well. | |||
2000-04-11 | Fix comments. | Martin Mares | |
2000-04-10 | As usuall, most important info was missing. | Pavel Machek | |
2000-04-10 | Export ea_same() and ea_hash(). | Martin Mares | |
2000-04-10 | Fix stupid bug in neighbor cache. | Martin Mares | |
2000-04-10 | BGP doesn't need any inline attributes. | Martin Mares | |
2000-04-01 | Changed initialization of protocol list -- now we call proto_build() instead | Martin Mares | |
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 | BGP now handles incoming routes (IPv4 only). | Martin Mares | |
2000-04-01 | When tracing, always print incoming part of the trace before the outgoing one. | Martin Mares | |
Avoid buffer overflows in `show routes' command. | |||
2000-04-01 | Removal of useless includes continues... | Martin Mares | |
2000-04-01 | Include "lib/string.h" instead of <string.h>. It should give us bzero() | Martin Mares | |
and other non-portable functions on all systems. | |||
2000-04-01 | Fixed bug in processing of dynamic attributes. | Martin Mares | |
2000-03-30 | Use FF_FORCE_TMPATTR where appropriate. | Martin Mares | |
2000-03-29 | f_run gets one more parameter to distinguish between in and out modes. | Pavel Machek | |
2000-03-27 | if_connected() is again private. | Martin Mares | |
Introduced neigh_connected_to() to serve the same purpose efficiently. | |||
2000-03-26 | I broke compilation. Sorry. | Pavel Machek | |
2000-03-26 | if_connected is usefull outside of neighbour cache. | Pavel Machek | |
2000-03-20 | Added missing newline in debug output. | Martin Mares | |
2000-03-20 | Define new data types for BGP. | Martin Mares | |
2000-03-19 | Bare skeleton of the BGP. | Martin Mares | |
2000-03-19 | Protocol tracing: Don't dump core on filtered out routes. | Martin Mares | |
2000-03-12 | Fixed a bunch of FIXME's by removing them :) | Martin Mares | |
2000-03-12 | Made `show status' show uptime and time of last reconfiguration. | Martin Mares | |
2000-03-12 | Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules, | Martin Mares | |
several debug() calls converted to DBG(). | |||
2000-03-12 | Added tracing of interface events. | Martin Mares | |
2000-03-12 | Oops, got `<' and `>' markers in trace output reversed. | Martin Mares | |
2000-03-12 | Added debugging of communication between protocols and routing tables. | Martin Mares | |
Just ask for "debug routes" if you want to see the routes and "debug filters" if you want even the rejected ones. | |||
2000-03-07 | Added debugging of protocol state transitions. | Martin Mares | |
2000-03-07 | Added configuration of default protocol debugging flags. | Martin Mares | |
2000-03-07 | Added protocol debugging flags (protocol.h: D_xxx), parsing of them | Martin Mares | |
in configuration files and commands for manipulating them. Current debug message policy: o D_STATES, D_ROUTES and D_FILTERS are handled in generic code. o Other debug flags should be handled in the protocols and whenever the flag is set, the corresponding messages should be printed using calls to log(L_TRACE, ...), each message prefixed with the name of the protocol instance. These messages should cover the whole normal operation of the protocol and should be useful for an administrator trying to understand what does the protocol behave on his network or who is attempting to diagnose network problems. If your messages don't fit to the categories I've defined, feel free to add your own ones (by adding them to protocol.h and on two places in nest/config.Y), but please try to keep the categories as general as possible (i.e., not tied to your protocol). o Internal debug messages not interesting even to an experienced user should be printed by calling DBG() which is either void or a call to debug() depending on setting of the LOCAL_DEBUG symbol at the top of your source. o Dump functions (proto->dump etc.) should call debug() to print their messages. o If you are doing any internal consistency checks, use ASSERT or bug(). o Nobody shall ever call printf() or any other stdio functions. Also please try to log any protocol errors you encounter and tag them with the appropriate message category (usually L_REMOTE or L_AUTH). Always carefully check contents of any message field you receive and verify all IP addresses you work with (by calling ipa_classify() or by using the neighbour cache if you want to check direct connectedness as well). |