summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.c
AgeCommit message (Collapse)Author
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-24The 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
2000-05-02Full protocol tracing.Martin Mares
2000-05-02Handle redistribution of unknown attributes correctly.Martin Mares
2000-04-28The `bgp_origin' attribute is now an enum.Martin Mares
2000-04-27Path attribute can be missing if we process a packet with empty NLRI section.Martin Mares
2000-04-26IBGP fixes.Martin Mares
2000-04-25Use the same attribute names as in filters.Martin Mares
2000-04-25When sending BGP attributes, re-create the flags, so that attributesMartin Mares
added by filters which get the flags wrong are fixed automagically.
2000-04-25Better reporting of both local and remote errors.Martin Mares
2000-04-21LOCAL_PREF is now always present and exported over all ibgp connections [draft]Martin Mares
Allow setting of address of the local end of the TCP connection. Several bug fixes.
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-20Synced to draft-ietf-idr-bgp4-09.Martin Mares
2000-04-19The ATOMIC_AGGREGATE parameter is optional transitive.Martin Mares
2000-04-17Honor standard communities (no_export, no_advertise, no_export_subconfed)Martin Mares
when exporting routes.
2000-04-17Don't import/export MED and LOCAL_PREF on external links.Martin Mares
Added real comparison of BGP routes (inspired by the Cisco one). Default local preference and default MED are now settable. Defined filter keywords for all BGP attributes we know.
2000-04-17Normalize community sets when exporting.Martin Mares
Set PARTIAL bits correctly.
2000-04-17Send and receive communities.Martin Mares
2000-04-17Sending of update messages works!Martin Mares
2000-04-17Created nest/a-path.c and a-set.c which should contain general operationsMartin Mares
on AS paths and community sets. Moved as_path_prepend() there. Pavel, please move the other functions as well.
2000-04-12Made last Pavel's changes compile.Martin Mares
2000-04-12as_path_prepend is usable outside bgp.Pavel Machek