0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00
The BIRD project aims to develop a fully functional dynamic IP routing daemon. https://bird.network.cz
Go to file
Martin Mares 96d8e3bff2 Added protocol debugging flags (protocol.h: D_xxx), parsing of them
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-07 20:49:48 +00:00
client Fixed display of short continued messages in verbose mode. 2000-03-04 21:26:35 +00:00
conf Removed bogus comment. 2000-03-04 21:27:57 +00:00
doc Updated docs about filters, and added fixme. 2000-01-26 21:28:53 +00:00
filter Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. 2000-03-04 22:30:44 +00:00
lib Implemented real slab allocator. If you suspect it from being buggy, 2000-03-05 22:48:30 +00:00
misc Variance estimation fixed. 1998-12-19 21:53:28 +00:00
nest Added protocol debugging flags (protocol.h: D_xxx), parsing of them 2000-03-07 20:49:48 +00:00
proto Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. 2000-03-04 22:30:44 +00:00
sysdep Renamed command shutdown' to down', so that `s' can be used as an 2000-03-07 20:09:35 +00:00
tools Don't make dependencies in client directory if the client is not 2000-02-14 17:32:50 +00:00
.cvsignore Added bird.conf to .cvsignore and created an example configuration file. 1999-01-15 17:18:41 +00:00
aclocal.m4 Cosmetic message fix. 1999-04-12 17:27:21 +00:00
bird.conf Make bird.conf that does not crash machine when you run bird as root. 1999-12-08 12:50:57 +00:00
configure.in Hmmm, libreadline 2.1 seems to be the oldest version we work with. 2000-02-24 18:46:24 +00:00
Makefile switch() { } done right. 1999-10-28 21:03:36 +00:00
TODO Implemented real slab allocator. If you suspect it from being buggy, 2000-03-05 22:48:30 +00:00