summaryrefslogtreecommitdiffstats
path: root/proto/bgp/attrs.c
AgeCommit message (Collapse)Author
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.
2009-04-23Fixes BGPv6 bug - mandatory attributes weren't validated;Ondrej Zajicek
2009-04-23Fixes bug in BGPv6 causing crash by checking missing attributes.Ondrej Zajicek
2009-03-18Better handling of AS4 optional attribute errorsOndrej Zajicek
AS4 optional attribute errors were handled by session drop (according to BGP RFC). This patch implements error handling according to new BGP AS4 draft (*) - ignoring invalid AS4 optional attributes. (*) http://www.ietf.org/internet-drafts/draft-chen-rfc4893bis-02.txt
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-21Add format for BGP_AGGREGATOR attributeOndrej Zajicek
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-01Implementation of route server.Ondrej Zajicek
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 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-05... in BGP.Martin Mares
2004-06-01ALIGN -> BIRD_ALIGNOndrej Filip
2002-11-13Added missing semicolons.Martin Mares
2000-06-04BGP documented.Martin Mares
2000-05-19BGP now reports originating AS and origin type in get_route_info().Martin Mares
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-04Removed RTS_RIP_EXT.Martin Mares
2000-05-04IPv6 BGP support finished. Also simplified the BGP stuff a bit.Martin Mares
2000-05-04Receive-only IPv6 BGP.Martin Mares