]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
21 years agocleanup in lsupd.c, indenting, "struct proto" removed...
Ondrej Filip [Fri, 4 Jun 2004 21:05:43 +0000 (21:05 +0000)] 
cleanup in lsupd.c, indenting, "struct proto" removed...

21 years ago'struct proto' removed
Ondrej Filip [Fri, 4 Jun 2004 20:41:02 +0000 (20:41 +0000)] 
'struct proto' removed
Finally, I found the bug reported by Andreas Steinmetz. FIXED.

21 years agoUseless logs removed.
Ondrej Filip [Fri, 4 Jun 2004 19:53:36 +0000 (19:53 +0000)] 
Useless logs removed.

21 years agoBugfix in last patch.
Ondrej Filip [Fri, 4 Jun 2004 19:21:19 +0000 (19:21 +0000)] 
Bugfix in last patch.

21 years agoOSPF is ready for changing MTU.
Ondrej Filip [Fri, 4 Jun 2004 18:51:29 +0000 (18:51 +0000)] 
OSPF is ready for changing MTU.

21 years agono comment
Ondrej Filip [Fri, 4 Jun 2004 18:24:15 +0000 (18:24 +0000)] 
no comment

21 years agodbdes indent an minor changes.
Ondrej Filip [Fri, 4 Jun 2004 17:49:25 +0000 (17:49 +0000)] 
dbdes indent an minor changes.

21 years agotypo in README
Ondrej Filip [Fri, 4 Jun 2004 17:32:38 +0000 (17:32 +0000)] 
typo in README

21 years agobetter log() usage.
Ondrej Filip [Fri, 4 Jun 2004 17:31:03 +0000 (17:31 +0000)] 
better log() usage.

21 years agolsreq.c indented and small 'struct proto' changes.
Ondrej Filip [Fri, 4 Jun 2004 17:28:41 +0000 (17:28 +0000)] 
lsreq.c indented and small 'struct proto' changes.

21 years agohello.* reindented, code cleanup.
Ondrej Filip [Fri, 4 Jun 2004 17:12:27 +0000 (17:12 +0000)] 
hello.* reindented, code cleanup.

21 years agoDeleted useles "struct proto" sending.
Ondrej Filip [Fri, 4 Jun 2004 17:05:24 +0000 (17:05 +0000)] 
Deleted useles "struct proto" sending.

21 years agoBetter log() usage.
Ondrej Filip [Fri, 4 Jun 2004 16:56:54 +0000 (16:56 +0000)] 
Better log() usage.

21 years agoIndented. No other change.
Ondrej Filip [Fri, 4 Jun 2004 16:55:53 +0000 (16:55 +0000)] 
Indented. No other change.

21 years agolsack.c cleaned. Better names for functions and
Ondrej Filip [Fri, 4 Jun 2004 16:30:04 +0000 (16:30 +0000)] 
lsack.c cleaned. Better names for functions and
DIRECT acks can be sent in one packet now.

21 years agoackd_timer_hook moded to neighbor.c
Ondrej Filip [Fri, 4 Jun 2004 15:45:35 +0000 (15:45 +0000)] 
ackd_timer_hook moded to neighbor.c

21 years agoFatal bug found. Sometimes BIRD did not originate router LSA. FIXED. :-)
Ondrej Filip [Fri, 4 Jun 2004 15:26:46 +0000 (15:26 +0000)] 
Fatal bug found. Sometimes BIRD did not originate router LSA. FIXED. :-)

21 years agoInitialize iterator on the right place.
Ondrej Filip [Fri, 4 Jun 2004 14:23:58 +0000 (14:23 +0000)] 
Initialize iterator on the right place.

21 years agoThis can happen now.
Ondrej Filip [Fri, 4 Jun 2004 14:23:21 +0000 (14:23 +0000)] 
This can happen now.

21 years agoSmall reversing of previous patch.
Ondrej Filip [Fri, 4 Jun 2004 14:22:30 +0000 (14:22 +0000)] 
Small reversing of previous patch.

21 years agoDon't repeat "Sheduling rt calc....."
Ondrej Filip [Fri, 4 Jun 2004 14:21:08 +0000 (14:21 +0000)] 
Don't repeat "Sheduling rt calc....."

21 years agoCode and comments cleanup.
Ondrej Filip [Fri, 4 Jun 2004 14:03:30 +0000 (14:03 +0000)] 
Code and comments cleanup.

