summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-31Added UNUSED.Martin Mares
2004-05-31Killed a couple of unused variables.Martin Mares
We really should compile with warnings enabled.
2004-05-31static declarations don't belong to includes. (And most of them wereMartin Mares
redundant anyway.)
2004-05-31Need <termios.h> for tcdrain().Martin Mares
2004-05-31Make the check for <linux/rtnetlink.h> work with recent libc's.Martin Mares
2004-05-31One space more.Martin Mares
2004-05-31Added rmove() (by Andreas, tweaked by me).Martin Mares
2004-05-31The code was broken for external /29 to /32 routes. Assuming that youMartin Mares
have one machine publishing a route to 10.1.1.3/32 and another one publishing a route to 10.1.1.4/32. If the first machine went down the route to 10.1.1.4/32 was wrongly killed by the old code, leading either to missing routes or worse to bug()s like "Router parent does not have next hop" or just segfaults. The patch fixes this but in the long term a redesign is required here. Note that the patch doesn't worse the situation, instead it prevents the problems stated. The redesign is required to handle multiple routes to small subnets properly. (by Andreas) Feela, I think that this is at least a good temporary fix, but it's of course up to you to decide.
2004-05-31The OSPF authentication type was sent in host byte order instead of ofMartin Mares
network byte order thus breaking interoperability with other routing daemons on litte endian machines. The patch fixes this but note that this breaks compatability with older bird installations using OSPF and password authentication (Andreas)
2004-05-31The initial sequence number for RIP md5 authentication was always zero.Martin Mares
Bad as when bird e.g. was running for two weeks and then restarted it would take another two weeks until the peers of this router would accept data again from this router, as the sequence number would be too low. Changed to use the the current system time as the starting sequence number which is a more sane start value. (by Andreas, cleaned up by me)
2004-05-31Small correction to va_start/va_end in cli_printf (va_end was missing).Martin Mares
(Andreas)
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-31Bird's control socket should be in /var/run and the convention forMartin Mares
--localstatedir is /var. The control socket pathname creation is thus corrected here. (Andreas)
2004-05-31Fix bison input for current build tools, otherwise bison or the compilerMartin Mares
will abort the build. (by Andreas)
2004-05-31Make RIP nolisten mode actually work. The socket is required forMartin Mares
sending, the received data has to be discarded instead. (patch by Andreas Steinmetz modified by me)
2004-05-31Changed of comments.Ondrej Filip
2004-05-31Grrr, committing too fast.Ondrej Filip
#include "alloca.h" -> #include "lib/alloca.h"
2004-05-31alloca.h addedOndrej Filip
2004-05-31Use #include "alloca.h"Ondrej Filip
2004-05-31Previous change was mistake.Ondrej Filip
2004-05-31Useless include deleted.Ondrej Filip
2004-05-31Updated copyright notices.Martin Mares
Also testing whether syncmail works.
2004-05-31Delete autom4te.cache in 'make distclean'.Ondrej Filip
2004-05-31Better readline checking.Ondrej Filip
2004-05-31Some include added.Ondrej Filip
2004-05-31#ifndef ALIGN - it is defined on *BSDOndrej Filip
2004-05-31Added RTD_NONE /* Just for internal use */Ondrej Filip
2004-05-31#ifdef ALLOCA_HOndrej Filip
2004-05-31Small change to compile client on FreeBSD.Ondrej Filip
2004-05-31*BSD port added. (Tested on FreeBSD and NetBSD)Ondrej Filip
2004-05-31Minor bug fix in neighbor state machine.Ondrej Filip
2004-05-31Minor bug in configuration.Ondrej Filip
2004-05-31Added some more test (alloca.h, sa_len) etc.Ondrej Filip
Add AC_OUTPUT before AC_OUTPUT_COMMANDS
2004-05-19Bug in DBDES receiving fixed.Ondrej Filip
2003-12-06Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.Martin Mares
2003-09-30OSPF was not able to be built stand-alone.Ondrej Filip
2003-09-14Endianity problem fixed. Thanx to Sörös JózsefOndrej Filip
2003-09-03This prevents infinite loop when bird has more that 60 neighbors. Thanks to ↵Ondrej Filip
Rani Assaf
2003-09-01Prepared for release 1.0.8.Ondrej Filip
2003-08-26Endian-related bug fixes sent by Krzysztof Szuster <kszuster@polbox.com>Ondrej Filip
2003-08-23Minor OSPF changes for faster startup.Ondrej Filip
2003-08-23Many spelling mistakes fixed.Ondrej Filip
Thanks you Harry Moyes.
2003-08-13This probably IS the memory leak we're looking for. Alien routes weren'tMartin Mares
correctly disposed of.
2003-08-13protocol->import_control() could potentially call rte_cow() as well.Martin Mares
AFAIK it doesn't happen in any of our protocol, but better be sure.
2003-08-13This was a potential memory leak, but not the one Feela observed.Martin Mares
This one could happen when an import filter of some protocol modified the rte (so that it would be rte_cow()ed) and later rejected it.
2003-04-06Slept for a year :-)Martin Mares
2003-04-06Nobody is perfect. Me twice :)Martin Mares
2003-04-06Oops, forgot to change some paths.Martin Mares
2003-04-06More news.Martin Mares