summaryrefslogtreecommitdiffstats
path: root/proto/bgp/packets.c
AgeCommit message (Collapse)Author
2010-07-12Implements proper multihop BGP.Ondrej Zajicek
Also does some incompatible changes to config file syntax, like removing 'via IP' from multihop option.
2010-07-05Implements hostcache and recursive next hops.Ondrej Zajicek
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.
2010-05-14Handle EPIPE as a common connection close event.Ondrej Zajicek
2010-05-02Merge several fixes suggested by Joakim Tjernlund.Ondrej Zajicek
2010-04-07Implements BGP 'show protocols' info details.Ondrej Zajicek
2010-02-26Many changes in (mainly) kernel syncers.Ondrej Zajicek
- 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 - min_scope check is removed, all routes have SCOPE_UNIVERSE by default - also fixes some remaining compiler warnings
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-02Workaround for some broken BGP implementations that skip initial KEEPALIVE.Ondrej Zajicek
2010-01-03Implements MRTdump feature.Ondrej Zajicek
2009-11-26Implements BGP route refresh.Ondrej Zajicek
2009-11-18Implements option that controls IPv6 BGP next hops when lladdr is missing.Ondrej Zajicek
2009-09-24Show bad peer AS number in log in decimal.Ondrej Zajicek
2009-09-18Fixes setting of IP addresses to route attributes (NEXT_HOP).Ondrej Zajicek
2009-08-27Some cleanups.Ondrej Zajicek
2009-06-07Minor BGP changes related to error wait time.Ondrej Zajicek
2009-06-04Implements import route limits.Ondrej Zajicek
2009-06-01The pipe cleanup.Ondrej Zajicek
2009-05-06Fixes one recently introduced IPv6 BGP compatibility problem.Ondrej Zajicek
2009-04-29Fixes BGP IPv6 link local next hop handling.Ondrej Zajicek
When sending 'third party' BGP update, Bird used bogus link local addresses instead of addresses it received before.
2009-04-28Fixes handling of 'next hop self' and 'source address' configurationOndrej Zajicek
options.
2009-04-23Fixes BGPv6 bug - missing endianity conversion.Ondrej Zajicek
Also removes code skipping SNPAs (obsoleted by newer RFCs, should be ignored).
2009-04-23Fixe bug in BGPv6 that causes to send invalid network withdraws.Ondrej Zajicek
2009-03-13Update capability handshake optionsOndrej Zajicek
Add 'capabilities' option, change default behavior to advertise ipv4, add some checks and ignore incoming capabilities when capabilities are disabled.
2009-03-05Added Cisco and Quagga capability workaround option.Ondrej Zajicek
2009-02-27Better handling of too long attributesOndrej Zajicek
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) leads to skipping required attributes and session drop.
2009-02-26Rate limit for most abundant log messagesOndrej Zajicek
2008-12-24Adds support for fallback to capabilityless BGP connectOndrej Zajicek
When capability related error is received, next connect will be without capabilities. Also cease error subcodes descriptions (according to [RFC4486]) are added.
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-05Fixes bugs in IPv6 code caused by recent commits.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-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 4B ASN support for BGPOndrej Zajicek
2004-06-05... in BGP.Martin Mares
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
2000-06-04BGP documented.Martin Mares
2000-06-01Updated to new neighbor cache.Martin Mares
2000-05-19Don't print trace messages about null updates.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-08Don't generate corrupted packets when sending only route deletes.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.)
2000-05-04IPv6 BGP support finished. Also simplified the BGP stuff a bit.Martin Mares
2000-05-04Receive-only IPv6 BGP.Martin Mares
2000-05-02Full protocol tracing.Martin Mares
2000-04-28Some more fixes for attributeless UPDATEs.Martin Mares