]>
git.ipfire.org Git - thirdparty/bird.git/log
Ondrej Zajicek [Wed, 29 Oct 2008 13:16:34 +0000 (14:16 +0100)]
Fix race condition that breaks BGP connections after reconfigure.
RFC says that only connections in OpenConfirm and Established state
should participate in connection collision detection.
The current implementation leads to race condition when both sides
are trying to connect at the almost same time, then both sides
receive OPEN message by different connections at the almost same
time and close the other connection. Both connections are
closed and the both sides end in start/idle or start/active
state.
Ondrej Zajicek [Tue, 28 Oct 2008 15:10:42 +0000 (16:10 +0100)]
Ondrej Zajicek [Sun, 26 Oct 2008 23:20:22 +0000 (00:20 +0100)]
Merge branch 'dev' into out
Ondrej Zajicek [Sun, 26 Oct 2008 23:03:30 +0000 (00:03 +0100)]
Two new informative CLI commands for OSPF.
Two new CLI commands for OSPF giving nice informative (and still machine
parsable) representation of OSPF network graph (based on datas from the
LSA database).
The first command (show ospf topology) shows routers, networks and stub
networks, The second command (show ospf state) shows also external
routes and area-external networks and routers propagated by given area
boundary router.
Ondrej Zajicek [Sun, 26 Oct 2008 22:55:38 +0000 (23:55 +0100)]
Check of socket name length
Ondrej Zajicek [Sun, 26 Oct 2008 22:53:05 +0000 (23:53 +0100)]
Missing newline.
Ondrej Zajicek [Sun, 26 Oct 2008 22:43:13 +0000 (23:43 +0100)]
Bugfix in LSA origination for PTP OSPF links.
The code generating LSAs for PTP OSPF links is buggy. The old behavior
is that it generates PTP link if there is a full/ptp neighbor and stub
link if there isn't. According to RFC 2328, the correct behavior is to
generate stub link in both cases (in the first case together with PTP
link).
And because of buggy detection of unnumbered networks, for numbered
networks the code creates stub links with 0.0.0.0/32.
Ondrej Zajicek [Sun, 26 Oct 2008 22:23:09 +0000 (23:23 +0100)]
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.
Ondrej Zajicek [Sun, 26 Oct 2008 22:20:50 +0000 (23:20 +0100)]
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.
Ondrej Zajicek [Sun, 26 Oct 2008 22:09:46 +0000 (23:09 +0100)]
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.
Ondrej Zajicek [Sun, 26 Oct 2008 21:59:21 +0000 (22:59 +0100)]
Bugfixes in MULIT_EXIT_DISC attribute handling.
- Old MED handling was completely different from behavior
specified in RFCs - for example they havn't been propagated
to neighboring areas.
- Update tie-breaking according to RFC 4271.
- Change default value for 'default bgp_med' configuration
option according to RFC 4271.
Ondrej Zajicek [Sun, 26 Oct 2008 21:54:23 +0000 (22:54 +0100)]
Bugfix in LOCAL_PREF attribute handling.
Ondrej Zajicek [Sun, 26 Oct 2008 21:52:21 +0000 (22:52 +0100)]
Update of a documentation - new options for AS4, MD5 auth and route reflection.
Ondrej Zajicek [Sun, 26 Oct 2008 21:48:02 +0000 (22:48 +0100)]
Implementation of an option for disabling AS4 support per BGP instance.
Ondrej Zajicek [Sun, 26 Oct 2008 21:45:09 +0000 (22:45 +0100)]
Implementation of route reflection for BGP
Ondrej Zajicek [Sun, 26 Oct 2008 21:42:39 +0000 (22:42 +0100)]
Implementation of MD5 authentication of BGP sessions.
Ondrej Zajicek [Sun, 26 Oct 2008 21:36:08 +0000 (22:36 +0100)]
Implementation of 4B ASN support for BGP
Martin Mares [Sun, 26 Oct 2008 13:14:37 +0000 (14:14 +0100)]
The top-level Makefile is a generated file, so remove it from the repo.
Martin Mares [Sun, 26 Oct 2008 13:11:06 +0000 (14:11 +0100)]
Updated version number in the README.
Ondrej Filip [Mon, 25 Aug 2008 12:51:06 +0000 (12:51 +0000)]
Expand ospf dump information.
Ondrej Filip [Mon, 25 Aug 2008 12:06:20 +0000 (12:06 +0000)]
Previous patch reverted. :-(
Ondrej Filip [Mon, 25 Aug 2008 12:00:55 +0000 (12:00 +0000)]
Endianity problem in debug message fix.
Ondrej Filip [Mon, 25 Aug 2008 11:57:46 +0000 (11:57 +0000)]
Buffer overflow fix.
Martin Mares [Mon, 25 Aug 2008 11:19:49 +0000 (11:19 +0000)]
Fix behavior of ipa_opposite().
It was giving wrong results on /30 networks.
Martin Mares [Mon, 25 Aug 2008 11:14:14 +0000 (11:14 +0000)]
Updated config.{guess,sub} to a recent version.
Patch from the Debian package.
Ondrej Filip [Sun, 24 Aug 2008 23:24:14 +0000 (23:24 +0000)]
Close fd of config file after reconfiguration.
Ondrej Filip [Sun, 24 Aug 2008 23:20:46 +0000 (23:20 +0000)]
The source address configuration in BGP added.
Ondrej Filip [Wed, 20 Jun 2007 12:32:39 +0000 (12:32 +0000)]
New version of flex needs argument separated.
Martin Mares [Wed, 20 Jun 2007 07:33:26 +0000 (07:33 +0000)]
Detach from the TTY properly.
Ondrej Filip [Wed, 16 Mar 2005 16:09:28 +0000 (16:09 +0000)]
Again back to regina.gin.cz.
Ondrej Filip [Wed, 16 Mar 2005 16:08:40 +0000 (16:08 +0000)]
Yes, we will go for 1.0.12
Ondrej Filip [Tue, 15 Mar 2005 23:42:41 +0000 (23:42 +0000)]
Small bugfix in tracing.
Ondrej Filip [Tue, 15 Mar 2005 22:06:36 +0000 (22:06 +0000)]
Added new parametr 'rx buffer <num>'. BIRD is able to receive
very large packets (if configured).
Ondrej Filip [Tue, 15 Mar 2005 20:51:33 +0000 (20:51 +0000)]
Maximal packet size in virtual links is 576.
Ondrej Filip [Mon, 14 Mar 2005 11:24:56 +0000 (11:24 +0000)]
OSPF can accept larger packets than MTU.
Ondrej Filip [Mon, 14 Mar 2005 11:07:10 +0000 (11:07 +0000)]
Look for large packets.
Ondrej Filip [Mon, 14 Mar 2005 10:59:52 +0000 (10:59 +0000)]
Bugfix in external routes calculation.
Ondrej Filip [Mon, 21 Feb 2005 14:06:22 +0000 (14:06 +0000)]
Small typos in documentation.
Ondrej Filip [Mon, 21 Feb 2005 10:22:57 +0000 (10:22 +0000)]
Ftp server change.
Ondrej Filip [Mon, 21 Feb 2005 10:04:37 +0000 (10:04 +0000)]
Change of ftp servers.
Ondrej Filip [Sun, 20 Feb 2005 19:03:34 +0000 (19:03 +0000)]
Unused code deleted.
Ondrej Filip [Sun, 20 Feb 2005 18:56:06 +0000 (18:56 +0000)]
Cleanup - all unused variables deleted.
Ondrej Filip [Sun, 20 Feb 2005 17:04:00 +0000 (17:04 +0000)]
Some tasks are fulfilled. :-)
Ondrej Filip [Sun, 20 Feb 2005 16:54:09 +0000 (16:54 +0000)]
Intelligent reconfiguration should work again.
Ondrej Filip [Sun, 20 Feb 2005 16:53:06 +0000 (16:53 +0000)]
Originate default route into stub areas.
Ondrej Filip [Sun, 20 Feb 2005 04:28:55 +0000 (04:28 +0000)]
Let's go for 1.0.11.
Ondrej Filip [Sun, 20 Feb 2005 04:27:56 +0000 (04:27 +0000)]
Since now I can also use 'dead interval', not just 'dead counter'.
Ondrej Filip [Sun, 20 Feb 2005 03:37:47 +0000 (03:37 +0000)]
Bugfix - count courrectly next hop on single hop virtual link.
Ondrej Filip [Sun, 20 Feb 2005 03:30:44 +0000 (03:30 +0000)]
Time of neighbor's dead was not shown correctly.
Ondrej Filip [Fri, 18 Feb 2005 19:36:32 +0000 (19:36 +0000)]
Bugfix in previous bugfix.
Ondrej Filip [Fri, 18 Feb 2005 18:51:42 +0000 (18:51 +0000)]
Minor bugfix: Summary LSA for aggregated area was always propagated with
metric = 1. Now it's metric of most distant component.
Ondrej Filip [Tue, 15 Feb 2005 16:17:42 +0000 (16:17 +0000)]
Minor bugfixes in routing table calsulation.
Ondrej Filip [Tue, 15 Feb 2005 06:32:31 +0000 (06:32 +0000)]
Minor changes to keep gcc happy.
Ondrej Filip [Mon, 14 Feb 2005 23:15:04 +0000 (23:15 +0000)]
Real write is only in sk_maybe_write. Previous change partially reverted.
Thank you MJ.
Ondrej Filip [Mon, 14 Feb 2005 21:34:46 +0000 (21:34 +0000)]
Be more verbose in log.
Ondrej Filip [Mon, 14 Feb 2005 21:28:51 +0000 (21:28 +0000)]
Added s->err_hook wrapper that empties socket.
Ondrej Filip [Mon, 14 Feb 2005 11:58:46 +0000 (11:58 +0000)]
Small changed to reduce the number of warnings.
Ondrej Filip [Mon, 14 Feb 2005 11:54:16 +0000 (11:54 +0000)]
Small changes to reduce number of warnings.
Ondrej Filip [Mon, 14 Feb 2005 11:37:40 +0000 (11:37 +0000)]
Yes, I'd like to go to 1.0.10
Ondrej Filip [Sun, 13 Feb 2005 23:36:31 +0000 (23:36 +0000)]
Many bugfixes in routing table calculation and summary LSA origination.
Ondrej Filip [Sat, 12 Feb 2005 22:27:55 +0000 (22:27 +0000)]
Time added in password management.
Ondrej Filip [Sat, 12 Feb 2005 22:22:18 +0000 (22:22 +0000)]
Bugfix in inter-area route calculation and summary LSA origination.
Bugfix of some debugging commands.
Ondrej Filip [Sat, 12 Feb 2005 22:19:46 +0000 (22:19 +0000)]
Bugfix in password acceptance
Ondrej Filip [Sat, 12 Feb 2005 22:18:48 +0000 (22:18 +0000)]
Bugfix - cost of interface can be larger than 0xffff
Ondrej Filip [Wed, 15 Sep 2004 19:33:01 +0000 (19:33 +0000)]
Dont check netmask field on PTP links.
Ondrej Filip [Wed, 8 Sep 2004 16:06:07 +0000 (16:06 +0000)]
sort from GNU coreutils 5.2.1 doesn't accept the +- syntax
anymore. Hopefully the -k syntax is supported by all other
sort versions
Ondrej Filip [Wed, 8 Sep 2004 16:04:02 +0000 (16:04 +0000)]
Bugfix.
Martin Mares [Thu, 19 Aug 2004 09:15:36 +0000 (09:15 +0000)]
Do not forget to propagate LDFLAGS from configure. Allows static linking,
among other things.
Ondrej Filip [Tue, 10 Aug 2004 17:47:32 +0000 (17:47 +0000)]
Bugfix in config.y
Ondrej Filip [Thu, 5 Aug 2004 18:06:30 +0000 (18:06 +0000)]
Bugfix in OSPF - BIRD sometimes failed during rt calculation with VLINKs.
Ondrej Filip [Mon, 2 Aug 2004 22:38:43 +0000 (22:38 +0000)]
Some more TODOs for OSPF.
Ondrej Filip [Fri, 16 Jul 2004 08:27:11 +0000 (08:27 +0000)]
Added handling of STUB bool.
Ondrej Filip [Fri, 16 Jul 2004 08:01:32 +0000 (08:01 +0000)]
Typo.
Ondrej Filip [Fri, 16 Jul 2004 07:22:43 +0000 (07:22 +0000)]
Bugfix - bird needed double ';' after rfc1583compat.
Ondrej Filip [Thu, 15 Jul 2004 19:46:52 +0000 (19:46 +0000)]
Added note about *BSD.
Ondrej Filip [Thu, 15 Jul 2004 17:58:07 +0000 (17:58 +0000)]
News update to 1.0.9.
Ondrej Filip [Thu, 15 Jul 2004 17:28:13 +0000 (17:28 +0000)]
Minor bugfix to compile bird in IPv6.
Ondrej Filip [Thu, 15 Jul 2004 16:48:12 +0000 (16:48 +0000)]
Minor bugfix - add interface routes.
Ondrej Filip [Thu, 15 Jul 2004 16:42:06 +0000 (16:42 +0000)]
Minor bugfix in calculation of external routes.
Ondrej Filip [Thu, 15 Jul 2004 16:37:52 +0000 (16:37 +0000)]
Huge OSPF database redesign. Since now, all LSAs of all areas
are in single database. This avoids duplication of external LSAs and
fixes bug in external LSA distribution.
Ondrej Filip [Wed, 14 Jul 2004 21:47:39 +0000 (21:47 +0000)]
Everything is tested and works. I thins it's right time to go to 1.0.9.
Ondrej Filip [Wed, 14 Jul 2004 21:46:20 +0000 (21:46 +0000)]
Multiple OSPF areas can be attached.
Origination of summary LSA works.
Routing table calculation works.
Virtual links works.
Well, I hope, OSPF is fully compatible with RFC2328!!!!
Ondrej Filip [Tue, 13 Jul 2004 23:42:14 +0000 (23:42 +0000)]
Send hello just after interface is up.
This makes the adjacency forming faster.
Minor code clean up.
Ondrej Filip [Tue, 13 Jul 2004 23:31:37 +0000 (23:31 +0000)]
Send hello as soon as possible after the interface is up.
This helps to faster establish the adjacency.
Ondrej Filip [Tue, 13 Jul 2004 22:10:14 +0000 (22:10 +0000)]
Add more reasonable options to LSAs. (But it seems, that it's ignored.)
Ondrej Filip [Tue, 13 Jul 2004 22:04:57 +0000 (22:04 +0000)]
Bugfix: Router was unable to advertise AS external routes.
Ondrej Filip [Tue, 13 Jul 2004 21:27:33 +0000 (21:27 +0000)]
Default tick = 1. The today's CPU is fast enough.
Ondrej Filip [Tue, 13 Jul 2004 21:22:32 +0000 (21:22 +0000)]
Don't inform us about every ospf_age()
Ondrej Filip [Tue, 13 Jul 2004 20:53:56 +0000 (20:53 +0000)]
Bugfix - RIP now updates routes with worse metric.
Ondrej Filip [Tue, 13 Jul 2004 14:46:14 +0000 (14:46 +0000)]
MD5 authentication in OSPF works. :-)
Ondrej Filip [Tue, 13 Jul 2004 13:52:54 +0000 (13:52 +0000)]
Bugfix in simple authentification.
Ondrej Filip [Tue, 13 Jul 2004 12:21:24 +0000 (12:21 +0000)]
Bugfix - nasty bug in router LSA origination - Router did not describe all interfaces.
Ondrej Filip [Tue, 13 Jul 2004 11:58:50 +0000 (11:58 +0000)]
Bugfix - options bits were not included in LSAs
Bugfix - E bit was not unset on stub areas.
Ondrej Filip [Thu, 8 Jul 2004 16:56:49 +0000 (16:56 +0000)]
Syntax bugfix.
Ondrej Filip [Thu, 1 Jul 2004 15:01:44 +0000 (15:01 +0000)]
Length calculation bugfix.
Ondrej Filip [Thu, 1 Jul 2004 15:01:26 +0000 (15:01 +0000)]
Password WALK_LIST bugfix.
Ondrej Filip [Thu, 1 Jul 2004 15:01:04 +0000 (15:01 +0000)]
Hello reading bugfix.
Ondrej Filip [Sat, 26 Jun 2004 22:52:39 +0000 (22:52 +0000)]
Update of the documentation. (passwords and md5).
Option for md5 auth in config.
Ondrej Filip [Sat, 26 Jun 2004 20:15:34 +0000 (20:15 +0000)]
Md5 authentification added (unsested).
Packet receiving clean up.
Ondrej Filip [Sat, 26 Jun 2004 20:11:14 +0000 (20:11 +0000)]
Password management redesigned (untested).