- Apr 03, 2021
-
-
Ondřej Zajíček authored
Thanks to Matt Corallo for the bugreport.
-
- Mar 30, 2021
-
-
Maria Matejka authored
This saves some bytes of memory for complex ea's.
-
Maria Matejka authored
This also fixes memory leaks from import/export tables being never cleaned up and freed.
-
Maria Matejka authored
-
Maria Matejka authored
-
Ondřej Zajíček authored
The flag makes sense just in external representation. It is reset during BGP export, but keeping it internally broke MRT dumps for short attributes that used it anyways. Thanks to Simon Marsh for the bugreport and the patch.
-
- Mar 25, 2021
-
-
Maria Matejka authored
Debian 7 Wheezy has been superseded by Debian 8 Jessie on Apr 25, 2015, with LTS support ending on May 31, 2018. Debian 7 Wheezy's default GCC doesn't fully support C11. It should anyway still be possible to build BIRD for Debian 7 if you backport a C11-capable compiler there.
-
Maria Matejka authored
From now, there are no auxiliary pointers stored in the free slab nodes. This led to strange debugging problems if use-after-free happened in slab-allocated structures, especially if the structure's first member is a next pointer. This also reduces the memory needed by 1 pointer per allocated object. OTOH, we now rely on pages being aligned to their size's multiple, which is quite common anyway.
-
- Mar 18, 2021
-
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
BGP statistics code was preliminary and i wanted to replace it by separate 'show X stats' command. The patch hides the preliminary output in 'show protocols all' so it is not part of the released version.
- Mar 17, 2021
-
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
-
- Mar 16, 2021
-
-
Ondřej Zajíček authored
Pipe channels are kind-of implicit, so setting protocol debug flags should also set pipe debug flags.
-
Ondřej Zajíček authored
In OSPFv3, only Hello and DBDes packets contain flags specifying whether RFC 7166 authentication trailer is used. Other packets are processed based on stored authentication state in neighbor structure. Update this state with each received Hello to handle authentication change from reconfigurations. Thanks to Joakim Tjernlund and Kenth Eriksson for the bugreport.
-
- Mar 15, 2021
-
-
Ondřej Zajíček authored
When a link-local address is set, use the existing iface for scope. Thanks to Marcel Krüger for the bugreport.
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
-
- Mar 12, 2021
-
-
Ondřej Zajíček authored
In general, events are code handling some some condition, which is scheduled when such condition happened and executed independently from I/O loop. Work-events are a subgroup of events that are scheduled repeatedly until some (often significant) work is done (e.g. feeding routes to protocol). All scheduled events are executed during each I/O loop iteration. Separate work-events from regular events to a separate queue and rate limit their execution to a fixed number per I/O loop iteration. That should prevent excess latency when many work-events are scheduled at one time (e.g. simultaneous reload of many BGP sessions).
-
- Mar 10, 2021
-
-
Ondřej Zajíček authored
-
- Mar 09, 2021
-
-
Ondřej Zajíček authored
-
- Feb 12, 2021
-
-
Ondřej Zajíček authored
Also, no automatic reload for BGP channels without import/export table.
-
- Feb 10, 2021
-
-
Ondřej Zajíček authored
-
This is an implementation of draft-walton-bgp-hostname-capability-02. It is implemented since quite some time for FRR and in datacenter, this gives a nice output to avoid using IP addresses. It is disabled by default. The hostname is retrieved from uname(2) and can be overriden with "hostname" option. The domain name is never set nor displayed. Minor changes by committer.
-
Ondřej Zajíček authored
If there are roa_check() calls in channel filters, then the channel subscribes to ROA table notifications, which are sent when ROA tables are updated (subject to settle time) and trigger channel reload or refeed.
-
- Feb 07, 2021
-
-
Ondřej Zajíček authored
Add macros for recursive filter iteration that allows to examine all instructions reachable from a filter.
-
- Jan 22, 2021
-
-
Ondřej Zajíček authored
Flag signalling that MP-BGP mode should be used got reset after first batch of routes, so remaining routes were processed without that, leading to missing MP_REACH_NLRI attribute. Thanks to Piotr Wydrych for the bugreport.
-
- Jan 14, 2021
-
-
Ondřej Zajíček authored
With net.ipv4.conf.XXX.ignore_routes_with_linkdown sysctl, a user can ensure the kernel does not use a route whose target interface is down. Such route is marked with a 'dead' / RTNH_F_DEAD flag. Ignore these routes or multipath nexthops during scan. Thanks to Vincent Bernat for the original patch.
-
- Jan 12, 2021
-
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
Add fake MP_REACH_NLRI attribute with BGP next hop when encoding MRT table dumps for IPv6 routes. That is necessary to encode next hop as NEXT_HOP attribute is not used for MP-BGP. Thanks to Santiago Aggio for the bugreport.
-
- Jan 10, 2021
-
-
Ondřej Zajíček authored
Direct BFD sessions needs to be dispatched not only by IP addresses, but also by interfaces, in order to avoid collisions between neighbors with the same IPv6 link-local addresses. Extend BFD session hash_ip key by interface index to handle that. Use 0 for multihop sessions. Thanks to Sebastian Hahn for the original patch.
-
- Jan 07, 2021
-
-
Ondřej Zajíček authored
It was mixed-up if hostname is IPv6 address, and reporting separate values (like port) on separate lines fits better into key-value style of 'show protocols all' output. Also, the patch simplifies transport identification formatting (although it is unused now). Thanks to Alarig Le Lay for the suggestion.
-
Ondřej Zajíček authored
So one can define kernel protocol template without channels. For other protocols, it is either irrelevant or already done. Thanks to Clemens Schrimpe for the bugreport.
-
Ondřej Zajíček authored
Also remove description of (no longer supported) per-route 'bfd' option, and add examples of IPv6 routes with link-local nexthops.
-
- Jan 06, 2021
-
-
Ondřej Zajíček authored
No longer needed after redesign of export handling.
-
Ondřej Zajíček authored
The option is not implemented since transition to 2.0 and no plan to add it. Also remove some deprecated RTS_* valus from documentation. Thanks to Sébastien Parisot for notification.
-
Ondřej Zajíček authored
For ECMP routes, RTA_FLOW attribute must be set per-nexthop, not per-route. Our corresponding krt_realm attribute is per-route. Thanks to Mikhail Petrov for the bugreport.
-
- Dec 29, 2020
-
-
(Minor syntactic changes by committer)
-
- Dec 28, 2020
-
-
Ondřej Zajíček authored
We need to define 'net' field temporarily as it may be accessed by per-route filters. Thanks to Damian Zaremba for the bugreport.
-
Ondřej Zajíček authored
Broken detection of top-level case caused crash when return was called from top-of-stack position. It should behave as reject/accept. Thanks to Damian Zaremba for the bugreport.
-