summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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).
2000-03-07Renamed command `shutdown' to `down', so that `s' can be used as anMartin Mares
abbreviation for `show'.
2000-03-05Implemented real slab allocator. If you suspect it from being buggy,Martin Mares
just #define FAKE_SLAB at the top of lib/slab.c to bypass it.
2000-03-04Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.Martin Mares
2000-03-04Garbage collector events and counters are now per table and one dayMartin Mares
they can be made configurable if it turns out to be useful.
2000-03-04Removed bogus comment.Martin Mares
2000-03-04Fixed display of short continued messages in verbose mode.Martin Mares
2000-03-04Enabled short continuations.Martin Mares
2000-03-04Please *think* when defining operator priorities.Martin Mares
(-: num_of_parser_conflicts -= 42 :-)
2000-03-04Implemented real attribute cache.Martin Mares
2000-03-02Avoid being exponential, do not allow ! =Pavel Machek
2000-03-01Removed RTF_EXTERIOR and RTF_TAGGED (unused).Martin Mares
2000-03-01Reimplemented neighbor cache. Now uses real hashing.Martin Mares
2000-03-01Added proto->hash_key which contains randomly generated hash key usedMartin Mares
for calculation of hash functions depending on proto.
2000-03-01Added type parameter to f_new_dynamic_attr.Pavel Machek
2000-03-01tmp_attrs fixed.Pavel Machek
I do not know if it is right since mj ingores talk once started :-(.
2000-03-01Changed comments regarding hash function.Martin Mares
2000-03-01IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).Martin Mares
2000-03-01If the user has specified identical preferences for instances of differentMartin Mares
protocols, break the tie by comparing addresses, so we keep the ordering unambiguous.
2000-03-01Made `datetime' more user friendly. Now it should be a quoted stringMartin Mares
of type "dd-mm-yyyy".
2000-03-01Dynamic attributes are now declared in per-protocol grammar files insteadMartin Mares
of filter/config.Y. Bird now compiles even if you disable RIP. Removed RTA and IMPOSSIBLE tokens (unused). Removed superfluous comment in filter.h. I've tried to do my best, but Pavel, please check these changes.
2000-03-01Defined INVALID_TOKEN which is a token guaranteed to be never generated.Martin Mares
2000-03-01ipa_opposite hack is not applicable in IPv6.Martin Mares
2000-02-29Adapted RIP to new interface flags. Pavel, please verify it's right.Martin Mares
2000-02-29Rewrote interface type detection logic. The `unnumbered' flag is now perMartin Mares
address, not per interface (hence it's ifa->flags & IA_UNNUMBERED) and should be set reliably. IF_MULTIACCESS should be fixed now, but it isn't wise to rely on it on interfaces configured with /30 prefix.
2000-02-27Support expansion of command abbreviations.Martin Mares
Client considered finished (modulo bugs).
2000-02-25Router LSA & area adding.Ondrej Filip
2000-02-25Memory allocation in ospf_area changed.Ondrej Filip
2000-02-25Get rid of 'ab'-s, added return to functions.Pavel Machek
2000-02-24Hmmm, libreadline 2.1 seems to be the oldest version we work with.Martin Mares
2000-02-24Moan loudly if libreadline is an old version which doesn't supportMartin Mares
callbacks.
2000-02-24Area work and router LSA starts when interface goes up.Ondrej Filip
2000-02-23Small change for debugging.Ondrej Filip