Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-03 | Log: Do not open logfiles when parse-and-exit option is active | Ondrej Zajicek (work) | |
This is a quick workaround for an issue where configured logfiles are opened/created during parsing of a config file even when parse-and-exit option is active. We should later refactor the logging code to avoid opening log during parsing altogether. | |||
2020-06-02 | OSPF: setting list node to zero before enlisting | Maria Matejka | |
2020-05-26 | Babel: Set onlink flag for IPv4 routes with unreachable next hop | Ondrej Zajicek (work) | |
If the next hop of a route is not a reachable address, the route should be installed as onlink. This enables a configuration common in mesh networks where the mesh interface is assigned a /32 and babel handles the routing by installing onlink routes. Thanks to Toke Hoiland-Jorgensen for the patch. | |||
2020-05-26 | OSPF: Fix handling of unnumbered PtPs | Ondrej Zajicek (work) | |
This issue has a long history. In 2012, we changed data field for unnumbered PtP links from iface id (specified by RFC) to IP address based on reports of bugs in Quagga that required it, and we used out-of-band information to distinquish unnumberred PtPs with the same local IP address. Then with OSPF graceful restart implementation, we found that we can no longer use out-of-band information, and we need to use only LSAdb info for routing table calculation, but i forgot to finish handling of this case, so multiple unnumbered PtPs with the same local IP addresses were broken. Considering that even recent Mikrotik RouterOS has broken next hop calculation that depends on IP address in PtP link data field, we cannot just switch back to the iface id for unnumbered PtP links. The patch makes two changes: First, it goes back to use out-of-band (position) info for distinguishing local interfaces in SPF when graceful restart is not enabled, while still uses LSAdb-only approach for SPF calculation when graceful restart is enabled. Second, it adds OSPF interface option 'ptp address', which controls whether IP address or iface id is used in data field. It is enabled by default except for unnumbered PtP links with enabled graceful restart. Thanks to Kenth Eriksson for the bugreport and Joakim Tjernlund for suggestions. | |||
2020-05-19 | Nest: Allow key id 0 | Ondrej Zajicek (work) | |
There is nothing in RFCs specifying that id 0 is not allowed. Some implementations does not support it, while some other use key id 0 by default. We allow it but start with key id 1 by default. Thanks to Kenth Eriksson for the bugreport. | |||
2020-05-19 | RIP: Triggered RIP (demand circuit) documentation | Ondrej Zajicek (work) | |
2020-05-18 | Nest: Implement BGP path mask loop operator | Ondrej Zajicek (work) | |
Implement regex-like '+' operator in BGP path masks to match previous path mask item multiple times. This is useful as ASNs may appear multiple times in paths due to path prepending for traffic engineering purposes. | |||
2020-05-12 | RIP: Fix handling of passive mode for demand circuit interfaces | Ondrej Zajicek (work) | |
2020-05-11 | Nest: Fix neighbor handling for colliding ranges | Ondrej Zajicek (work) | |
Resolve neighbors using longest prefix match. Although interface ranges should not generally collide, it may happen for unnumbered links. Thanks to Kenth Eriksson for the bugreport. | |||
2020-05-05 | Tests: Activate BGP-int test | Ondrej Zajicek (work) | |
2020-05-05 | Tests: Change unsupported Ubuntu 19.04 for supported version 19.10 | Matous Holinka | |
2020-05-02 | Filter: Remove quitbird command | Ondrej Zajicek (work) | |
No need for this debug filter command and it can be abused from CLI. | |||
2020-05-01 | Fixed a harmless warning in production build | Maria Matejka | |
2020-05-01 | Merge remote-tracking branch 'origin/mq-static-analysis' | Maria Matejka | |
2020-05-01 | Slab: Init node in slab head to NULLs. | Maria Matejka | |
2020-05-01 | Timer: Adding missing initializer. | Maria Matejka | |
2020-05-01 | Lexer: strtoul shall never set endptr to NULL; it should be an error | Maria Matejka | |
2020-05-01 | Unix socket: Path length check directly before copying the path. | Maria Matejka | |
This is not needed as the string is always short enough, anyway it may be needed in future and one strlen during BIRD start is cheap enough. | |||
2020-05-01 | Lists: Replaced replace_node() by update_node() which is the only use of ↵ | Maria Matejka | |
that function. | |||
2020-05-01 | Lists: fix a stupid sanitizer bug | Maria Matejka | |
2020-05-01 | Uninitialized list nodes fixes | Maria Matejka | |
2020-05-01 | Nest: Added const to ea_show just to declare that this shouldn't really ↵ | Maria Matejka | |
change anything | |||
2020-05-01 | OSPF: Zero-initialization of a temporary neighbor | Maria Matejka | |
2020-05-01 | Nest: Several assumptions to tame the static analyzer | Maria Matejka | |
2020-05-01 | Nest: Assumption in rt-show for not-so-intuitive invariant. | Maria Matejka | |
2020-05-01 | Static scanner and expensive debugging setup fix | Maria Matejka | |
2020-05-01 | RPKI: fixed rare va_list leak | Maria Matejka | |
2020-05-01 | Static check: Don't report dead code | Maria Matejka | |
2020-05-01 | OSPF: Adding a note about a static analyzer result. | Maria Matejka | |
2020-05-01 | OSPF: variable-length array of size 0 replaced by alloca()'d pointer | Maria Matejka | |
NULL pointer is safer than a random pointer onto stack if this function gets changed and eventually broken. | |||
2020-05-01 | List expensive check. | Maria Matejka | |
2020-05-01 | Expensive check declaration | Maria Matejka | |
Intended to be run at every operation with complex data structures to check their consistency and validity. | |||
2020-05-01 | IPv6 address parser: fail on incomplete addresses | Maria Matejka | |
2020-05-01 | Filter: Don't alloc varargs array if its length would be zero | Maria Matejka | |
2020-05-01 | Filter: Removed forgotten dead code | Maria Matejka | |
2020-05-01 | Non-null function argument declaration | Maria Matejka | |
2020-04-29 | BGP: Fix handling of strange IPv6 link-local-only next hops | Ondrej Zajicek (work) | |
There are three common ways how to encode IPv6 link-local-only next hops: (:: ll), (ll), and (ll ll). We use the first one but we should accept all three. The patch fixes handling of the last one. Thanks to Sebastian Hahn for the bugreport. | |||
2020-04-28 | More assertion categories | Maria Matejka | |
2020-04-28 | Not calling memcpy with n=0. | Maria Matejka | |
2020-04-28 | Filter: fixed omitted overflow check in EC constructor | Maria Matejka | |
2020-04-28 | Makefile rule for static analyzer | Maria Matejka | |
2020-04-28 | Tests: Activate BGP-auth test | Ondrej Zajicek (work) | |
2020-04-28 | Tests: Activate OSPF-VRF test | Ondrej Zajicek (work) | |
2020-04-22 | Tests: Activate BGP test | Ondrej Zajicek (work) | |
2020-04-15 | BGP: Fix handling of 16bit-only ASN translation | Nasato Goto | |
The bug generated invalid AGGREGATOR attribute during translation of 32bit ASN to 16bit-only BGP peer. The patch fixes that. | |||
2020-04-09 | Configuration strings are constant. | Maria Matejka | |
This is merely a const propagation. There was no problem in there. | |||
2020-04-08 | Doc: Update prefix set comment | Ondrej Zajicek (work) | |
2020-04-05 | Fletcher16 test fixed to work at bigendian architectures. | Maria Matejka | |
To be honest, it was wrong in concept, anyway it accidentally worked. | |||
2020-03-26 | Filter: Remove mixed address tests and fix formatting | Ondrej Zajicek (work) | |
2020-03-26 | Filter: Optimize IPv4 prefix sets | Ondrej Zajicek (work) | |
Use separate IPv4 and IPv6 implementation of prefix sets. Just this change makes IPv4 prefix sets 60% smaller and 50% faster. |