summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2000-03-29Some FIXME added.Ondrej Filip
2000-03-29Sending of DBdes bug fixed.Ondrej Filip
2000-03-29IMMS reverted to bits. Outgoing packets dumping added.Ondrej Filip
Cisco does not set inteface MTU. Hmm....
2000-03-29f_run gets one more parameter to distinguish between in and out modes.Pavel Machek
2000-03-29Cross-protocol issues solved betterPavel Machek
2000-03-29DBdes sending/receiving changes.Ondrej Filip
2000-03-27Use neigh_connected_to in rip, and behave more correctlyPavel Machek
w.r.t. whotoldme and nexthop.
2000-03-27if_connected() is again private.Martin Mares
Introduced neigh_connected_to() to serve the same purpose efficiently.
2000-03-26I broke compilation. Sorry.Pavel Machek
2000-03-26Split horizont done right.Pavel Machek
Locks done better.
2000-03-26if_connected is usefull outside of neighbour cache.Pavel Machek
2000-03-24FIXME was actually already resolvedPavel Machek
2000-03-23Minor change to make code more readable.Pavel Machek
2000-03-22Rip now tries to lock interface.Pavel Machek
Fixed fatal errors which caused segfault at startup. Fixed fatal errors in rip which caused it not to send more than first update.
2000-03-22Format of dates changed, so rip authentication is now commented out.Pavel Machek
2000-03-21Construction of BGP packets.Martin Mares
2000-03-21Wrote real version of unaligned data access functions (needed for BGP).Martin Mares
2000-03-20Started work on BGP. Wrote main part of the connection handling code.Martin Mares
2000-03-20Handle EINPROGRESS properly.Martin Mares
Set IP_DONTROUTE sockopt only if sk->ttl == 1.
2000-03-20Added missing newline in debug output.Martin Mares
2000-03-20Define new data types for BGP.Martin Mares
2000-03-19Bare skeleton of the BGP.Martin Mares
2000-03-19Protocol tracing: Don't dump core on filtered out routes.Martin Mares
2000-03-13Cleanup, mostly debugging messages.Pavel Machek
2000-03-13Add internal commands of the client to the command list.Martin Mares
2000-03-12Commands which failed expansions are to be stored to history, too.Martin Mares
2000-03-12Fixed a bunch of FIXME's by removing them :)Martin Mares
2000-03-12Made `show status' show uptime and time of last reconfiguration.Martin Mares
2000-03-12Added tm_format_datetime().Martin Mares
2000-03-12Don't crash when filter_same() gets called on FILTER_ACCEPT or FILTER_REJECT.Martin Mares
2000-03-12Yet another LOCAL_DEBUG turned off.Martin Mares
2000-03-12Cleaned up debugging in kernel syncer. Netlink has still LOCAL_DEBUGMartin Mares
turned on, but after some testing I'll gag it.
2000-03-12Use do { } while(0) instead of empty DBG if not debugging.Martin Mares
2000-03-12Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,Martin Mares
several debug() calls converted to DBG().
2000-03-12Added tracing of interface events.Martin Mares
2000-03-12Oops, got `<' and `>' markers in trace output reversed.Martin Mares
2000-03-12Added 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-10Fix <=, >=, !=Pavel Machek
2000-03-09LSA DB is completely redesigned. Now it should be faster and it needsOndrej Filip
less memory.
2000-03-09Categorized TRACE() messages in ripPavel Machek
2000-03-09Rip tracing: still need config hunk to set p->debug.Pavel Machek
2000-03-09log() classes done rightPavel Machek
2000-03-091 less shift/reduce conflictPavel Machek
print now takes arguments separated by , [ 1.2.3.0/24 .. 3.4.5.0/8 ] is now forbidden [ 1.2.3.0/8 ] now actually works
2000-03-09CONST() is now gonePavel Machek
2000-03-08Sending of DBDes. (Checksum and length calculation NOT done.)Ondrej Filip
2000-03-07Added debugging of protocol state transitions.Martin Mares
2000-03-07Added configuration of default protocol debugging flags.Martin Mares
2000-03-07No longer echoes commands before sending them.Martin Mares
2000-03-07DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).Martin Mares
2000-03-07Added protocol debugging flags (protocol.h: D_xxx), parsing of themMartin 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).