summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
AgeCommit message (Collapse)Author
2017-03-14BGP: Fix bug in ADD_PATHOndrej Zajicek (work)
When a BGP session with ADD_PATH is restarted and the neighbor do not announce ADD_PATH capability during reconnect, the accept_ra_types is still set to RA_ANY. Thanks to Lennert Buytenhek for the bugreport
2017-02-19BGP: Update RFC referencesOndrej Zajicek (work)
2016-11-01Build: switch on -Wextra, get rid of most of the warningsJan Moskyto Matejka
There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive.
2016-07-11BGP: Fix extended messagesOndrej Zajicek (work)
Change attribute length limit to handle extended (64 kB) messages. Do not mix updates and withdraws (RFC 7606).
2015-11-25BGP: Update capability number from IANA for extended messagesOndrej Zajicek (work)
2015-07-18BGP: Extended messages supportOndrej Zajicek
Implements draft-ietf-idr-bgp-extended-messages-10, for now undocumented and with temporary private capability number.
2015-06-08unsigned [int] -> uintPavel TvrdĂ­k
2015-04-01BGP: Fixes serious bug in TX handlingOndrej Zajicek
Under some circumstances and heavy load, TX could be postponed until the session fails with hold timer expired. Thanks to Javor Kliachev for making the bug reproductible.
2015-03-29BGP: AS-wide unique router ID (RFC 6286) supportOndrej Zajicek
RFC 6286 relaxed rules for router IDs, allowing EBGP sessions between routers with the same ID (but different ASN).
2015-03-29BGP: Enhanced route refresh (RFC 7313) supportOndrej Zajicek
Also hook feed_done is renamed to feed_end.
2015-03-02Fixes serious bug in BGP add-pathOndrej Zajicek
Temporary rta is reused in BGP, while rta_lookup() breaks it. Thanks to Alexander Chernikov for analysing the problem.
2014-10-24Integrated IP functions.Ondrej Zajicek
2014-10-02Implements token bucket filter for rate limiting.Ondrej Zajicek
2014-05-04Fixes BGP crash when update with some attributes and empty NLRI is received.Ondrej Zajicek
Thanks to Charlie Allom for the bugreport.
2014-04-14Fixes a bug in (mainly) IPv6 BGP.Ondrej Zajicek
Stack variable may be used unitialized and that would lead to spurious rta_free(), which may cause crash. The bug was introduced in 1.4.1 from merging add-path branch. Thanks to Peter Andreev for reporting it and Alexander V. Chernikov for resolving it.
2014-03-24Fixes a bug in graceful restart.Ondrej Zajicek
2014-03-20BGP graceful restart support.Ondrej Zajicek
Also significant core protocol state changes needed for that, global graceful restart recovery state and kernel proto support for recovery.
2013-12-01Finishes add-path.Ondrej Zajicek
Fixes some bugs and uses generic hash implementation.
2013-11-23Merge branch 'master' into add-pathOndrej Zajicek
Conflicts: filter/filter.c nest/proto.c nest/rt-table.c proto/bgp/bgp.h proto/bgp/config.Y
2013-07-25Implements RFC 6608 Subcodes for BGP FSM Error.Ondrej Zajicek
2013-04-29Fixes a crash when mrtdump is enabled and interface goes away.Ondrej Zajicek
Thanks to Peter Christensen for the bugfix.
2013-04-16Fixes a bug in IPv6 BGP next hop processing.Ondrej Zajicek
BGP next hop attributes with empty link-local IPv6 addresses were not handled properly. Thanks to Sergey Popovich for the bugfix.
2012-08-14Implements ADD-PATH extension for BGP.Ondrej Zajicek
Allows to send and receive multiple routes for one network by one BGP session. Also contains necessary core changes to support this (routing tables accepting several routes for one network from one protocol). It needs some more cleanup before merging to the master branch.
2012-05-11Minor cleanups.Ondrej Zajicek
2012-04-15Implements generalized import hooks.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the original patch.
2012-01-20Fixes a new bug in BGP route ordering.Ondrej Zajicek
2012-01-09Some minor fixes.Ondrej Zajicek
2012-01-08Implements support for link-local addresses in BGP.Ondrej Zajicek
Thanks Matthias Schiffer for the original patch.
2011-05-31Fixes bug that causes crash with strange BGP updates.Ondrej Zajicek
2011-03-30Fixes some problems in BGP error handling.Ondrej Zajicek
2010-08-04Fixes IPv6 build.Ondrej Zajicek
2010-07-31Implements IGP metric comparison for BGP routes.Ondrej Zajicek
2010-07-28Use link-local addresses in recursive next hops for IPv6 BGP.Ondrej Zajicek
2010-07-22Fixes a buffer overflow in TX code of IPv6 BGP.Ondrej Zajicek
2010-07-13Adds some options and documentation related to recursive next hops.Ondrej Zajicek
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