1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

343 Commits

Author SHA1 Message Date
789772ed45 Implements option that changes BGP listening socket parametres. 2009-06-18 19:20:07 +02:00
dc16584ac2 Small change to make BIRD's IPv6 packaging easier 2009-06-02 00:28:08 +02:00
f98e291579 The pipe cleanup. 2009-06-01 14:07:13 +02:00
23ac9e9a9e Changes pipes to transfer all routes between routing table, not just optimal routes. 2009-05-31 15:24:27 +02:00
874b868544 Implements primary address selection base on 'primary' option. 2009-05-29 22:49:30 +02:00
51f4469f03 Fixes problems with rewriting of kernel device routes. 2009-05-29 17:36:37 +02:00
6f68f066b6 Add 'primary' configuration option. 2009-05-29 13:32:24 +02:00
050ceb867f Update versions. 2009-05-22 18:41:52 +02:00
80f0d6764a Fixes type mismatch on BSD systems. 2009-05-22 13:37:07 +02:00
6c84554b67 Merge branch 'master' into dev 2009-05-21 09:26:59 +02:00
ef9c9ab9b6 OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
19e10907c1 Fixes communication on netlink sockets
Independent sessions on netlink sockets mixed state
in some common variables.
2009-05-08 14:37:06 +02:00
2b70f0742e Linux specific TCP-MD5 handling moved to sysdep/linux/sysio.h
FreeBSD coded added. BSD cannot set BGP passwords itself.
This has to be done by external command.
2009-05-04 18:17:46 +02:00
1bc4b2cc84 Syntax error fix for systems without CONFIG_SELF_CONSCIOUS (KRT_ALLOW_LEARN) 2009-05-04 17:49:56 +02:00
11e0568f8b NEWS and version update 2009-04-28 09:46:59 +02:00
e366625c0e Fixes mixed-up messages on netlink socket
Under specific circumstances there might be two mixed-up
netlink sessions (one for scan, the other for route change
request). This patch separates netlink scans and requests
to two fds (and seq counters).

This should fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428865
2009-04-17 18:43:11 +02:00
4d7d0cb137 Fixes minor bug in pipe.
Missing macro leads to not calling some of protocol's
callbacks.
2009-03-25 18:29:17 +01:00
3d574679b8 Fix bugs related to kernel table synchronization.
KRF_INSTALLED flag was not cleared during reconfiguration
that lead to not removing routes during reconfigure when
export rules changed.

We also should not try to remove routes we didi not installed,
on Linux this leads to warnings (as kernel checks route source
field and do not allow to remove non-bird routes) but we should
not rely on it.
2009-03-20 12:58:21 +01:00
cb53039271 Rate limit for most abundant log messages 2009-02-26 14:23:54 +01:00
11ec0f1a51 Fixes compilation on older systems.
Older kernel headers (the ones in Debian Sarge) does not
have __kernel_sockaddr_storage .
2009-01-16 12:49:51 +01:00
35164c5017 rx_hook may be cleaned in some callback so we check it before
executing sk_read().
2008-12-12 17:48:03 +01:00
35f983f889 Fixes segfault with multiple routing tables. 2008-11-21 18:17:03 +01:00
eac21b46f7 This is bug, isn't it? 2008-11-21 13:01:05 +01:00
fd91ae3325 Fix problem with local time changes. 2008-11-05 22:36:49 +01:00
1389f3699f Fixes bugs in IPv6 code caused by recent commits. 2008-11-05 21:39:04 +01:00
6c8102e3a8 Ignore messages related to wireless extensions. 2008-11-04 14:51:45 +01:00
a39b165e45 Multihop BGP was completely broken, because listening socket has always
ttl 1.
2008-11-01 16:58:40 +01:00
a98fbf0f12 Merge branch 'dev' into out 2008-10-27 00:20:22 +01:00
68fa95cfec Check of socket name length 2008-10-26 23:55:38 +01:00
4c94a6c7e7 Do not repeat 'Invalid broadcast address' error message.
'Invalid broadcast address' error is reported only once for
an interface and not during every interface scan.
2008-10-26 23:23:09 +01:00
d7f3b30649 Ignore unknown netlink events.
Bird sometimes reported 'bird: nl_parse_link: Malformed message received'.
The cause is that bird asynchronously received netlink packet from
wireless driver about some wireless event on its link layer. In that
case bird shouldn't complain.
2008-10-26 23:20:50 +01:00
1567edea8d Bugfix for routing table breaking bug.
Here is a patch fixing a bug that causes breakage of a local routing
table during shutdown of Bird. The problem was caused by shutdown
of 'device' protocol before shutdown of 'kernel' protocol.  When
'device' protocol went down, the route (with local network prefix)
From different protocol (BGP or OSPF) became preferred and installed
to the kernel routing table. Such routes were broken (like
192.168.1.0/24 via 192.168.1.2). I think it is also the cause
of problem reported by Martin Kraus.

The patch disables updating of kernel routing table during shutdown of
Bird. I am not sure whether this is the best way to fix it, I would
prefer to forbid 'kernel' protocol to overwrite routes with
'proto kernel'.

The patch also fixes a problem that during shutdown sometimes routes
created by Bird remained in the kernel routing table.
2008-10-26 23:09:46 +01:00
d51aa28190 Implementation of MD5 authentication of BGP sessions. 2008-10-26 22:42:39 +01:00
97c6fa02e0 Previous patch reverted. :-( 2008-08-25 12:06:20 +00:00
030e3a79cb Buffer overflow fix. 2008-08-25 11:57:46 +00:00
057021df0d Fix behavior of ipa_opposite().
It was giving wrong results on /30 networks.
2008-08-25 11:19:49 +00:00
3c3271d9fc Close fd of config file after reconfiguration. 2008-08-24 23:24:14 +00:00
8411a37e7d Detach from the TTY properly. 2007-06-20 07:33:26 +00:00
c81b4ec361 Yes, we will go for 1.0.12 2005-03-16 16:08:40 +00:00
028a4cfc02 Let's go for 1.0.11. 2005-02-20 04:28:55 +00:00
c025b85273 Real write is only in sk_maybe_write. Previous change partially reverted.
Thank you MJ.
2005-02-14 23:15:04 +00:00
7c49f71559 Added s->err_hook wrapper that empties socket. 2005-02-14 21:28:51 +00:00
030d3b387e Small changed to reduce the number of warnings. 2005-02-14 11:58:46 +00:00
75c1c58519 Yes, I'd like to go to 1.0.10 2005-02-14 11:37:40 +00:00
0d3effcf8c Time added in password management. 2005-02-12 22:27:55 +00:00
777acf91bb Everything is tested and works. I thins it's right time to go to 1.0.9. 2004-07-14 21:47:39 +00:00
09e4117cc1 sk_write bugfix for BSD. 2004-06-18 12:54:53 +00:00
b7e9c74cba Used parameter can be marked as unused. :-) Thanx MJ. 2004-06-07 16:51:23 +00:00
282997f21e Some new warnings eliminated. 2004-06-07 10:00:29 +00:00
19d9e30336 Marked unused parameters as unused. 2004-06-07 09:52:15 +00:00