Maria Matejka
ef16f07633
Fixed annoying undefined values with nexthops
2024-05-18 15:46:53 +02:00
Maria Matejka
3a2e423d3e
Undefined behavior fix
2024-05-18 15:41:33 +02:00
Maria Matejka
3371ea0843
CLang compilation fix
2024-05-18 15:41:10 +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
Maria Matejka
b95dc8f29f
Expanded usage of stdbool.h to the whole BIRD
2024-03-25 09:39:58 +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
Ondrej Zajicek
5c04f0e235
Netlink: Fix spelling of krt_ssthresh / krt_lock_ssthresh
...
BIRD route attribute for RTAX_SSTHRESH metric was krt_sstresh instead of
krt_ssthresh. Fix that and keep old name as an depreacted alias.
2024-02-16 15:00:03 +01:00
Ondrej Zajicek
e68363909c
Netlink: Cleanups in route metrics
...
- Add krt_fastopen_no_cookie atttibute
- Add missing krt_lock_* bits
- Fix krt_feature_allfrag
- Fix type of EA_KRT_LOCK and EA_KRT_FEATURES
2024-02-16 15:00:03 +01:00
Ondrej Zajicek
225943eaea
Filter: Add support for setting TCP congestion control algorithm
...
Allow to set TCP congestion control algorithm using krt_congctl
route attribute.
Based on patch from Trisha Biswas <tbiswas@fastly.com>, thanks!
2024-02-14 14:29:19 +01:00
Ondrej Zajicek
224a152c53
Filter: Add support for string route attribute
2024-02-14 14:29:19 +01:00
Alexander Zubkov
574d7eb241
BGP: Allow multiple EBGP neighbors with the same peer.
...
We can distinguish BGP sessions if at least one side uses a different IP
address. Extend olock mechanism to handle local IP as a part of key, with
optional wildcard, so BGP sessions could local IP in the olock and not
block themselves.
2024-02-07 19:11:10 +01:00
Inrin
0b52f7c01f
birdc: Do not execute cmd on noninteractive help request
...
The help command triggered by '?' keeps the message in readline buffer,
so it could be edited. For noninteractive shell it leads to an unexpected
side effect that `echo <cmd> ? | birdc` executes the command <cmd> after
showing its help. Avoid this by clearing the readline buffer in such case.
2024-02-06 19:03:14 +01:00
Ondrej Zajicek
ff2ebdc7e1
BGP: Increase max length of notification data in error logs
...
Increase max length of notification data in error logs from 16 to 128.
There is already enough space in the buffer.
Thanks to Marco d'Itri for the suggestion.
2024-02-06 18:34:55 +01:00
Maria Matejka
3b217f2984
Fixed L3VPN after merge to v3.
...
Semantics of rt_get_source() has changed between v2 and v3. Also other
minor fixes were needed to make it run.
2024-01-30 23:14:10 +01:00