summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.c
AgeCommit message (Collapse)Author
2016-11-25BGP: Fix memory leak in graceful restart codeOndrej Zajicek (work)
Prefix and bucket tables are initialized when entering established state but not explicitly freed when leaving it (that is handled by protocol restart). With graceful restart, BGP may enter and leave established state multiple times without hard protocol restart causing memory leak.
2016-11-15BGP: Cluster list item should be prependedOndrej Zajicek (work)
Commit 3c09af41... changed behavior of int_set_add() from prepend to append, which makes more sense for community list, but prepend must be used for cluster list. Add int_set_prepend() and use it in cluster list handling code.
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-10-03BGP: Support for large communitiesOndrej Zajicek (work)
Add support for large communities (draft-ietf-idr-large-community), 96bit alternative to RFC 1997 communities. Thanks to Matt Griswold for the original patch.
2016-06-29BGP: Skip empty path segments in received AS_PATHOndrej Zajicek (work)
Although RFC 4271 does not forbid empty path segments, they are useless and some implementations consider them invalid. It is clarified in RFC 7606, specifying that AS_PATH with empty segment is considered malformed.
2015-06-08BGP multipath supportOndrej Zajicek
Kernel option 'merge paths' allows to merge routes exported to kernel protocol (currently BGP and static routes) to multipath routes.
2015-06-08unsigned [int] -> uintPavel TvrdĂ­k
2015-02-21Fixes potential alignment bug in BGP.Ondrej Zajicek
Thanks to Andrew (seti.kr.ua) for the bug report.
2014-10-24Integrated IP functions.Ondrej Zajicek
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-10-21Implements 'allow local as' option.Ondrej Zajicek
Similar to allowas-in option on other routers.
2013-04-16Implements 'next hop keep' option for BGP.Ondrej Zajicek
This option allows to keep the received next hop even in cases when the route is sent to an interface with a different subnet.
2012-11-12AS# in bgp.agreggator was a signed integer - fixed.Ondrej Filip
2012-11-10Allows rejected routes to be kept and examined.Ondrej Zajicek
When 'import keep rejected' protocol option is activated, routes rejected by the import filter are kept in the routing table, but they are hidden and not propagated to other protocols. It is possible to examine them using 'show route rejected'.
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-07-16Finalize RA_ACCEPTED handling.Ondrej Zajicek
2012-01-20Fixes a new bug in BGP route ordering.Ondrej Zajicek
2012-01-08Implements support for link-local addresses in BGP.Ondrej Zajicek
Thanks Matthias Schiffer for the original patch.
2011-12-22Implements deterministic MED handling.Ondrej Zajicek
Thanks to Alexander V. Chernikov for many suggestions.
2011-09-03Fixes possible buffer overflow when printing BGP attributes.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the patch.
2011-08-14BGP Extended communities.Ondrej Zajicek
2011-07-03Prints full community lists during 'show route all'.Ondrej Zajicek
2011-04-22Adds BGP option related to MED handling.Ondrej Zajicek
Adds option 'med metric' allows to compare MEDs between routes received from different neighbors.
2011-03-30Fixes some problems in BGP error handling.Ondrej Zajicek
2010-12-07Core multipath support.Ondrej Zajicek
2010-07-31Implements IGP metric comparison for BGP routes.Ondrej Zajicek
2010-07-28Adds route resolvability test.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-04-08Do not export empty community list attribute in BGP.Ondrej Zajicek
2010-02-26Comparing cluster list length should be later in bgp_rte_better().Ondrej Zajicek
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-13Removes phantom protocol from the pipe design.Ondrej Zajicek
It seems that by adding one pipe-specific exception to route announcement code and by adding one argument to rt_notify() callback i could completely eliminate the need for the phantom protocol instance and therefore make the code more straightforward. It will also fix some minor bugs (like ignoring debug flag changes from the command line).
2010-01-28Changes 'ignore communities' to 'interpret communities'.Ondrej Zajicek
2010-01-27Better handling of well-known communities.Ondrej Zajicek
Process well-known communities before the export filter (old behavior is to process these attributes after, which does not allow to send route with such community) and just for routes received from other BGP protocols. Also fixes a bug in next_hop check.
2009-12-21Change default LOCAL_PREF attribute to 100 (suggested value by RFC 4277).Ondrej Zajicek
2009-12-15Merge branch 'ospf3' into newOndrej Zajicek
2009-12-15Fixes export of routes with link-local gw.Ondrej Zajicek
2009-12-14Remove bgp_as4_support variable.Ondrej Zajicek
2009-11-17Show both IPv6 next hop addresses in BGP.Ondrej Zajicek
2009-11-17Implements RFC 5004 - prefer older external routes.Ondrej Zajicek
2009-10-12Rename as_path_get_last/as_path_get_first to be consistent.Ondrej Zajicek
2009-08-27Some cleanups.Ondrej Zajicek
2009-08-25Fixes bug related to AS2->AS4 conversion.Ondrej Zajicek
2009-06-23Fixes bug in ORIGIN check.Ondrej Zajicek
2009-06-23Changes handling of AS_PATH_CONFED_* segments in AS_PATH.Ondrej Zajicek
Although standard says that if we receive AS_PATH_CONFED_* (and we are not a part of a confederation) segment, we should drop session, nobody does that and it is unwise to do that. Now we drop session just in case that peer ASN is in AS_PATH_CONFED_* segment (to detect peer that considers BIRD as a part of its confederation).
2009-04-29Allow 'third party' BGP updates for originated routes.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.