summaryrefslogtreecommitdiffstats
path: root/proto/bgp
AgeCommit message (Collapse)Author
2008-12-24Fixes bug related to reconfiguration of BGP.Ondrej Zajicek
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 (old conf is corrupted and therefore different) and possibly other strange behavior.
2008-12-19Major changes to BGPOndrej Zajicek
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.
2008-11-08Proper format functions for ORIGINATOR_ID, CLUSTER_LISTOndrej Zajicek
2008-11-05Fixes bugs in IPv6 code caused by recent commits.Ondrej Zajicek
2008-11-01Multihop BGP was completely broken, because listening socket has alwaysOndrej Zajicek
ttl 1.
2008-11-01Implementation of route server.Ondrej Zajicek
2008-10-29Fix race condition that breaks BGP connections after reconfigure.Ondrej Zajicek
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.
2008-10-26Bugfixes in MULIT_EXIT_DISC attribute handling.Ondrej Zajicek
- 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.
2008-10-26Bugfix in LOCAL_PREF attribute handling.Ondrej Zajicek
2008-10-26Implementation of an option for disabling AS4 support per BGP instance.Ondrej Zajicek
2008-10-26Implementation of route reflection for BGPOndrej Zajicek
2008-10-26Implementation of MD5 authentication of BGP sessions.Ondrej Zajicek
2008-10-26Implementation of 4B ASN support for BGPOndrej Zajicek
2008-08-25The source address configuration in BGP added.Ondrej Filip
2004-06-25A lot of changes:Ondrej Filip
- 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) - 2328 appendig E
2004-06-05Staticized lots of local functions.Martin Mares
2004-06-05... in BGP.Martin Mares
2004-06-01ALIGN -> BIRD_ALIGNOndrej Filip
2004-05-31Rewritten the I/O loop. All socket operations are now safe, meaning thatMartin Mares
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. sk_close() is gone, use rfree() instead.
2004-05-31Killed a couple of unused variables.Martin Mares
We really should compile with warnings enabled.
2003-02-23Updated a comment.Martin Mares
2003-02-22Better selection of link-local NLRI addresses, at least for our ownMartin Mares
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 link-scope addresses.
2003-02-22Temporary fix for BGP protocol capability announcement for IPv6 mode.Martin Mares
2003-02-22Fixed length check miscalculation in IPv6 receive path.Martin Mares
2002-11-13Added missing includes.Martin Mares
2002-11-13Added missing semicolons.Martin Mares
2000-06-20Don't accept incoming connections when the neighbor is not up.Martin Mares
2000-06-07Fixes to the progdoc.Martin Mares
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-04BGP documented.Martin Mares
2000-06-01Updated to new neighbor cache.Martin Mares
2000-05-31Updated all the Doc files to new format.Martin Mares
2000-05-30`path metric' and `disable after error' are switches, not numeric clauses.Martin Mares
2000-05-19Don't print trace messages about null updates.Martin Mares
2000-05-19BGP now reports originating AS and origin type in get_route_info().Martin Mares
2000-05-15bgp_get_status: If protocol is down, don't print BGP state.Martin Mares
2000-05-15Cleanup of configuration.Martin Mares
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.
2000-05-13Adapted to new rt_notify semantics.Martin Mares
2000-05-11Use correct flags for the LOCAL_PREF attribute.Martin Mares
When an invalid attribute is found, copy the entire attribute to the data section of the NOTIFICATION message.
2000-05-09KEEPALIVE TIME ought to set keepalive time, not connect retry time :)Martin Mares
2000-05-08Don't crash when the socket gets closed between updates.Martin Mares
Also, this time not only update `remains', but update it right :)
2000-05-08Update `remains' counter correctly.Martin Mares
2000-05-08The bgp_list is gone. Incomming connections are now handled in a muchMartin Mares
more straightforward manner by scanning the active configuration for matching protocols.
2000-05-08Don't generate corrupted packets when sending only route deletes.Martin Mares
2000-05-08Link the instance to the global BGP list as soon as possible.Martin Mares
2000-05-07Setup of incoming connection is now a separate function.Martin Mares
2000-05-05Added skeleton Doc files for the whole developer's documentation.Martin Mares
2000-05-04Removed RTS_RIP_EXT.Martin Mares
2000-05-04Unused variables in IPv6 code.Martin Mares
2000-05-04Removed a lot of unused variables.Martin Mares
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.)