Maria Matejka
24d2259dc8
Typed lists: enabled defining the list structure independently on the node
2024-06-24 09:42:03 +02:00
Maria Matejka
247d4b538d
Event: fixed race condition between ev_send and ev_postpone
2024-06-24 09:42:03 +02:00
Maria Matejka
05e73911d7
IO loop: fixed local hot page cache flushing condition
2024-06-24 09:42:03 +02:00
Maria Matejka
3b50b11e9a
lib/printf_test.c: test on strcmp fixed
...
we mistakenly required the return value to be only -1, 0 or 1
2024-06-24 09:42:03 +02:00
Maria Matejka
f4d4f81c7d
BGP: Fixed corking of RX
...
If cork occurred after some incoming data had been already processed,
BGP incorrectly processed them again after uncorking because it forgot
to store the actual socket state.
Now storing the socket state (done at the end of bgp_rx()) and
therefore the bug is fixed.
2024-06-24 09:42:03 +02:00
Maria Matejka
aee44d1ef0
Fixed in-table route refresh counter to not randomly add 256
2024-06-24 09:42:03 +02:00
Maria Matejka
8408d5c4e1
Fixed hostcache notifier pool
...
This pool has to be the service pool to allow the seq bitmaps to grow
from the exporter and feeder routines
2024-06-24 09:42:03 +02:00
Maria Matejka
cdadd2b53d
Fixed reporting about exported routes
2024-06-24 09:42:03 +02:00
Maria Matejka
6a6f291c7d
Fixed annoying undefined values with nexthops
2024-06-24 09:42:03 +02:00
Maria Matejka
4a2dc1dc8b
Undefined behavior fix
2024-06-24 09:42:03 +02:00
Maria Matejka
683b59bba0
CLang compilation fix
2024-06-24 09:42:03 +02:00
Maria Matejka
2900a608f0
L3VPN: Setting the bgp_ext_community flags properly
2024-05-19 11:27:18 +02:00
Ondrej Zajicek
5d5c431a3c
Merge commit '0b684a43bd7ce4a32c9cd7754b88286bcd1815bb' into thread-next
2024-04-01 18:24:10 +02:00
Ondrej Zajicek
477b3e5c98
Merge commit '66d6ac70856bdb29840983454373bb10a532e4f7' into thread-next
2024-04-01 18:21:37 +02:00
Ondrej Zajicek
0883ce66bf
Merge commit '1b064355f752b9bfe4644f775697bbd9b711f762' into thread-next
2024-04-01 18:20:18 +02:00
Ondrej Zajicek
294b9763ce
Merge commit '114be2af28e5c124bd479a487f89244ba99c272d' into thread-next
2024-04-01 03:15:33 +02:00
Ondrej Zajicek
f27d1bae0f
Merge commit '26dd61ee7f91c15157601b2404de5b6500a6061c' into thread-next
2024-04-01 03:01:59 +02:00
Ondrej Zajicek
a0ec075de3
Merge commit '2d0652dd1088395c50df8fe1a99f1111b44688c6' into thread-next
2024-04-01 03:00:10 +02:00
Ondrej Zajicek
07757b8a0c
Filter: Initialize route attribute flags properly
...
Move 'flags' field back to ea_class, so filtering code can use it to
initialize route attribute flags when set by filters.
2024-04-01 02:53:25 +02:00
Ondrej Zajicek
0bcc7a9316
Merge commit '44a16bff6cbf3f5ae8db21ffcec602bc51295d0a' into thread-next
2024-03-28 20:03:46 +01:00
Ondrej Zajicek
d556788282
Merge commit '5c04f0e2354ff0cca9b1479e68882b72755f3aab' into thread-next
...
(No need for deprecated names in BIRD 3.)
2024-03-28 20:00:50 +01:00
Ondrej Zajicek
4036da3732
Nest: Fix bitfield attributes
...
Fix missing route lookup, causing crash when accessing route attribute.
Also fix additional space in bitfield formatting.
2024-03-28 19:46:24 +01:00
Ondrej Zajicek
f47ca71d77
Merge commit 'e68363909cb9733c1bf55fff80a8b034e4111849' into thread-next
2024-03-28 19:16:44 +01:00
Ondrej Zajicek
1beafe3eea
Fix merge commit c195c7a0d5
2024-03-28 17:55:43 +01:00
Ondrej Zajicek
d548665de8
Merge commit '225943eaea3cdd634dce8fd84547baf1bc363640' into thread-next
2024-03-28 17:46:04 +01:00
Ondrej Zajicek
c195c7a0d5
Merge commit '224a152c53f304881f8616a1c9255b467062a069' into thread-next
2024-03-28 16:22:23 +01:00
Ondrej Zajicek
62c9f12dfc
Merge commit '574d7eb241a60622b0573ab1460cb23d968ba1cc' into thread-next
2024-03-28 15:00:40 +01:00
Ondrej Zajicek
af4d838af5
Merge commit 'f40e2bc270d3635be518ae80251ce0b5c519c6f4' into thread-next
...
(empty merge, no fix needed in thread-next)
2024-03-28 14:50:25 +01:00
Ondrej Zajicek
df0dee54b0
Revert "Temporarily disabling L3VPN netlab test, has no data for v3"
...
This reverts commit 000dbf737c
.
2024-03-28 01:01:33 +01:00
Ondrej Zajicek
d2a531a92b
L3VPN: Fix missing rte_owner_class registration
2024-03-28 00:55:19 +01:00
Ondrej Zajicek
468f1d6547
Nest: Improve printing of hostentries with MPLS labels
...
MPLS labels in hostentry should be printed with 'mpls' keyword instead of
'labels' to be consistent with the rest of the 'show route' output.
2024-03-27 23:26:25 +01:00
Ondrej Zajicek
eadebc287b
Nest: Fix printing of hostentry table
...
When hostentry is printed, it should show the table in which the nexthop
is resolved, not the dependend one.
2024-03-27 23:16:51 +01:00
Ondrej Zajicek
0b684a43bd
NEWS and version update
2024-03-22 01:40:43 +01:00
Ondrej Zajicek
a698f8d917
Static: Fix invalid combination of nexthop options
...
BFD requires defined local IP, but for nexthop with onlink there might
not be such address. So we reject this combination of nexthop options.
This prevent crash where such combination of options is used.
2024-03-22 00:40:06 +01:00
Ondrej Zajicek
d21a508e8d
Revert "OSPF: On physical PtP links, skip next-hop resolving"
...
This reverts commit 31aa62ae6d
.
2024-03-21 15:59:26 +01:00
Ondrej Zajicek
46a4932574
Merge commit '44e351d1522f0099687aac9fd65dcea73a04af43'
2024-03-21 15:58:52 +01:00
Ondrej Zajicek
66d6ac7085
Babel: Fix build with limited set of protocols
2024-03-19 15:39:46 +01:00
Ondrej Zajicek
06209c1917
Aggregator: Fix build with limited set of protocols
2024-03-19 15:39:19 +01:00
Michal Zagorski
099898ffdd
Static: Fix build with limited set of protocols
2024-03-11 12:57:13 +01:00
Ondrej Zajicek
adfff44878
NEWS and version update
2024-03-10 18:57:04 +01:00
Ondrej Zajicek
1b064355f7
Client: Add support for completion of command options
...
We can easily extend command completion to handle also keywords for
command options. Help for command options is not yet supported.
2024-03-05 19:04:10 +01:00
Ondrej Zajicek
114be2af28
Filter: Add route attribute gw_mpls_stack
...
Add route attribute gw_mpls_stack to make MPLS stack of route nexthop
accessible from filters. Its type is T_CLIST, which is really not correct
(as it is a list, while T_CLIST is a set). Therefore, we keep this
attribute *undocumented* and it will be *changed* without further notice.
Based on a patch from Trisha Biswas <tbiswas@fastly.com>, thanks!
2024-03-05 16:47:08 +01:00
Ondrej Zajicek
26dd61ee7f
BFD: Add arguments to 'show bfd sessions' command
...
Add several arguments to 'show bfd sessions' command to filter
the list of sessions.
2024-03-05 00:02:16 +01:00
Ondrej Zajicek
4737937375
BFD: Improve 'show bfd sessions all' command
2024-03-04 23:51:37 +01:00
Katerina Kubecova
a48dc5efe0
BFD: Show session for ip / ip prefix
2024-03-04 23:35:10 +01:00
Katerina Kubecova
37bf207843
BFD: show bfd sessions all
2024-03-04 23:35:10 +01:00
Job Snijders
e2728c8078
RPKI: Add 'local address' configuration option
...
Allow to explicitly configure the source IP address for RPKI-To-Router
sessions. Predictable source addresses are useful for minimizing the
holes to be poked in ACLs.
Changed from 'source address' to 'local address' by committer.
2024-02-22 14:58:29 +01:00
Ondrej Zajicek
2d0652dd10
BGP: Maintain valid route attribute flags even in local tables
...
BGP route attributes have flags (Optional, Transitive) that are validated
on decode and set to valid value on export. But if such attribute is
modified by filter or set internally by BGP during import, then its flags
would be zero in local tables. That usually does not matter, as they are
not used locally and they were fixed on export, but invalid flags leaked
in BMP and MRT dumps.
Keep route attribute flags set to valid values even when set by filters
or modified by BGP.
2024-02-20 17:39:05 +01:00
Job Snijders
44a16bff6c
BGP: Update SendHoldTimer BGP Error code
...
IANA registered an "Early Allocation" BGP Error code for 'Send Hold
Timer Expired' event. Update BIRD to use that error code.
2024-02-18 09:06:52 +01:00
Ondrej Zajicek
c3335b5044
Static: Allow to define both nexthop and interface
...
Allow to define both nexthop and interface using iproute2-like syntax,
e.g.: route 10.0.0.0/16 via 10.1.0.1 dev "eth0";
Now we can avoid to use link-local scope hack (e.g. 10.1.0.1%eth0)
for cases where both nexthop and interface have to be defined.
Thanks to Marcin Saklak for the suggestion.
2024-02-16 18:44:40 +01:00