21 years agohello.c and hello.h cleaned up. No design changes.
Ondrej Filip [Fri, 4 Jun 2004 12:53:10 +0000 (12:53 +0000)] 
hello.c and hello.h cleaned up. No design changes.

21 years agoAdded source addr for multicast socket.
Ondrej Filip [Thu, 3 Jun 2004 08:18:49 +0000 (08:18 +0000)] 
Added source addr for multicast socket.

21 years agoCONFIG_SKIP_MC_BIND added.
Ondrej Filip [Thu, 3 Jun 2004 08:18:14 +0000 (08:18 +0000)] 
CONFIG_SKIP_MC_BIND added.
BSD hates it, Linux needs it.

21 years agoDeleted useless rfree. (Socked was freed by cli_free())
Ondrej Filip [Wed, 2 Jun 2004 15:14:49 +0000 (15:14 +0000)] 
Deleted useless rfree. (Socked was freed by cli_free())

21 years agoHotfix for router's parent without nexthop.
Ondrej Filip [Wed, 2 Jun 2004 09:14:03 +0000 (09:14 +0000)] 
Hotfix for router's parent without nexthop.
It will probably work perfect, but I need to eliminate such situation.

21 years agoBugfix in external routes calculation.
Ondrej Filip [Tue, 1 Jun 2004 14:06:25 +0000 (14:06 +0000)] 
Bugfix in external routes calculation.

21 years agoCode clean up.
Ondrej Filip [Tue, 1 Jun 2004 13:58:39 +0000 (13:58 +0000)] 
Code clean up.

21 years agoEasier cleanup of an interface.
Ondrej Filip [Tue, 1 Jun 2004 13:44:53 +0000 (13:44 +0000)] 
Easier cleanup of an interface.

21 years agoDon't free socket's resources.
Ondrej Filip [Tue, 1 Jun 2004 13:29:08 +0000 (13:29 +0000)] 
Don't free socket's resources.

21 years agoPatch from Andreas Steinmetz <ast@domdv.de>
Ondrej Filip [Tue, 1 Jun 2004 13:12:10 +0000 (13:12 +0000)] 
Patch from Andreas Steinmetz <ast@domdv.de>

21 years agoReverting last patch.
Ondrej Filip [Tue, 1 Jun 2004 12:57:13 +0000 (12:57 +0000)] 
Reverting last patch.

21 years agoCaching loopback interface.
Ondrej Filip [Tue, 1 Jun 2004 10:55:10 +0000 (10:55 +0000)] 
Caching loopback interface.

21 years agolog->DBG
Ondrej Filip [Tue, 1 Jun 2004 10:53:30 +0000 (10:53 +0000)] 
log->DBG

21 years agoMinor changes caused by MJ's comment.
Ondrej Filip [Tue, 1 Jun 2004 10:45:28 +0000 (10:45 +0000)] 
Minor changes caused by MJ's comment.

21 years ago#ifdef CONFIG_UNIX_DONTROUTE added.
Ondrej Filip [Tue, 1 Jun 2004 10:32:02 +0000 (10:32 +0000)] 
#ifdef CONFIG_UNIX_DONTROUTE added.

21 years agoALIGN -> BIRD_ALIGN
Ondrej Filip [Tue, 1 Jun 2004 10:28:25 +0000 (10:28 +0000)] 
ALIGN -> BIRD_ALIGN

21 years agoNow, only one AC_OUTPUT is used.
Ondrej Filip [Tue, 1 Jun 2004 10:10:09 +0000 (10:10 +0000)] 
Now, only one AC_OUTPUT is used.

21 years agoUseles log()s deleted.
Ondrej Filip [Tue, 1 Jun 2004 09:10:11 +0000 (09:10 +0000)] 
Useles log()s deleted.

21 years agobzero has 2 arguments.
Ondrej Filip [Tue, 1 Jun 2004 09:07:16 +0000 (09:07 +0000)] 
bzero has 2 arguments.

21 years agomemset -> bzero
Ondrej Filip [Tue, 1 Jun 2004 08:59:47 +0000 (08:59 +0000)] 
memset -> bzero

21 years agoUpdated the distribution script.
Martin Mares [Mon, 31 May 2004 22:24:42 +0000 (22:24 +0000)] 
Updated the distribution script.

