summaryrefslogtreecommitdiffstats
path: root/proto/bgp/packets.c
AgeCommit message (Collapse)Author
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
2000-04-26Avoid printing of error messages on Cease notifications.Martin Mares
2000-04-25Support dynamic reconfiguration.Martin Mares
2000-04-25Better reporting of both local and remote errors.Martin Mares
2000-04-25Real parsing of BGP OPEN options including capabilityMartin Mares
negotiation.
2000-04-21If no NLRI's are present in an UPDATE message, parse the attributes, butMartin Mares
don't check presence of mandatory attributes. [draft-09]
2000-04-21Synced to draft-ietf-idr-bgp4-09.Martin Mares
2000-04-21Fixed reporting of unknown options.Martin Mares
2000-04-19Temporarily ignore unknown options.Martin Mares
2000-04-17Send and receive communities.Martin Mares
2000-04-17Sending of update messages works!Martin Mares
2000-04-10Implemented outgoing attribute cache.Martin Mares
2000-04-01BGP now handles incoming routes (IPv4 only).Martin Mares
2000-04-01Parsing of BGP attributes.Martin Mares
2000-03-30Basic analysis of UPDATE packets.Martin Mares
2000-03-30Connection state machine works.Martin Mares
2000-03-30More BGP. This time it connects, but the state machine still isn't complete.Martin Mares
2000-03-21Construction of BGP packets.Martin Mares
2000-03-20Started work on BGP. Wrote main part of the connection handling code.Martin Mares