| Branch: | Revision:

iof-bird-daemon / proto / bgp @ 7e95c05d

# Date Author Comment
7e95c05d 12/07/2010 10:33 PM Ondrej Zajicek

Core multipath support.

fcf5a4f4 11/03/2010 09:02 AM Ondrej Zajicek

Change default for BGP IPv6 socket to V6ONLY.

Also add a new option 'dual' for the old behavior.

ac4a1eed 08/13/2010 12:30 PM Ondrej Zajicek

Change default for handling missing link-local addresses on route servers.

265d06dc 08/04/2010 01:27 PM Ondrej Zajicek

Fixes IPv6 build.

d1e146f2 07/30/2010 11:04 PM Ondrej Zajicek

Implements IGP metric comparison for BGP routes.

ac3ac49a 07/28/2010 11:13 AM Ondrej Zajicek

Adds route resolvability test.

1b180121 07/28/2010 09:45 AM Ondrej Zajicek

Use link-local addresses in recursive next hops for IPv6 BGP.

852b7062 07/22/2010 01:09 PM Ondrej Zajicek

Fixes a buffer overflow in TX code of IPv6 BGP.

087cecd0 07/13/2010 10:48 AM Ondrej Zajicek

Adds some options and documentation related to recursive next hops.

9be9a264 07/12/2010 03:39 PM Ondrej Zajicek

Implements proper multihop BGP.

Also does some incompatible changes to config file syntax,
like removing 'via IP' from multihop option.

cfe34a31 07/05/2010 03:50 PM Ondrej Zajicek

Implements hostcache and recursive next hops.

Hostcache is a structure for monitoring changes in a routing table that
is used for routes with dynamic/recursive next hops. This is needed for
proper iBGP next hop handling.

a34b0934 05/31/2010 09:35 AM Ondrej Zajicek

Disable BGP protocol when cannot open listening socket.

47597724 05/14/2010 02:54 PM Ondrej Zajicek

Handle EPIPE as a common connection close event.

506fa1a7 05/02/2010 08:41 PM Ondrej Zajicek

Merge several fixes suggested by Joakim Tjernlund.

6b5a8649 04/08/2010 03:56 PM Ondrej Zajicek

Do not export empty community list attribute in BGP.

b8113a5e 04/06/2010 10:19 PM Ondrej Zajicek

Implements BGP 'show protocols' info details.

126683fe 03/29/2010 05:29 PM Ondrej Zajicek

Filter language updates; new route attributes and datatype.

- Adds bgp_originator_id and bgp_cluster_list route attributes.
- Adds dotted quad filter datatype (for router IDs, used by
bgp_originator_id and ospf_router_id route attributes).
- Fixes pair ~ pair set matching....
3075824d 02/26/2010 01:09 PM Ondrej Zajicek

Comparing cluster list length should be later in bgp_rte_better().

ff2857b0 02/26/2010 09:55 AM Ondrej Zajicek

Many changes in (mainly) kernel syncers.

- BSD kernel syncer is now self-conscious and can learn alien routes
- important bugfix in BSD kernel syncer (crash after protocol restart)
- many minor changes and bugfixes in kernel syncers and neighbor cache
- direct protocol does not generate host and link local routes...

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

89534cda 02/20/2010 08:14 PM Ondrej Filip

'rr client id' is not expression but ID (like router id).

dca75fd7 02/13/2010 11:26 AM Ondrej Zajicek

Removes phantom protocol from the pipe design.

It seems that by adding one pipe-specific exception to route
announcement code and by adding one argument to rt_notify() callback i
could completely eliminate the need for the phantom protocol instance
and therefore make the code more straightforward. It will also fix some...

a2ea1bac 02/11/2010 08:19 PM Ondrej Zajicek

Moves errno.h include.

2af25a97 02/11/2010 10:12 AM Ondrej Zajicek

Fixes a crash caused by missing error hook on BGP listening socket.

Error happened when too many BGP connections arrived in one moment

44f26560 02/02/2010 09:14 AM Ondrej Zajicek

Workaround for some broken BGP implementations that skip initial KEEPALIVE.

41677025 01/28/2010 02:59 PM Ondrej Zajicek

Changes 'ignore communities' to 'interpret communities'.

6cb8f742 01/27/2010 04:22 PM Ondrej Zajicek

Better handling of well-known communities.

Process well-known communities before the export filter (old behavior is
to process these attributes after, which does not allow to send route
with such community) and just for routes received from other BGP
protocols. Also fixes a bug in next_hop check.

cf31112f 01/03/2010 11:17 AM Ondrej Zajicek

Implements MRTdump feature.

fbcb7d5f 12/21/2009 10:50 AM Ondrej Zajicek

Change default LOCAL_PREF attribute to 100 (suggested value by RFC 4277).

0225ea4e 12/14/2009 11:32 PM Ondrej Zajicek

Merge branch 'ospf3' into new

f2d7da74 12/14/2009 11:30 PM Ondrej Zajicek

Fixes export of routes with link-local gw.

