summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_attr.c
AgeCommit message (Expand)Author
2021-06-24aspath_deflate() did free the passed in data but since the way aspathsClaudio Jeker
2021-01-16aspath_neighbor() needs to return the local system AS for empty AS pathsClaudio Jeker
2019-06-24mrt dumps lost communities after the community rewrite.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-02-26Add missing break; in case statement and while there check that theClaudio Jeker
2019-02-26Some betoh64 sneaked in again, change to be64toh to be posix compliant.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-15Use the posix version of betoh64() which is spelled be64toh() this is moreClaudio Jeker
2019-02-15Another missing endian.hClaudio Jeker
2019-02-04Implement as-override, a feature where the neighbor AS is replaced by theClaudio Jeker
2018-12-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2018-10-10Large community setting, when checking for pre-existing community, wasTheo de Raadt
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-08-10Another place where we should handle AS_SET better. aspath_lenmatch()Claudio Jeker
2018-08-09Make two very internal functions static. They are used to merge anClaudio Jeker
2018-08-08Move struct wire_largecommunity to rde_attr.c since it is only used internallyClaudio Jeker
2018-08-08One ; too muchClaudio Jeker
2018-07-13Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.Claudio Jeker
2018-07-11improve the path hash function (instead of just hashing the aspath putClaudio Jeker
2018-07-11On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theClaudio Jeker
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
2018-04-02aspath_verify() can not call aspath_extract() since this function only worksClaudio Jeker
2017-05-31Rework the way we do extended communities (mainly in the parser) and updateClaudio Jeker
2017-05-30remove extended communities that have the transitive bit set fromSebastian Benoit
2017-05-26AS 0 is special and should be considered an error.Peter Hessler
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2016-10-14Add support for draft-ietf-idr-large-communityPeter Hessler
2015-10-24seg_type is only set but never used. So remove it. Someone reported thisClaudio Jeker
2015-08-30rename a variable "err" to "error"Theo de Raadt
2014-12-12convert some hash tables (the easy ones) to siphash. ok benno.Ted Unangst
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt
2012-08-12By default mask the reserved bits and the ext len bit in the attributeClaudio Jeker
2012-04-12aspath_neighbor() should return the local AS number for empty AS pathes.Claudio Jeker
2011-09-20Move a few functions into util.c because bgpctl will need them soon.Claudio Jeker
2010-12-31Add missing #includes instead of assuming that some system header pulls inPhilip Guenthe
2010-11-18Accept but ignore (treat as withdraw) updates with AS_CONFED_* pathClaudio Jeker
2010-10-22Free attributes that just got allocated beforehands and do not hold anyClaudio Jeker
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-05-17Implement two new filters, max-as-len and max-as-seq. The first is limitingClaudio Jeker
2010-03-29I'm going to need community_ext_conv() outside of rde_attr.c soon, so moveClaudio Jeker
2010-03-05Allow to filter for ext-community attributes. Currently only perfect matchesClaudio Jeker
2009-12-18Merge rde_filter_community() with community_match() and kill a uselessClaudio Jeker
2009-12-16Implement "set ext-community [delete] subtype key:value" to set and deleteClaudio Jeker
2009-03-19Implement a attr_writebuf() function that works on a struct buf instead ofClaudio Jeker
2009-02-17Fix aspath_prepend() in the case a AS-PATH has a sequence of 255 elementsClaudio Jeker
2009-01-13Replace NEW_ASPATH/NEW_AGGREGATOR with the naming from RFC4893,Stuart Henderson
2008-05-08KNFHenning Brauer