Statistics
| Branch: | Revision:

iof-bird-daemon / proto / bgp @ a2ea1bac

# Date Author Comment
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
(ECONNABORTED).

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

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.

(*) http://www.ietf.org/internet-drafts/draft-chen-rfc4893bis-02.txt

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

ALIGN -> BIRD_ALIGN

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.

54e55169 06/04/2000 05:06 PM Martin Mares

BGP documented.

bc00185e 06/01/2000 01:00 PM Martin Mares

Updated to new neighbor cache.

fcb5f4a7 05/31/2000 11:30 AM Martin Mares

Updated all the Doc files to new format.

7294f68b 05/29/2000 10:08 PM Martin Mares

`path metric' and `disable after error' are switches, not numeric clauses.

d2a7c0e9 05/19/2000 06:05 PM Martin Mares

Don't print trace messages about null updates.

5e88d730 05/19/2000 11:01 AM Martin Mares

BGP now reports originating AS and origin type in get_route_info().

f4ab2317 05/15/2000 12:19 PM Martin Mares

bgp_get_status: If protocol is down, don't print BGP state.

e3f2d5fc 05/15/2000 11:48 AM Martin Mares

Cleanup of configuration.

o Use `expr' instead of `NUM' and `ipa' instead of `IPA',
so that defined symbols work everywhere.
o `define' now accepts both numbers and IP addresses.
o Renamed `ipa' in filters to `fipa'.

Pavel, please update filters to accept define'd symbols as well.

02bd064a 05/13/2000 11:02 AM Martin Mares

Adapted to new rt_notify semantics.

2138d3b4 05/11/2000 12:20 PM Martin Mares

Use correct flags for the LOCAL_PREF attribute.

When an invalid attribute is found, copy the entire attribute to the data
section of the NOTIFICATION message.

c09d1e8d 05/08/2000 10:32 PM Martin Mares

KEEPALIVE TIME ought to set keepalive time, not connect retry time :)

0c3588bf 05/08/2000 02:53 PM Martin Mares

Don't crash when the socket gets closed between updates.

Also, this time not only update `remains', but update it right :)

9ff8f334 05/08/2000 02:32 PM Martin Mares

Update `remains' counter correctly.

93d6bf38 05/08/2000 01:26 PM Martin Mares

The bgp_list is gone. Incomming connections are now handled in a much
more straightforward manner by scanning the active configuration for
matching protocols.

507eea4c 05/08/2000 12:37 PM Martin Mares

Don't generate corrupted packets when sending only route deletes.

79681f4a 05/08/2000 11:04 AM Martin Mares

Link the instance to the global BGP list as soon as possible.

acfce55c 05/07/2000 10:41 AM Martin Mares

Setup of incoming connection is now a separate function.

ab1129c1 05/05/2000 05:17 PM Martin Mares

Added skeleton Doc files for the whole developer's documentation.

beaf86e1 05/04/2000 09:23 PM Martin Mares

Removed RTS_RIP_EXT.

2a149b18 05/04/2000 08:38 PM Martin Mares

Unused variables in IPv6 code.

93a786cb 05/04/2000 08:30 PM Martin Mares

Removed a lot of unused variables.

Please try compiling your code with --enable-warnings to see them. (The
unused parameter warnings are usually bogus, the unused variable ones
are very useful, but gcc is unable to control them separately.)

cf3d6470 05/04/2000 08:02 PM Martin Mares

IPv6 BGP support finished. Also simplified the BGP stuff a bit.