summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
AgeCommit message (Collapse)Author
2004-06-01Move CLI socket to the newly created CLI's pool.Martin Mares
(thanks to Andreas for the original idea)
2004-05-31Rewritten the I/O loop. All socket operations are now safe, meaning thatMartin Mares
you can delete the socket from anywhere in the hooks and nothing should break. Also, the receive/transmit buffers are now regular xmalloc()'ed buffers, not separate resources which would need shuffling around between pools. sk_close() is gone, use rfree() instead.
2004-05-31Fix handling on full pipe to client in bird. Prevent packet overflowsMartin Mares
for even only medium sized route table output. Fix a strange garbled output problem in the client. The latter seems to be caused by some library doing tcflush while there is still command output pending. So the best fix here is to do fflush and then tcdrain. Note that this problem occurs only under certain load situations and is not too easy to reproduce. (by Andreas)
2004-05-31Previous change was mistake.Ondrej Filip
2004-05-31*BSD port added. (Tested on FreeBSD and NetBSD)Ondrej Filip
2003-08-14This probably IS the memory leak we're looking for. Alien routes weren'tMartin Mares
correctly disposed of.
2002-11-13Added missing includes.Martin Mares
2002-11-13Added missing #include and wondering how could it ever compile.Martin Mares
2001-03-06Fixed <time.h> vs. <sys/time.h> problems.Martin Mares
2000-06-20If compiled with --enable-debug, don't even try to log to syslog unlessMartin Mares
the user forces it in the config file.
2000-06-17Use our own SUN_LEN if libc doesn't provide it.Martin Mares
2000-06-09During initialization, log to both syslog and stderr. When a configurationMartin Mares
file has been read and it doesn't specify any logging, log to syslog only (if syslog is not available, then stderr).
2000-06-09Use SUN_LEN() for length of UNIX domain addresses. This should fix problemsMartin Mares
with connection to clients on libc5 machines.
2000-06-08Fixes for the programmer's manual.Martin Mares
2000-06-08... as well there.Martin Mares
2000-06-08Updated CLI helps.Martin Mares
2000-06-07Fixes to the progdoc.Martin Mares
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-05Documented all the sysdeps (only briefly, I admit).Martin Mares
Except for Filters, RIP and OSPF, the progdocs are complete.
2000-06-05Documented sockets, events and timers.Martin Mares
2000-06-05Split random number functions off io.c, so that they can be documentedMartin Mares
separately.
2000-06-01tm_format_reltime() works with both past and future timestamps.Martin Mares
2000-06-01Updated for new scope handling.Martin Mares
Also, provide proper address scopes in struct ifa.
2000-06-01Before configuration file is read, log to _both_ syslog and stderr.Martin Mares
2000-05-31Updated all the Doc files to new format.Martin Mares
2000-05-30Tracing 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-09In non-debug mode, set default logging to syslog only, not stderr.Martin Mares
2000-05-09Fixed type in daemonization code.Martin Mares
2000-05-08When not debugging, daemonize automatically.Martin Mares
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-08Use preferences properly.Martin Mares
2000-05-08Don't crash when reporting deleted routes.Martin Mares
Set preferences correctly.
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-28Fixed 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-26Allow sk_close(NULL).Martin Mares
2000-04-21IPv6 compiles with glibc 2.1.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-04-01Use bsprintf() instead of sprintf().Martin Mares
2000-04-01Include "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.