summaryrefslogtreecommitdiff
path: root/sysdep
AgeCommit message (Collapse)Author
2000-05-29Tracing of CLI connections/commands can be now controlledMartin Mares
by `debug commands <level>' in the configuration. Level 0 means no tracing, 1 means connections only, 2 includes all commands.
2000-05-29Support --version and --help.Martin Mares
2000-05-16When in persist mode, don't delete routes from kernel tables even ifMartin Mares
they cease to exist in our routing tables due to protocols having shut down.
2000-05-13Adapted to new rt_notify semantics.Martin Mares
2000-05-11Multicast problems should be gone, although the fix is Linux only and we'llMartin Mares
need to figure out something better when working on new ports.
2000-05-11If a broadcast address is missing, go fake one.Martin Mares
2000-05-08In non-debug mode, set default logging to syslog only, not stderr.Martin Mares
2000-05-08Fixed type in daemonization code.Martin Mares
2000-05-08When not debugging, daemonize automatically.Martin Mares
2000-05-08Forgot to add a spiky comment :)Martin Mares
2000-05-08Autoconf is *evil*. The sysconfdir and similar variables are unusable inMartin Mares
C includes as they contain substitutions specific to make. Worked around by creating sysconf/paths.h which is created from the Makefile instead of by the configure script.
2000-05-08When reporting a bug(), call abort() instead of exit(), so that weMartin Mares
can analyse the core.
2000-05-08Some less socket error messages.Martin Mares
2000-05-08Don't report refused connections.Martin Mares
2000-05-08Removed the `async' switch which was used for debugging only anyway.Martin Mares
Don't moan when netlink reports lost packets.
2000-05-08Incoming buffer must be at least 8KB long.Martin Mares
2000-05-08Use preferences properly.Martin Mares
2000-05-08Don't crash when reporting deleted routes.Martin Mares
Set preferences correctly.
2000-05-06IPv6 support compiles on both glibc 2.0 and 2.1.Martin Mares
2000-05-05Added skeleton Doc files for the whole developer's documentation.Martin Mares
2000-05-04#ifdef out lots of debugging information.Martin Mares
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
2000-05-04Removed 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-04-28Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,Martin Mares
C declarations etc.).
2000-04-27Fixed a couple of nasty CLI bugs which were triggered on long or multi-partMartin 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-26Changed handling of incoming connections, so that we can send dataMartin Mares
from the send hook without worrying about existence of socket buffers. Also, don't forget to copy peer addresses.
2000-04-26Removed several FIXME's.Martin Mares
2000-04-25Allow sk_close(NULL).Martin Mares
2000-04-20IPv6 compiles with glibc 2.1.Martin Mares
2000-04-10Dropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.Martin Mares
2000-04-01Changed initialization of protocol list -- now we call proto_build() insteadMartin 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-03-31Use bsprintf() instead of sprintf().Martin Mares
2000-03-31Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-30Defined sk_close() which closes the socket safely even if called fromMartin Mares
socket hook. Replaces the SK_DELETED hack. Squashed a couple of bugs in handling of TCP sockets.
2000-03-20Handle EINPROGRESS properly.Martin Mares
Set IP_DONTROUTE sockopt only if sk->ttl == 1.
2000-03-12Fixed a bunch of FIXME's by removing them :)Martin Mares
2000-03-12Added tm_format_datetime().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-12Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,Martin Mares
several debug() calls converted to DBG().
2000-03-07Renamed command `shutdown' to `down', so that `s' can be used as anMartin Mares
abbreviation for `show'.
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-01ipa_opposite hack is not applicable in IPv6.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-01-19Put client on a stony ground. The whole client is going to be system-specificMartin Mares
(the current version UNIX-specific) anyway, so it's useless to try splitting it to sysdep and generic part. Instead of this, configure script decides (based on system type and user's wish) what (if any) client should be built and what autoconfiguration it requires. Also, the client provides its own die/bug/... functions.
2000-01-18Killed protocol->priority. Protocol startup should be clean and hack-free now.Martin Mares
It seems everything still works (except for disable/enable/restart which hangs sometimes, but it's another story).
2000-01-18Kernel route syncer now supports dynamic reconfiguration. Also it doesn'tMartin Mares
depend on the startup counter hack now and uses a zero-time timer instead to make itself scheduled after normal protocol startup.
2000-01-17Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.Martin Mares
I'll find a better solution soon.
2000-01-17Separated `official protocol names' used in status dumps from name templatesMartin Mares
used for automatic generation of instance names. protocol->name is the official name protocol->template is the name template (usually "name%d"), should be all lowercase. Updated all protocols to define the templates, checked that their configuration grammar includes proto_name which generates the name and interns it in the symbol table.
2000-01-17Reconfiguration for device protocol.Martin Mares
2000-01-16Wording changes.Martin Mares