21 years agoDocumented the pxlen parameter.
Martin Mares [Mon, 31 May 2004 22:22:21 +0000 (22:22 +0000)] 
Documented the pxlen parameter.

21 years agoAdded a simple utility for converting CVS log messages to a reasonable
Martin Mares [Mon, 31 May 2004 22:16:54 +0000 (22:16 +0000)] 
Added a simple utility for converting CVS log messages to a reasonable
changelog format.

21 years agoMove CLI socket to the newly created CLI's pool.
Martin Mares [Mon, 31 May 2004 22:00:18 +0000 (22:00 +0000)] 
Move CLI socket to the newly created CLI's pool.

(thanks to Andreas for the original idea)

21 years agoRewritten the I/O loop. All socket operations are now safe, meaning that
Martin Mares [Mon, 31 May 2004 21:48:19 +0000 (21:48 +0000)] 
Rewritten the I/O loop. All socket operations are now safe, meaning that
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.

21 years agoAdded UNUSED.
Martin Mares [Mon, 31 May 2004 21:02:09 +0000 (21:02 +0000)] 
Added UNUSED.

21 years agoKilled a couple of unused variables.
Martin Mares [Mon, 31 May 2004 20:57:38 +0000 (20:57 +0000)] 
Killed a couple of unused variables.

We really should compile with warnings enabled.

21 years agostatic declarations don't belong to includes. (And most of them were
Martin Mares [Mon, 31 May 2004 20:53:22 +0000 (20:53 +0000)] 
static declarations don't belong to includes. (And most of them were
redundant anyway.)

21 years agoNeed <termios.h> for tcdrain().
Martin Mares [Mon, 31 May 2004 20:51:45 +0000 (20:51 +0000)] 
Need <termios.h> for tcdrain().

21 years agoMake the check for <linux/rtnetlink.h> work with recent libc's.
Martin Mares [Mon, 31 May 2004 20:49:11 +0000 (20:49 +0000)] 
Make the check for <linux/rtnetlink.h> work with recent libc's.

21 years agoOne space more.
Martin Mares [Mon, 31 May 2004 20:35:19 +0000 (20:35 +0000)] 
One space more.

21 years agoAdded rmove() (by Andreas, tweaked by me).
Martin Mares [Mon, 31 May 2004 18:47:19 +0000 (18:47 +0000)] 
Added rmove()  (by Andreas, tweaked by me).

21 years agoThe code was broken for external /29 to /32 routes. Assuming that you
Martin Mares [Mon, 31 May 2004 18:16:42 +0000 (18:16 +0000)] 
The code was broken for external /29 to /32 routes. Assuming that you
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.

21 years agoThe OSPF authentication type was sent in host byte order instead of of
Martin Mares [Mon, 31 May 2004 18:13:14 +0000 (18:13 +0000)] 
The OSPF authentication type was sent in host byte order instead of of
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)

21 years agoThe initial sequence number for RIP md5 authentication was always zero.
Martin Mares [Mon, 31 May 2004 18:11:16 +0000 (18:11 +0000)] 
The initial sequence number for RIP md5 authentication was always zero.
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)

21 years agoSmall correction to va_start/va_end in cli_printf (va_end was missing).
Martin Mares [Mon, 31 May 2004 18:08:50 +0000 (18:08 +0000)] 
Small correction to va_start/va_end in cli_printf (va_end was missing).

(Andreas)

21 years agoFix handling on full pipe to client in bird. Prevent packet overflows
Martin Mares [Mon, 31 May 2004 17:55:30 +0000 (17:55 +0000)] 
Fix handling on full pipe to client in bird. Prevent packet overflows
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)

21 years agoBird's control socket should be in /var/run and the convention for
Martin Mares [Mon, 31 May 2004 17:53:02 +0000 (17:53 +0000)] 
Bird's control socket should be in /var/run and the convention for
--localstatedir is /var. The control socket pathname creation is thus
corrected here.

(Andreas)

21 years agoFix bison input for current build tools, otherwise bison or the compiler
Martin Mares [Mon, 31 May 2004 17:44:39 +0000 (17:44 +0000)] 
Fix bison input for current build tools, otherwise bison or the compiler
will abort the build.

(by Andreas)

