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
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.
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.
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.
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 :)
Martin Mares [Sat, 22 Feb 2003 22:47:45 +0000 (22:47 +0000)]
Better selection of link-local NLRI addresses, at least for our own
address. Need to do it better for the other neighbors -- the current
solution works only if they use the standard 64+64 global addresses
and the interface identifier in lower 64 bits is the same as for the
link-scope addresses.
Martin Mares [Sat, 22 Feb 2003 22:39:06 +0000 (22:39 +0000)]
There can be multiple primary addresses with different scopes
and only the highest scope one has IA_PRIMARY set, so report
the remaining ones as "Unselected".
Martin Mares [Sun, 19 Aug 2001 11:11:44 +0000 (11:11 +0000)]
IP address formatting now uses the same rules as formatting of strings
with two exceptions:
o Any non-zero field width is automatically replaced by standard
IP address width. This hides dependences on IPv4/IPv6.
o %#I generates hexadecimal form of the address.
Therefore |%I| generates unpadded format, |%1I| full size flush-right,
and |%-1I| full size flush-left format.
Ondrej Filip [Mon, 4 Sep 2000 19:42:17 +0000 (19:42 +0000)]
I allocate struct ifa before unlocking. So route exported to OSPF are correct.
I work also with interfaces that have some problems with socket opening.
I declare them as stub.