Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (30 KB)

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

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.

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

Implements BGP 'show protocols' info details.

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

Fix configure to enable warnings and fix most of them.

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

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

Implements MRTdump feature.

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.

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

Implements protocol-specific router id and updates documentation.

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

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

Passive option.

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.

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.

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

Changes pipes to transfer all routes between routing table, not just optimal 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.

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.

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.

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.

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

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.

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.

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

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

Added missing includes.

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.

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.

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.

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.

53943a00 05/02/2000 04:10 PM Martin Mares

Defined format specifier `%M' which behaves as `%m', but takes the
error code as an argument.

Use it in socket hooks where we really shouldn't rely on errno containing
the right value or even existing.

85368cd4 05/02/2000 04:07 PM Martin Mares

Full protocol tracing.

9165888a 04/27/2000 07:41 PM Martin Mares

Handle connect errors correctly.

5db9bae2 04/26/2000 01:26 PM Martin Mares

IBGP fixes.

6fd766c1 04/25/2000 11:08 PM Martin Mares

Implemented automatic restart after error with all the timers needed.

b3155b33 04/25/2000 10:01 PM Martin Mares

Randomize timers properly.

42532f08 04/25/2000 09:58 PM Martin Mares

Support dynamic reconfiguration.

efcece2d 04/25/2000 09:13 PM Martin Mares

Better reporting of both local and remote errors.

8b258e4e 04/21/2000 01:01 PM Martin Mares

LOCAL_PREF is now always present and exported over all ibgp connections [draft]

Allow setting of address of the local end of the TCP connection.

Several bug fixes.

e0d6a7bd 04/19/2000 01:28 PM Martin Mares

Delay fetching of router ID.

035044b1 04/19/2000 12:51 PM Martin Mares

Select the right source address and don't check port numbers.

48e842cc 04/10/2000 11:21 AM Martin Mares

Use neighbor cache to track direct route to the peer or multihop destination.

Calculate next_hop properly based on the local address we get from the
neighbor entry.

ef2c708d 04/09/2000 10:05 PM Martin Mares

More BGP progress...

For Pavel: You can use bgp_path_prepend() for prepending AS numbers to AS paths.

10be74da 04/01/2000 10:21 AM Martin Mares

Formatting of dynamic attributes (except for paths and communities which
will be added soon).

f8809249 04/01/2000 09:17 AM Martin Mares

BGP now handles incoming routes (IPv4 only).

c00d31be 03/31/2000 11:21 PM Martin Mares

Parsing of BGP attributes.

973399ae 03/30/2000 06:44 PM Martin Mares

Basic analysis of UPDATE packets.

b552ecc4 03/30/2000 05:39 PM Martin Mares

Connection state machine works.

3fdbafb6 03/30/2000 10:44 AM Martin Mares

More BGP. This time it connects, but the state machine still isn't complete.

72a6ef11 03/21/2000 03:53 PM Martin Mares

Construction of BGP packets.

c01e3741 03/20/2000 09:50 PM Martin Mares

Started work on BGP. Wrote main part of the connection handling code.

2638249d 03/19/2000 10:09 PM Martin Mares

Bare skeleton of the BGP.