summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2018-07-10rde_update_get_prefix() and friends should also verify the prefixlen.Claudio Jeker
2018-07-10__func__ log statements and some whitespace knfSebastian Benoit
2018-07-10You can run multiple copies of bgpd in seperate rdomains.Sebastian Benoit
2018-07-10the check "if (nc->rtableid)"Sebastian Benoit
2018-07-10dont let rtable number overflow,Sebastian Benoit
2018-07-10Switch also the aspath in rde_update_dispatch() to one on the stack.Claudio Jeker
2018-07-10compare the right things here: we want to know if the flag has changed.Sebastian Benoit
2018-07-10Actually clear the right thing in rib_free()Sebastian Benoit
2018-07-09Wrong function name in error messageClaudio Jeker
2018-07-09Move the max prefix checker into rde_update_update() instead of doing itClaudio Jeker
2018-07-09Introduce a struct filterstate and pass this to rde_filter instead ofClaudio Jeker
2018-07-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
2018-07-08Be consistent in warn() and log_warn() usage whenKenneth R Westerback
2018-07-05reword;Jason McIntyre
2018-07-05Simplify rde_softreconfig_in(). There is no need to run the prefix throughClaudio Jeker
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
2018-06-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio Jeker
2018-06-28Instead of passing the rde_aspath to nexthop_modify() pass pointers toClaudio Jeker
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
2018-06-27Just put the aspath and the peer directly into the prefix struct.Claudio Jeker
2018-06-27Move rde_test_prefix() to a place where it makes more sense. No functionalClaudio Jeker
2018-06-26Wrong function name in error message.Claudio Jeker
2018-06-25Properly start reference counting struct nexthop. This removes the need forClaudio Jeker
2018-06-21Use correct function name in fatalx()Claudio Jeker
2018-06-21Nothing is using the active and prefix count in struct rde_aspath.Claudio Jeker
2018-06-18remove the SECTIONS header, since a one line DESCRIPTION is a bit silly;Jason McIntyre
2018-06-13separate arg name and punctuation with whitespace;Jason McIntyre
2018-06-13Provide backwards compatibility for some of the announce directivesjob
2018-06-13Deprecate announce (all|self|none|default-route)Claudio Jeker
2018-06-11Fix an off-by-one line count when using include statements.denis
2018-04-26Plug leak in error case of the common 'varset' implementations.Kenneth R Westerback
2018-04-02aspath_verify() can not call aspath_extract() since this function only worksClaudio Jeker
2018-02-10less macro; ok bennoJason McIntyre
2018-02-10Follow rfc8277 more closely and make make sure bgpd is encoding VPNv4Claudio Jeker
2018-02-10claudio noted that this is an else case because we have either aSebastian Benoit
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2018-02-08Bump the read sockbuf of the routing socket to 2MB, may help reduce some ofClaudio Jeker
2018-02-07Add plumbing inside of the prefix handling to put prefixes on either theClaudio Jeker
2018-02-05Switch a few lists to tailqs. Mainly the prefix list per aspath needsClaudio Jeker
2018-02-05Change struct prefix a bit. Make the aspath pointer opaque and remove theClaudio Jeker
2018-02-05Add a comment why it is OK to set the tableid to 0 for Adj-RIB-In/Out.Claudio Jeker
2018-02-05prefix check must be last because the prefixlen check does an immediate return.Claudio Jeker
2018-02-04Clenaup RIB handling in the RDE. Introduce some defines for Adj-RIB-In andClaudio Jeker
2017-11-29Insert MPLS VPN routes with the RTF_GATEWAY flag cleared. mpe(4) is nowClaudio Jeker
2017-11-14Inverse logic, issue found by henning@. MPLS VPN is still broken though.Claudio Jeker
2017-10-19don't try to print uninitialised memory as a string in error pathsJonathan Gray
2017-10-15Add "ssv" variant which turns a rib route output into a singleTheo de Raadt
2017-09-14fix accounting for received prefixes per neighborPeter Hessler
2017-08-21undo unintentional commitsPeter Hessler
2017-08-21When 'enforce neighbor-as no' is set, don't do a config-time check for the ne...Peter Hessler