43c1cecc 12/14/2009 10:31 PM Ondrej Zajicek

Remove bgp_as4_support variable.

bf47fe4b 11/26/2009 07:47 PM Ondrej Zajicek

Implements BGP route refresh.

3f9b7bfe 11/18/2009 07:32 PM Ondrej Zajicek

Implements option that controls IPv6 BGP next hops when lladdr is missing.

d0e2d6d1 11/17/2009 01:17 PM Ondrej Zajicek

Show both IPv6 next hop addresses in BGP.

3228c72c 11/17/2009 10:41 AM Ondrej Zajicek

Implements RFC 5004 - prefer older external routes.

4cdd0784 10/12/2009 09:31 PM Ondrej Zajicek

Implements protocol-specific router id and updates documentation.

52b9b2a1 10/12/2009 06:44 PM Ondrej Zajicek

Rename as_path_get_last/as_path_get_first to be consistent.

ea89da38 10/11/2009 04:56 PM Ondrej Zajicek

Workaround for stupid callback scheduler.

There is no reak callback scheduler and previous behavior causes
bad things during hard congestion (like BGP hold timeouts).

Smart callback scheduler is still missing, but main loop was
changed such that it first processes all tx callbacks (which...

a5bf5f78 09/24/2009 09:14 PM Ondrej Zajicek

Show bad peer AS number in log in decimal.

be6e39eb 09/24/2009 08:12 PM Ondrej Zajicek

Passive option.

54fe0d92 09/18/2009 11:59 AM Ondrej Zajicek

Fixes setting of IP addresses to route attributes (NEXT_HOP).

46eb80d5 09/17/2009 03:52 PM Ondrej Zajicek

Fixes headers for uintptr_t (and build on NetBSD).

05198c12 08/27/2009 05:01 PM Ondrej Zajicek

Some cleanups.

949bd34e 08/25/2009 05:01 PM Ondrej Zajicek

Fixes bug related to AS2->AS4 conversion.

70670bf3 07/09/2009 01:42 PM Ondrej Zajicek

Fixed bug related to reconfiguration of BGP with MD5 passwords.

d72cdff4 06/23/2009 09:08 AM Ondrej Zajicek

Replace 'bind' option with 'listen' option.

To be consistent with other daemons.

da95a7a7 06/23/2009 09:00 AM Ondrej Zajicek

Fixes bug in ORIGIN check.

29c430f8 06/23/2009 08:50 AM Ondrej Zajicek

Changes handling of AS_PATH_CONFED_* segments in AS_PATH.

Although standard says that if we receive AS_PATH_CONFED_*
(and we are not a part of a confederation) segment, we should
drop session, nobody does that and it is unwise to do that.

Now we drop session just in case that peer ASN is in...

789772ed 06/18/2009 05:20 PM Ondrej Zajicek

Implements option that changes BGP listening socket parametres.

b99d3786 06/06/2009 10:38 PM Ondrej Zajicek

Minor BGP changes related to error wait time.

72382626 06/06/2009 04:56 PM Ondrej Zajicek

Fixes bug related to startup delay change.

dd91e467 06/06/2009 04:16 PM Ondrej Zajicek

Differentiate between error delay and connect/reconnect delay.

The difference is here to reject incoming connections in the
first case.

72b28a04 06/04/2009 11:31 AM Ondrej Zajicek

Implements import route limits.

f98e2915 06/01/2009 12:07 PM Ondrej Zajicek

The pipe cleanup.

23ac9e9a 05/31/2009 01:24 PM Ondrej Zajicek

Changes pipes to transfer all routes between routing table, not just optimal routes.

10ab65a8 05/06/2009 01:18 PM Ondrej Zajicek

Fixes one recently introduced IPv6 BGP compatibility problem.

b7a735ea 04/29/2009 08:17 PM Ondrej Zajicek

Allow 'third party' BGP updates for originated routes.

4827b69f 04/29/2009 04:58 PM Ondrej Zajicek

Fixes BGP IPv6 link local next hop handling.

When sending 'third party' BGP update, Bird used bogus link local
addresses instead of addresses it received before.

ad440a57 04/28/2009 04:11 PM Ondrej Zajicek

Fixes handling of 'next hop self' and 'source address' configuration

64cf11f5 04/23/2009 09:15 PM Ondrej Zajicek

Fixes BGPv6 bug - missing endianity conversion.

Also removes code skipping SNPAs
(obsoleted by newer RFCs, should be ignored).

f307842a 04/23/2009 12:44 PM Ondrej Zajicek

Fixes BGPv6 bug - mandatory attributes weren't validated;

8f0c887a 04/23/2009 12:16 PM Ondrej Zajicek

Fixe bug in BGPv6 that causes to send invalid network withdraws.

b9539e78 04/23/2009 10:36 AM Ondrej Zajicek

Fixes bug in BGPv6 causing crash by checking missing attributes.

48d79d52 03/18/2009 07:30 PM Ondrej Zajicek

Better handling of AS4 optional attribute errors

AS4 optional attribute errors were handled by session
drop (according to BGP RFC). This patch implements
error handling according to new BGP AS4 draft (*)
- ignoring invalid AS4 optional attributes.


e8ba557c 03/13/2009 11:49 AM Ondrej Zajicek

Update capability handshake options

Add 'capabilities' option, change default behavior to advertise ipv4,
add some checks and ignore incoming capabilities when capabilities
are disabled.

e3299ab1 03/05/2009 10:52 AM Ondrej Zajicek

Added Cisco and Quagga capability workaround option.

82a79586 02/27/2009 02:24 PM Ondrej Zajicek

Better handling of too long attributes

This patch extends the length for attributes from 1024 to 2048
(because both AS_PATH and AS4_PATH attributes take 2+4 B per AS).

If there is not enough space for attributes, Bird skips that
route group. Old behavior (skipping remaining attributes)...

cb530392 02/26/2009 01:23 PM Ondrej Zajicek

Rate limit for most abundant log messages

cd17c651 02/21/2009 04:47 PM Ondrej Zajicek

Add format for BGP_AGGREGATOR attribute

165a6227 12/24/2008 04:24 PM Ondrej Zajicek

Adds support for fallback to capabilityless BGP connect

When capability related error is received, next connect will be
without capabilities. Also cease error subcodes descriptions
(according to [RFC4486]) are added.

59121155 12/24/2008 11:18 AM Ondrej Zajicek

Fixes bug related to reconfiguration of BGP.

BGP keeps its copy of configuration ptr and didn't update it during
reconfiguration. But old configuration is freed during reconfiguration.
That leads to unnecessary reset of BGP connection during reconfiguration...

11b32d91 12/19/2008 12:34 AM Ondrej Zajicek

Major changes to BGP

Fixes two race conditions causing crash of Bird, several unhandled
cases during BGP initialization, and some other bugs. Also changes
handling of startup delay to be more useful and implement
reporting of last error in 'show protocols' command.

aebe06b4 11/08/2008 10:33 PM Ondrej Zajicek

Proper format functions for ORIGINATOR_ID, CLUSTER_LIST

1389f369 11/05/2008 08:39 PM Ondrej Zajicek

Fixes bugs in IPv6 code caused by recent commits.

a39b165e 11/01/2008 03:58 PM Ondrej Zajicek

Multihop BGP was completely broken, because listening socket has always
ttl 1.

a92fe607 11/01/2008 11:55 AM Ondrej Zajicek

Implementation of route server.

e16466b3 10/29/2008 01:16 PM Ondrej Zajicek

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...

b6bf284a 10/26/2008 09:59 PM Ondrej Zajicek

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...
4819c3e1 10/26/2008 09:54 PM Ondrej Zajicek

Bugfix in LOCAL_PREF attribute handling.

ba5ed6f3 10/26/2008 09:48 PM Ondrej Zajicek

Implementation of an option for disabling AS4 support per BGP instance.

4847a894 10/26/2008 09:45 PM Ondrej Zajicek

Implementation of route reflection for BGP

d51aa281 10/26/2008 09:42 PM Ondrej Zajicek

Implementation of MD5 authentication of BGP sessions.

11cb6202 10/26/2008 09:36 PM Ondrej Zajicek

Implementation of 4B ASN support for BGP

85ae398a 08/24/2008 11:20 PM Ondrej Filip

The source address configuration in BGP added.

98ac6176 06/25/2004 04:39 PM Ondrej Filip

A lot of changes:
- metric is 3 byte long now
- summary lsa originating
- more OSPF areas possible
- virtual links
- better E1/E2 routes handling
- some bug fixes..

I have to do:
- md5 auth (last mandatory item from rfc2328)
- !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs)...