21 years agoMake RIP nolisten mode actually work. The socket is required for
Martin Mares [Mon, 31 May 2004 17:42:38 +0000 (17:42 +0000)] 
Make RIP nolisten mode actually work. The socket is required for
sending, the received data has to be discarded instead.

(patch by Andreas Steinmetz modified by me)

21 years agoChanged of comments.
Ondrej Filip [Mon, 31 May 2004 17:27:21 +0000 (17:27 +0000)] 
Changed of comments.

21 years agoGrrr, committing too fast.
Ondrej Filip [Mon, 31 May 2004 17:16:47 +0000 (17:16 +0000)] 
Grrr, committing too fast.
#include "alloca.h" -> #include "lib/alloca.h"

21 years agoalloca.h added
Ondrej Filip [Mon, 31 May 2004 17:13:58 +0000 (17:13 +0000)] 
alloca.h added

21 years agoUse #include "alloca.h"
Ondrej Filip [Mon, 31 May 2004 17:07:05 +0000 (17:07 +0000)] 
Use #include "alloca.h"

21 years agoPrevious change was mistake.
Ondrej Filip [Mon, 31 May 2004 17:00:22 +0000 (17:00 +0000)] 
Previous change was mistake.

21 years agoUseless include deleted.
Ondrej Filip [Mon, 31 May 2004 16:42:12 +0000 (16:42 +0000)] 
Useless include deleted.

21 years agoUpdated copyright notices.
Martin Mares [Mon, 31 May 2004 16:10:01 +0000 (16:10 +0000)] 
Updated copyright notices.

Also testing whether syncmail works.

21 years agoDelete autom4te.cache in 'make distclean'.
Ondrej Filip [Mon, 31 May 2004 15:13:56 +0000 (15:13 +0000)] 
Delete autom4te.cache in 'make distclean'.

21 years agoBetter readline checking.
Ondrej Filip [Mon, 31 May 2004 15:08:29 +0000 (15:08 +0000)] 
Better readline checking.

21 years agoSome include added.
Ondrej Filip [Mon, 31 May 2004 13:59:03 +0000 (13:59 +0000)] 
Some include added.

21 years ago#ifndef ALIGN - it is defined on *BSD
Ondrej Filip [Mon, 31 May 2004 13:58:38 +0000 (13:58 +0000)] 
#ifndef ALIGN - it is defined on *BSD

21 years agoAdded RTD_NONE /* Just for internal use */
Ondrej Filip [Mon, 31 May 2004 13:35:06 +0000 (13:35 +0000)] 
Added RTD_NONE /* Just for internal use */

21 years ago#ifdef ALLOCA_H
Ondrej Filip [Mon, 31 May 2004 13:34:20 +0000 (13:34 +0000)] 
#ifdef ALLOCA_H

21 years agoSmall change to compile client on FreeBSD.
Ondrej Filip [Mon, 31 May 2004 13:32:58 +0000 (13:32 +0000)] 
Small change to compile client on FreeBSD.

21 years ago*BSD port added. (Tested on FreeBSD and NetBSD)
Ondrej Filip [Mon, 31 May 2004 13:25:00 +0000 (13:25 +0000)] 
*BSD port added. (Tested on FreeBSD and NetBSD)

21 years agoMinor bug fix in neighbor state machine.
Ondrej Filip [Mon, 31 May 2004 13:22:49 +0000 (13:22 +0000)] 
Minor bug fix in neighbor state machine.

21 years agoMinor bug in configuration.
Ondrej Filip [Mon, 31 May 2004 10:38:44 +0000 (10:38 +0000)] 
Minor bug in configuration.

21 years agoAdded some more test (alloca.h, sa_len) etc.
Ondrej Filip [Mon, 31 May 2004 10:26:18 +0000 (10:26 +0000)] 
Added some more test (alloca.h, sa_len) etc.
Add AC_OUTPUT before AC_OUTPUT_COMMANDS

21 years agoBug in DBDES receiving fixed.
Ondrej Filip [Wed, 19 May 2004 12:30:58 +0000 (12:30 +0000)] 
Bug in DBDES receiving fixed.

21 years agoFix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.
Martin Mares [Sat, 6 Dec 2003 16:41:11 +0000 (16:41 +0000)] 
Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.

21 years agoOSPF was not able to be built stand-alone.
Ondrej Filip [Tue, 30 Sep 2003 17:05:55 +0000 (17:05 +0000)] 
OSPF was not able to be built stand-alone.

