Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-22 | Better profylaction recursive route loops | Maria Matejka | |
In some specific configurations, it was possible to send BIRD into an infinite loop of recursive next hop resolution. This was caused by route priority inversion. To prevent priority inversions affecting other next hops, we simply refuse to resolve any next hop if the best route for the matching prefix is recursive or any other route with the same preference is recursive. Next hop resolution doesn't change route priority, therefore it is perfectly OK to resolve BGP next hops e.g. by an OSPF route, yet if the same (or covering) prefix is also announced by iBGP, by retraction of the OSPF route we would get a possible priority inversion. | |||
2021-11-22 | Special table hooks rectified. | Maria Matejka | |
* internal tables are now more standalone, having their own import and export hooks * route refresh/reload uses stale counter instead of stale flag, allowing to drop walking the table at the beginning * route modify (by BGP LLGR) is now done by a special refeed hook, reimporting the modified routes directly without filters | |||
2021-11-22 | Table import and export are now explicit hooks. | Maria Matejka | |
Channels have now included rt_import_req and rt_export_req to hook into the table instead of just one list node. This will (in future) allow for: * channel import and export bound to different tables * more efficient pipe code (dropping most of the channel code) * conversion of 'show route' to a special kind of export * temporary static routes from CLI The import / export states are also updated to the new algorithms. | |||
2021-11-09 | Limit containment | Maria Matejka | |
2021-11-09 | RPKI: Do nothing when protocol is stopping | Maria Matejka | |
2021-11-09 | RPKI shouldn't process more packets when being stopped | Maria Matejka | |
2021-11-09 | Kernel routes are flushed on shutdown by kernel scan, not by table scan | Maria Matejka | |
2021-11-09 | Secondary and merged exports get a whole feed instead of traversing the ↵ | Maria Matejka | |
table structures directly | |||
2021-11-09 | Route export: rejected by filter bitmap | Maria Matejka | |
If a route has been rejected by filter, store that information to avoid repeated export filter runs on rejected routes. | |||
2021-11-09 | Protocol stats split to import and export | Maria Matejka | |
2021-11-09 | Nest: Route generations and explicit tracking route propagion through pipes | Maria Matejka | |
2021-11-09 | Refeed is done from export table when appropriate | Maria Matejka | |
2021-11-09 | Recursive route nexthop updates now announced with valid new_best/old_best ↵ | Maria Matejka | |
information | |||
2021-11-09 | Suppressed MRT unused static function warning | Maria Matejka | |
2021-11-09 | Split route data structure to storage (ro) / manipulation (rw) structures. | Maria Matejka | |
Routes are now allocated only when they are just to be inserted to the table. Updating a route needs a locally allocated route structure. Ownership of the attributes is also now not transfered from protocols to tables and vice versa but just borrowed which should be easier to handle in a multithreaded environment. | |||
2021-11-09 | Extended route trace: logging Path Identifiers | Maria Matejka | |
2021-10-13 | Dropping the unused rte_same hook | Maria Matejka | |
2021-10-13 | Dropping rte-local dumper entries | Maria Matejka | |
2021-10-13 | RIP fixup + dropping the tmp_attrs mechanism as obsolete | Maria Matejka | |
2021-10-13 | BGP: Moved the suppressed and stale flags to pflags | Maria Matejka | |
2021-10-13 | Kernel: Convert the rte-local attributes to extended attributes and flags to ↵ | Maria Matejka | |
pflags | |||
2021-10-13 | Dropping the RTS_DUMMY temporary route storage. | Maria Matejka | |
Kernel route sync is done by other ways now and this code is not used currently. | |||
2021-10-13 | Babel: Convert the rte-local attributes to extended attributes | Maria Matejka | |
2021-10-13 | OSPF: Convert the rte-local attributes to extended attributes | Maria Matejka | |
2021-10-13 | RIP: convert the rte-local attributes to extended attributes | Maria Matejka | |
2021-10-13 | Extended route attributes may include also pointers | Maria Matejka | |
2021-10-13 | IGP metric getter refactoring to protocol callback | Maria Matejka | |
Direct protocol hooks for IGP metric inside nest/rt-table.c make the protocol API unnecessarily complex. Instead, we use a proper callback. | |||
2021-10-13 | Route: moved rte_src pointer from rta to rte | Maria Matejka | |
It is an auxiliary key in the routing table, not a route attribute. | |||
2021-10-13 | Preference moved to RTA and set explicitly in protocols | Maria Matejka | |
2021-10-13 | Preexport: No route modification, no linpool needed | Maria Matejka | |
2021-10-13 | Export table: Delay freeing of old stored route. | Maria Matejka | |
This is needed to provide the protocols the full old route after filters when export table is enabled. | |||
2021-10-13 | There may be a symbol with NULL protocol when reconfiguring | Maria Matejka | |
2021-10-13 | Show route may be accidentally called on shutdown also when not all default ↵ | Maria Matejka | |
tables are present | |||
2021-10-13 | fixup! Multipage allocation | Maria Matejka | |
2021-10-13 | Multipage allocation | Maria Matejka | |
We can also quite simply allocate bigger blocks. Anyway, we need these blocks to be aligned to their size which needs one mmap() two times bigger and then two munmap()s returning the unaligned parts. The user can specify -B <N> on startup when <N> is the exponent of 2, setting the block size to 2^N. On most systems, N is 12, anyway if you know that your configuration is going to eat gigabytes of RAM, you are almost forced to raise your block size as you may easily get into memory fragmentation issues or you have to raise your maximum mapping count, e.g. "sysctl vm.max_map_count=(number)". | |||
2021-10-13 | CLI socket accept() may also fail and should produce some message, not a ↵ | Maria Matejka | |
coredump. | |||
2021-10-13 | OSPF: explicitly stop the periodic tick on shutdown to avoid recalculation races | Maria Matejka | |
2021-10-13 | Linpools may use pages instead of xmalloc | Maria Matejka | |
2021-10-13 | fixup! Bound allocated pages to resource pools with page caches to avoid ↵ | Maria Matejka | |
unnecessary syscalls | |||
2021-09-10 | Bound allocated pages to resource pools with page caches to avoid ↵ | Maria Matejka | |
unnecessary syscalls | |||
2021-09-10 | Reducing filter stack size to allow for lesser thread stack size | Maria Matejka | |
2021-09-10 | OSPF: Setting a list node NULL before use | Maria Matejka | |
2021-09-10 | Fixed memory poisoning in slab | Maria Matejka | |
2021-09-10 | Debug output uses local buffer to avoid clashes between threads. | Maria Matejka | |
2021-09-10 | Filter: Additional consistency checks | Maria Matejka | |
2021-09-10 | Nest: Clean up main channel handling | Ondrej Zajicek (work) | |
Remove assumption that main channel is the only channel. | |||
2021-06-11 | CI: Allow Babel tests | Ondrej Zajicek (work) | |
2021-06-09 | Nest: Allow both 'password' and 'key' keywords for authentication keys | Ondrej Zajicek (work) | |
2021-06-09 | Babel: Simplify auth expiration | Ondrej Zajicek (work) | |
Just use hello_expiry for that, keep init_expiry for initial unauthentized neighbors. | |||
2021-06-06 | Nest: Fix password list parsing code | Ondrej Zajicek (work) | |
One of previous patches broke password list parsing code, fix that. |