aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Add documentation for BGP option 'allow as sets'Ondrej Zajicek (work)2019-11-051-0/+10
|
* Filter: Add type info for more instructionsOndrej Zajicek (work)2019-11-051-2/+12
|
* Filter: Improve typecheck error messagesOndrej Zajicek (work)2019-11-055-9/+71
|
* Filter: Better constant promotionOndrej Zajicek (work)2019-11-051-1/+20
| | | | | | We use constant promotion from IPv4 to Router-ID values, as they have same literals. Instead of ad-hoc code in filter instructions, add constant promotion code to parse-time typecheck code.
* Filter: Improved parse-time typechecksOndrej Zajicek (work)2019-11-052-56/+12
|
* Filter: Parse-time typechecksOndrej Zajicek2019-11-053-38/+63
| | | | | | Most expressions can be type-validated in parse time. It is not strong enough to eliminate runtime checks, but at least one gets errors immediately during reconfigure.
* BGP: Add option to reject AS_SETsOndrej Zajicek (work)2019-11-045-7/+22
| | | | There is a pending draft to make them obsolete
* Support for address family constantsOndrej Zajicek (work)2019-11-036-2/+15
| | | | We already had them defined on BGP level, but they are more general.
* Nest: Fix bug in export tableOndrej Zajicek (work)2019-11-031-1/+1
| | | | | For regular channels do not compare src in export table, as we want to keep here only the best (exported) route per network.
* BGP: RFC 8654 got releasedOndrej Zajicek (work)2019-10-262-3/+3
|
* Nest: Fix primary flag in show routeOndrej Zajicek (work)2019-10-251-3/+2
| | | | | | | The route is changed by rte_make_tmp_attrs(), so we need to compare net->routes to the original one. Thanks to Kenth Eriksson for the bugreport.
* BGP: Fix handling of transitive extended communitiesOndrej Zajicek (work)2019-10-241-5/+15
| | | | | | | Transitive extended communities should be removed on external sessions, the old code them in all cases. Thanks to Jean-Daniel Pauget for the original patch.
* Accept uppercase letters in iproute2 namesOndrej Zajicek2019-10-221-1/+1
| | | | | | | | Names read from texfiles in /etc/iproute2/* are normalized by replacing non-alphanumeric chars with underscore. The patch fixes handling of uppercase letters, which were handled as non-alphanumberic. Thanks to Igor Gavrilov for the bugreport.
* Nest: Fix build without protocolsFabrice Fontaine2019-10-191-0/+1
| | | | (CHECK keyword added by commiter)
* RPKI: Fix handling of IPv6 cache addressesOndrej Zajicek (work)2019-10-191-6/+3
| | | | The old code used just sizeof(struct sockaddr) bytes of IP address.
* NEWS and version updatev2.0.7Ondrej Zajicek (work)2019-10-113-2/+7
|
* BGP: Fix reconfiguration with import tableOndrej Zajicek (work)2019-10-101-0/+7
| | | | | | Change of some options requires route refresh, but when import table is active, channel reload is done from it instead of doing full route refresh. So in this case we request it internally.
* Doc: Minor documentation fixesOndrej Zajicek (work)2019-10-101-13/+13
| | | | Thanks to Christoph for the bugreport.
* Nest: Handle non-MPLS on MPLS case in recursive route updateOndrej Zajicek (work)2019-10-101-0/+8
| | | | | When non-MPLS recursive route resolves to MPLS underlying route, then it should get MPLS labels from the the underlying route.
* Nest: Handle PtP links in recursive route updateOndrej Zajicek (work)2019-10-101-0/+2
| | | | | | | | Underlying (IGP) route may lead to PtP link, in this case it does not need gateway. Which is different than direct route without gateway. When recursive (BGP) route uses PtP route, it should not use recursive next hop as immediate next hop, while for direct routes it should.
* Nest: Fix recursive route updateOndrej Zajicek (work)2019-10-101-1/+2
| | | | Missing cleanup can lead to dangling pointer to old next hops.
* BGP: AIGP metric support (RFC 7311)Ondrej Zajicek (work)2019-10-098-16/+359
|
* Lib: Support for 64-bit numbers in bvsnprintf()Ondrej Zajicek (work)2019-10-094-35/+50
| | | | | | Use 'l' for s64/u64 instead of for long/ulong, as that is much more useful. Also make number() correct with regard to signed/unsigned typecasts.
* Build: Pass -g to cc called as linker to explicitly keep debug infoMaria Matejka2019-10-091-0/+2
|
* Testing measures timesMaria Matejka2019-10-091-7/+30
|
* LTO: debug info also kept with the final binaryMaria Matejka2019-10-091-1/+1
|
* Perf: allow testing with cached route attributes.Maria Matejka2019-10-093-21/+29
|
* Doc: Fix duplicated linesOndrej Zajicek2019-10-081-4/+0
| | | | Thanks to elados93 for the patch.
* Testing: Don't call vsnprintf with NULL formatMaria Matejka2019-10-041-1/+2
|
* Fixed undefined behavior on signals.Maria Matejka2019-10-044-10/+12
| | | | | | | | | The C11 specification allows only sig_atomic_t and _Atomic variable access. All other accesses to global variables are undefined behavior. Using int was probably OK on x86 and x86_64; yet there were some reports from other architectures (especially some MIPS) that in rare cases, after issuing SIGHUP, BIRD did strange things.
* BFD: Fix reconfiguration of neighborsOndrej Zajicek (work)2019-09-301-1/+2
| | | | | | | The bfd_reconfigure_neighbors() returned after first reconfigured neighbor instead of continuing with the next one. Thanks to Winston Chen for the bugreport and a patch.
* Nest: Fix bug in export tableOndrej Zajicek (work)2019-09-241-0/+5
| | | | | Exported route may be in modified state, we need to get cached one for rte_same() and rta_clone() to work properly.
* Filter: Fix eval commandOndrej Zajicek (work)2019-09-241-1/+1
|
* Nest: Fix help for 'graceful restart' commandOndrej Zajicek (work)2019-09-231-0/+2
| | | | | | | Multi-worded commands are not automatically added to top-level help output. Thanks to Christoph for the bugreport.
* Filters: Function body comparison result now used.Maria Matejka2019-09-231-0/+5
| | | | | | | Function bodies were compared in post-parse time, yet the result was not used and the functions were incorrectly considered the same as before. Now the result is used to reload affected protocols.
* BGP: Fix setup with multiple dynamic BGP rangesOndrej Zajicek (work)2019-09-171-0/+8
| | | | Based on a patch from Liam Nattrass, thanks.
* NEWS and version updatev2.0.6Ondrej Zajicek (work)2019-09-103-2/+9
|
* Doc: Update BGP mask documentationOndrej Zajicek (work)2019-09-101-1/+2
|
* Filter: Fix crash with 'where' filters and function callsOndrej Zajicek (work)2019-09-101-25/+4
| | | | | The old 'where' code computed size value incorrectly, which leads to invalid instruction lines and filter errors or crashes.
* BGP: Fix handling of bgp_aggregator atttributeOndrej Zajicek (work)2019-09-091-1/+1
| | | | | The attribute should not be modifiable by filters as we do not support its type.
* BGP: Fix bugs in handling of shutdown messagesOndrej Zajicek (work)2019-09-091-2/+2
| | | | | | | There is an improper check for valid message size, which may lead to stack overflow and buffer leaks to log when a large message is received. Thanks to Daniel McCarney for bugreport and analysis.
* OSPF: Fix 'show ospf lsadb' cmd without proto argOndrej Zajicek (work)2019-08-291-1/+6
| | | | | | It crashed when used without protocol argument. Thanks to Alexander for the bugreport.
* Channel refeed with import table splitting between routes for one prefixMaria Matejka2019-08-272-10/+27
|
* Sysdep: Drop supplementary groups when dropping GIDOndrej Zajicek (work)2019-08-211-0/+3
| | | | We forgot to do that. Oops.
* BGP: Use reallocation for capability structureOndrej Zajicek (work)2019-08-212-16/+30
| | | | | | Instead of having large stack buffer for max amount of AFI/SAFI pairs. The old code is not correct w.r.t. extendeded option length, as more AFI/SAFI pairs may fit into the capability option.
* BGP: Implement extended optional parameters lengthOndrej Zajicek (work)2019-08-203-23/+71
| | | | | Extends BGP options/capabilities data length to 16bit, to avoid issues with too many capabilities. See draft-ietf-idr-ext-opt-param-07
* Nest: Fix crash in route reload when some channels are not up.Ondrej Zajicek (work)2019-08-141-3/+5
| | | | Only channels that are up can be reloaded.
* BGP: implement Adj-RIB-OutOndrej Zajicek (work)2019-08-149-1/+146
| | | | | | | The patch implements optional internal export table to a channel and hooks it to BGP so it can be used as Adj-RIB-Out. When enabled, all exported (post-filtered) routes are stored there. An export table can be examined using e.g. 'show route export table bgp1.ipv4'.
* Filter: Fixing empty block and never-executed-statement bugMaria Matejka2019-08-132-10/+26
|
* RAdv: Allow solicited RAs to be sent as unicastOndrej Zajicek (work)2019-08-126-27/+72
| | | | | Add option to send solicited router advertisements as unicast directly to soliciting nodes instead of as multicast to all-nodes group.