21 years agoEndianity problem fixed. Thanx to Sörös József
Ondrej Filip [Sun, 14 Sep 2003 13:41:24 +0000 (13:41 +0000)] 
Endianity problem fixed. Thanx to Sörös József

21 years agoThis prevents infinite loop when bird has more that 60 neighbors. Thanks to Rani...
Ondrej Filip [Wed, 3 Sep 2003 17:31:23 +0000 (17:31 +0000)] 
This prevents infinite loop when bird has more that 60 neighbors. Thanks to Rani Assaf

21 years agoPrepared for release 1.0.8.
Ondrej Filip [Mon, 1 Sep 2003 08:46:07 +0000 (08:46 +0000)] 
Prepared for release 1.0.8.

21 years agoEndian-related bug fixes sent by Krzysztof Szuster <kszuster@polbox.com>
Ondrej Filip [Tue, 26 Aug 2003 10:41:02 +0000 (10:41 +0000)] 
Endian-related bug fixes sent by Krzysztof Szuster <kszuster@polbox.com>

21 years agoMinor OSPF changes for faster startup.
Ondrej Filip [Sat, 23 Aug 2003 10:47:46 +0000 (10:47 +0000)] 
Minor OSPF changes for faster startup.

21 years agoMany spelling mistakes fixed.
Ondrej Filip [Sat, 23 Aug 2003 10:42:41 +0000 (10:42 +0000)] 
Many spelling mistakes fixed.

Thanks you Harry Moyes.

21 years agoThis probably IS the memory leak we're looking for. Alien routes weren't
Martin Mares [Wed, 13 Aug 2003 22:07:55 +0000 (22:07 +0000)] 
This probably IS the memory leak we're looking for. Alien routes weren't
correctly disposed of.

21 years agoprotocol->import_control() could potentially call rte_cow() as well.
Martin Mares [Wed, 13 Aug 2003 20:04:39 +0000 (20:04 +0000)] 
protocol->import_control() could potentially call rte_cow() as well.
AFAIK it doesn't happen in any of our protocol, but better be sure.

21 years agoThis was a potential memory leak, but not the one Feela observed.
Martin Mares [Wed, 13 Aug 2003 19:31:22 +0000 (19:31 +0000)] 
This was a potential memory leak, but not the one Feela observed.

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.

22 years agoSlept for a year :-)
Martin Mares [Sun, 6 Apr 2003 21:36:35 +0000 (21:36 +0000)] 
Slept for a year :-)

22 years agoNobody is perfect. Me twice :)
Martin Mares [Sun, 6 Apr 2003 19:52:22 +0000 (19:52 +0000)] 
Nobody is perfect. Me twice :)

22 years agoOops, forgot to change some paths.
Martin Mares [Sun, 6 Apr 2003 19:49:17 +0000 (19:49 +0000)] 
Oops, forgot to change some paths.

22 years agoMore news.
Martin Mares [Sun, 6 Apr 2003 19:49:02 +0000 (19:49 +0000)] 
More news.

22 years agoWe're 1.0.6 now.
Martin Mares [Sun, 6 Apr 2003 19:46:42 +0000 (19:46 +0000)] 
We're 1.0.6 now.

22 years agoAvoid problems with copying a directory to itself.
Martin Mares [Sun, 6 Apr 2003 19:45:55 +0000 (19:45 +0000)] 
Avoid problems with copying a directory to itself.

22 years agoReleasing version 1.0.6.
Martin Mares [Sun, 6 Apr 2003 19:42:28 +0000 (19:42 +0000)] 
Releasing version 1.0.6.

22 years agoUpdated the documentation building tools to work with a recent linuxdoc-tools package.
Martin Mares [Sun, 6 Apr 2003 19:35:50 +0000 (19:35 +0000)] 
Updated the documentation building tools to work with a recent linuxdoc-tools package.

Note that this is (and always was) a terrible hack and we really should
replace it with something reasonable which wouldn't need changing every
time linuxdoc-tools evolve.

I also needed to include a patched version of LinuxDocTools.pm, because the
original one explicitly refused to work with a non-linuxdoc DTD. The authors
of linuxdoc recommend to use sgmltools-lite in such cases, but it would mean
rewritting our formatting rules to the DSSSL language which I don't dare to
speak about here :)