9831e591 06/05/2004 09:58 AM Martin Mares

Staticized lots of local functions.

e21423ba 06/05/2004 09:27 AM Martin Mares

... in BGP.

7fdd338c 06/01/2004 10:28 AM Ondrej Filip


38a608c5 05/31/2004 09:48 PM Martin Mares

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....

6a57bb31 05/31/2004 08:57 PM Martin Mares

Killed a couple of unused variables.

We really should compile with warnings enabled.

6ea8ca14 02/23/2003 10:22 AM Martin Mares

Updated a comment.

11d4474c 02/22/2003 10:47 PM Martin Mares

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...

8c92bf6a 02/22/2003 10:40 AM Martin Mares

Temporary fix for BGP protocol capability announcement for IPv6 mode.

60a72ed4 02/22/2003 10:25 AM Martin Mares

Fixed length check miscalculation in IPv6 receive path.

7d875e09 11/13/2002 08:47 AM Martin Mares

Added missing includes.

de10a974 11/13/2002 08:46 AM Martin Mares

Added missing semicolons.

bcbdcbb6 06/20/2000 07:49 AM Martin Mares

Don't accept incoming connections when the neighbor is not up.

58f7d004 06/07/2000 01:25 PM Martin Mares

Fixes to the progdoc.

2e9b2421 06/07/2000 12:29 PM Martin Mares

Spelling fixes to progdoc.