]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
4 months agobye bye eol ubuntus centos7-pckg
Maria Matejka [Tue, 1 Apr 2025 09:31:52 +0000 (11:31 +0200)] 
bye bye eol ubuntus

4 months agofix debian testing dockerfiles
Maria Matejka [Tue, 1 Apr 2025 09:19:41 +0000 (11:19 +0200)] 
fix debian testing dockerfiles

4 months agofixup! Doc: autoconvertor of our SGML to Markdown
Maria Matejka [Tue, 1 Apr 2025 09:14:49 +0000 (11:14 +0200)] 
fixup! Doc: autoconvertor of our SGML to Markdown

4 months agodockerfile fices
Maria Matejka [Tue, 1 Apr 2025 09:13:13 +0000 (11:13 +0200)] 
dockerfile fices

4 months agosome comments to CI
Maria Matejka [Tue, 1 Apr 2025 08:59:23 +0000 (10:59 +0200)] 
some comments to CI

4 months agoMerge branch 'master' into centos7-pckg
Jana Babovakova [Mon, 31 Mar 2025 15:36:28 +0000 (17:36 +0200)] 
Merge branch 'master' into centos7-pckg

4 months agoMerge 2/2: all docker changes from jb_distr_list2.
Jana Babovakova [Mon, 31 Mar 2025 15:22:15 +0000 (17:22 +0200)] 
Merge 2/2: all docker changes from jb_distr_list2.

4 months agoMerge 1/2: all yaml changes from jb_distr_list2.
Jana Babovakova [Mon, 31 Mar 2025 15:21:01 +0000 (17:21 +0200)] 
Merge 1/2: all yaml changes from jb_distr_list2.

4 months agoBGP: Forbid TCP-AO on dynamic BGP sessions
Ondrej Zajicek [Mon, 31 Mar 2025 14:21:47 +0000 (16:21 +0200)] 
BGP: Forbid TCP-AO on dynamic BGP sessions

Reconfiguration does not work properly for this case, disable it for now.

4 months agoTCP-AO revised version
Ondrej Zajicek [Sun, 12 Jan 2025 12:32:37 +0000 (13:32 +0100)] 
TCP-AO revised version

Reworked and finalized version of TCP-AO.

4 months agoTCP-AO implementation based on RFC 5925
Kateřina Kubecová [Wed, 26 Jun 2024 07:23:12 +0000 (09:23 +0200)] 
TCP-AO implementation based on RFC 5925

Uses Linux TCP-AO. Tested against JUNIPER.

4 months agoCherry-pick to add lost data for ubuntu dockers.
Jana Babovakova [Thu, 27 Mar 2025 13:54:19 +0000 (14:54 +0100)] 
Cherry-pick to add lost data for ubuntu dockers.

4 months agoMerge branch 'jb_distribution_list' into centos7-pckg
Jana Babovakova [Fri, 28 Mar 2025 13:18:06 +0000 (14:18 +0100)] 
Merge branch 'jb_distribution_list' into centos7-pckg

4 months agoMerge branch 'master' into centos7-pckg
Jana Babovakova [Fri, 28 Mar 2025 11:46:19 +0000 (12:46 +0100)] 
Merge branch 'master' into centos7-pckg

4 months agoBFD: Fix crash related to reconfiguration and passwords oz-test2
Ondrej Zajicek [Thu, 27 Mar 2025 16:43:56 +0000 (17:43 +0100)] 
BFD: Fix crash related to reconfiguration and passwords

Any change in BFD iface configuration should trigger session
reconfiguration, as config is copied into the bfd_session structure
and not just accessed through the bfd_iface structure.

As bfd_session now contains a pointer to the password list allocated
from the configuration, forgetting to update the bfd_session causes
use-after-free.

Thanks to Lexi Winter for the bugreport.

4 months agoCI: Re-add bgp-rs-singletab
Ondrej Zajicek [Thu, 27 Mar 2025 16:41:35 +0000 (17:41 +0100)] 
CI: Re-add bgp-rs-singletab

(was accidentally removed by the previous commit)

4 months agoRemoved unused Docker for Debian 7,8,9.
Jana Babovakova [Thu, 27 Mar 2025 14:59:07 +0000 (15:59 +0100)] 
Removed unused Docker for Debian 7,8,9.

4 months agoDelete unused docker for centos 6.
Jana Babovakova [Thu, 27 Mar 2025 14:51:26 +0000 (15:51 +0100)] 
Delete unused docker for centos 6.

4 months agoDisabled missing installation and broken pkg.
Jana Babovakova [Thu, 27 Mar 2025 14:38:27 +0000 (15:38 +0100)] 
Disabled missing installation and broken pkg.

4 months agoCI: Ubuntu 16.4, 20.-24.4/10.
Jana Babovakova [Thu, 27 Mar 2025 13:54:19 +0000 (14:54 +0100)] 
CI: Ubuntu 16.4, 20.-24.4/10.

4 months agoCI: OpenSuse Leap 15.4, 15.5 not available.
Jana Babovakova [Thu, 27 Mar 2025 11:29:17 +0000 (12:29 +0100)] 
CI: OpenSuse Leap 15.4, 15.5 not available.

4 months agoComment to Fedora 42.
Jana Babovakova [Thu, 27 Mar 2025 11:28:08 +0000 (12:28 +0100)] 
Comment to Fedora 42.

4 months agoBabel: Add option 'next hop prefer' to control next hops of IPv4 routes
Ondrej Zajicek [Thu, 27 Mar 2025 01:50:35 +0000 (02:50 +0100)] 
Babel: Add option 'next hop prefer' to control next hops of IPv4 routes

By default, the Babel protocol will advertise IPv4 routes with an IPv6
next hop address only on interfaces which do not have an IPv4 address.

Add option 'next hop prefer' to control whether IPv4 routes should use
IPv4 or IPv6 next hop when both are available.

Based on the patch from Chris Webb, thanks!

4 months agoCI: apkg breakage: debian 12, debian testing.
Jana Babovakova [Wed, 26 Mar 2025 13:47:18 +0000 (14:47 +0100)] 
CI: apkg breakage: debian 12, debian testing.

4 months agoCI: Added OpenSuse Leap 15.4, 15.5 .
Jana Babovakova [Wed, 26 Mar 2025 13:43:26 +0000 (14:43 +0100)] 
CI: Added OpenSuse Leap 15.4, 15.5 .

4 months agoCI: Enable Debian 10, 11, 12, testing.
Jana Babovakova [Wed, 26 Mar 2025 13:22:50 +0000 (14:22 +0100)] 
CI: Enable Debian 10, 11, 12, testing.

4 months agoCI: Enabled Fedora 32 - 41.
Jana Babovakova [Wed, 26 Mar 2025 13:07:50 +0000 (14:07 +0100)] 
CI: Enabled Fedora 32 - 41.

4 months agoFix previous: added build fedora 41,42.
Jana Babovakova [Wed, 26 Mar 2025 12:39:14 +0000 (13:39 +0100)] 
Fix previous: added build fedora 41,42.

4 months agoCI: Added Fedora 41, Fedora 42.
Jana Babovakova [Wed, 26 Mar 2025 12:26:18 +0000 (13:26 +0100)] 
CI: Added Fedora 41, Fedora 42.

4 months agoFilter: Add tests for 'case' expressions
Jana Babovakova [Tue, 25 Mar 2025 16:52:26 +0000 (17:52 +0100)] 
Filter: Add tests for 'case' expressions

4 months agoCI: Add bgp-rs-singletab
Ondrej Zajicek [Tue, 25 Mar 2025 15:29:51 +0000 (16:29 +0100)] 
CI: Add bgp-rs-singletab

(For some reason, it is not enabled in CI)

4 months agoDocs: new link local format added to BGP outline.
Jana Babovakova [Tue, 25 Mar 2025 10:34:27 +0000 (11:34 +0100)] 
Docs: new link local format added to BGP outline.

4 months agoBGP: Add option to specify format of link-local next hop
Ondrej Zajicek [Mon, 24 Mar 2025 16:09:25 +0000 (17:09 +0100)] 
BGP: Add option to specify format of link-local next hop

When a BGP session is established using link-local next hop addresses,
there is no global IPv6 address for next hop. Implementations differ on
how to encode such next hop. This leads to interoperability problems.

Add the option 'link local next hop format' to specify which format to
use when encoding such next hops.

Based on a patch from Andrey V. Elsukov and Georgy Kirichenko, submitted
by Aleksandr Stepanov, thanks!

4 months agoBGP: Fix missing case for decoding link-local next hops in VPN SAFI
Ondrej Zajicek [Mon, 24 Mar 2025 16:03:41 +0000 (17:03 +0100)] 
BGP: Fix missing case for decoding link-local next hops in VPN SAFI

4 months agoCI: Remove broken package builds
Ondrej Zajicek [Sat, 22 Mar 2025 01:04:02 +0000 (02:04 +0100)] 
CI: Remove broken package builds

Some package build tests were broken due to apkg changes,
disable them temporarily.

4 months agoDocs: Changed "&lt;", "&gt;" to "<",">" in <code>.
Jana Babovakova [Mon, 17 Mar 2025 14:56:45 +0000 (15:56 +0100)] 
Docs: Changed "&lt;", "&gt;" to "<",">" in <code>.

4 months agoDocs: Replaced "M>" with "m>" (maintainability).
Jana Babovakova [Mon, 17 Mar 2025 14:45:14 +0000 (15:45 +0100)] 
Docs: Replaced "M>" with "m>" (maintainability).

4 months agoDocs: Replaced "<M>num</M>" with "<M>number</M>".
Jana Babovakova [Mon, 17 Mar 2025 14:42:07 +0000 (15:42 +0100)] 
Docs: Replaced "<M>num</M>" with "<M>number</M>".

4 months agoDocs: Replaced "&lt;num&gt;" with &lt;number&gt;.
Jana Babovakova [Mon, 17 Mar 2025 14:39:19 +0000 (15:39 +0100)] 
Docs: Replaced "&lt;num&gt;" with &lt;number&gt;.

4 months agol3vpn.c: set proper flag when setting EA_BGP_EXT_COMMUNITY fixup-l3vpn
Katerina Kubecova [Fri, 21 Mar 2025 13:17:47 +0000 (14:17 +0100)] 
l3vpn.c: set proper flag when setting EA_BGP_EXT_COMMUNITY

4 months agoASPA: added official tests
Maria Matejka [Tue, 18 Mar 2025 04:34:46 +0000 (05:34 +0100)] 
ASPA: added official tests

from Sriram Kotikalapudi's presentation for IETF 122.

4 months agoLog: Fix handling of L_BUG messages
Ondrej Zajicek [Fri, 14 Mar 2025 15:49:36 +0000 (16:49 +0100)] 
Log: Fix handling of L_BUG messages

Due to an off-by-one error, L_BUG messages (e.g. from ASSERT()) were
handled as L_DBG messages and therefore ignored by our CI.

4 months agoDoc: Replace <m/num/ with <m/number/
Ondrej Zajicek [Sun, 9 Mar 2025 21:58:31 +0000 (22:58 +0100)] 
Doc: Replace <m/num/ with <m/number/

Both variants were used inconsistently, the second one is more frequent
and more expressive.

4 months agoDoc: Add BGP reconfiguration section
Jana Babovakova [Wed, 5 Mar 2025 14:10:02 +0000 (15:10 +0100)] 
Doc: Add BGP reconfiguration section

Some changes by committer.

4 months agoDoc: Minor fixes in BGP options
Jana Babovakova [Wed, 5 Mar 2025 14:08:03 +0000 (15:08 +0100)] 
Doc: Minor fixes in BGP options

4 months agoDoc: Add BGP protocol outline
Jana Babovakova [Wed, 5 Mar 2025 14:05:43 +0000 (15:05 +0100)] 
Doc: Add BGP protocol outline

5 months agoBGP: Fix reconfiguration of hostname option
Ondrej Zajicek [Thu, 6 Mar 2025 15:09:36 +0000 (16:09 +0100)] 
BGP: Fix reconfiguration of hostname option

The old code did not properly compare and update hostname strings,
causing BGP restarts during reconfigurations.

5 months agoNest: Fix locking of tables by channels
Ondrej Zajicek [Thu, 6 Mar 2025 02:43:15 +0000 (03:43 +0100)] 
Nest: Fix locking of tables by channels

Channels that are down keep ptr on routing tables but do not keep them
locked. It is safe because the existence of tables depend on being
configured. But when a table is removed during reconfiguration, the
channel kept a dangling pointer since it fell down until it was removed.
This could be triggered by 'show protocols all' and other similar.

Change locking so that a channel kept a table locked for its whole
existence. The same change is already in BIRD 3.

Note that this is somewhat conceptually problematic as downed channels
do not keep resources. Also, other objects in specialized channels
(igp_table, base_table in bgp_channel, mpls_domain / mpls_range in
mpls_channel) are still locked only when channel is active, but for
them it is easier to keep track that they are not accessed when
they are deconfigured.

5 months agoFix dependecy issue with bs4 on legacy distros
David Petera [Fri, 28 Feb 2025 14:40:04 +0000 (15:40 +0100)] 
Fix dependecy issue with bs4 on legacy distros

5 months agoFix getting the version tag. Now it should also support older versions of git
David Petera [Tue, 18 Feb 2025 11:38:13 +0000 (12:38 +0100)] 
Fix getting the version tag. Now it should also support older versions of git

5 months agoCI: Add hostname test to CI
Ondrej Zajicek [Tue, 25 Feb 2025 15:52:00 +0000 (16:52 +0100)] 
CI: Add hostname test to CI

5 months agoAdd option hostname for each protocol
Jana Babovakova [Wed, 12 Feb 2025 16:06:39 +0000 (17:06 +0100)] 
Add option hostname for each protocol

5 months agoInstall comment updated by Maria
Jana Babovakova [Tue, 11 Feb 2025 11:01:59 +0000 (12:01 +0100)] 
Install comment updated by Maria

5 months agoUpdated router id docs to 4-byte integer.
Jana Babovakova [Mon, 24 Feb 2025 13:39:29 +0000 (14:39 +0100)] 
Updated router id docs to 4-byte integer.

5 months agolib: Unify alignment of allocators
Ondrej Zajicek [Thu, 9 Jan 2025 15:44:51 +0000 (16:44 +0100)] 
lib: Unify alignment of allocators

Different internal allocators (memory blocks, linpools, and slabs) used
different way to compute alignment. Unify it to use alignment based on
standard max_align_t type.

On x86_64, this does not change alignment of memory blocks and linpools
(both old and new is 16), but it increases alignment of slabs from 8 to
16.

5 months agoUpdate obsolete RFC 5575 to newer RFCs 8955 / 8956
Ondrej Zajicek [Tue, 4 Feb 2025 15:07:09 +0000 (16:07 +0100)] 
Update obsolete RFC 5575 to newer RFCs 8955 / 8956

6 months agoReadd CentOS 7 to CI build and package process
David Petera [Fri, 31 Jan 2025 13:08:49 +0000 (14:08 +0100)] 
Readd CentOS 7 to CI build and package process

6 months agoAdd archived repositories for CentOS 8
David Petera [Fri, 31 Jan 2025 13:07:33 +0000 (14:07 +0100)] 
Add archived repositories for CentOS 8

6 months agoRemove links to czech repos in EOL debians and add archived repos for debian 9
David Petera [Fri, 17 Jan 2025 12:50:47 +0000 (13:50 +0100)] 
Remove links to czech repos in EOL debians and add archived repos for debian 9

6 months agofixup! fixup! use python venv for debian
Maria Matejka [Mon, 13 Jan 2025 22:04:57 +0000 (23:04 +0100)] 
fixup! fixup! use python venv for debian

6 months agofixup! use python venv for debian
Maria Matejka [Mon, 13 Jan 2025 21:49:16 +0000 (22:49 +0100)] 
fixup! use python venv for debian

6 months agouse python venv for debian
Maria Matejka [Mon, 13 Jan 2025 21:21:43 +0000 (22:21 +0100)] 
use python venv for debian

6 months agofixup! Update build and package targets
Maria Matejka [Mon, 13 Jan 2025 21:01:50 +0000 (22:01 +0100)] 
fixup! Update build and package targets

6 months agoUpdate build and package targets
Maria Matejka [Fri, 10 Jan 2025 17:09:01 +0000 (18:09 +0100)] 
Update build and package targets

Fedora builds for 32-41, Debian up to 12, Ubuntu up to 24.10.

Includes autorebuilder if a Dockerfile changes.

The CI file is obnoxiously boilerplaty. TODO: generate it from a list?

6 months agoUpdate the obsoleted RFC 5575 by newer RFCs 8955 (ipv4) and 8956 (ipv6)
David Petera [Fri, 10 Jan 2025 12:22:47 +0000 (13:22 +0100)] 
Update the obsoleted RFC 5575 by newer RFCs 8955 (ipv4) and 8956 (ipv6)

6 months agoFix the flow6 label description and example
David Petera [Fri, 10 Jan 2025 12:16:34 +0000 (13:16 +0100)] 
Fix the flow6 label description and example

6 months agoFix error in example of direct protocol
David Petera [Thu, 30 Jan 2025 13:24:34 +0000 (14:24 +0100)] 
Fix error in example of direct protocol

6 months agoReleasing: a new tgz generator script
Maria Matejka [Fri, 24 Jan 2025 09:34:42 +0000 (10:34 +0100)] 
Releasing: a new tgz generator script

Also version detection is done by a separate script, not a magic line in
the Makefile.

6 months agoCI: temporarily disabling broken birdlab runners
Maria Matejka [Fri, 24 Jan 2025 08:50:52 +0000 (09:50 +0100)] 
CI: temporarily disabling broken birdlab runners

6 months agoCI: Added the release confirm metajob
Maria Matejka [Thu, 23 Jan 2025 21:30:43 +0000 (22:30 +0100)] 
CI: Added the release confirm metajob

6 months agoSeparate documentation autobuild
Maria Matejka [Mon, 20 Jan 2025 17:26:34 +0000 (18:26 +0100)] 
Separate documentation autobuild

This is expected to hit a webhook inside our CI to trigger
automatic deployment to testweb.

6 months agoDoc: autoconvertor of our SGML to Markdown
Maria Matejka [Sun, 19 Jan 2025 00:06:24 +0000 (01:06 +0100)] 
Doc: autoconvertor of our SGML to Markdown

Some minor changes were done in the original documentation to allow for
easier conversion, and also to make the documentation a little bit more
strictly valid.

6 months agoFix typo in docs
David Petera [Thu, 16 Jan 2025 10:15:26 +0000 (11:15 +0100)] 
Fix typo in docs

6 months agoNEWS and version update v2.16.1
Maria Matejka [Thu, 9 Jan 2025 20:51:15 +0000 (21:51 +0100)] 
NEWS and version update

6 months agolib: Unify alignment of allocators
Ondrej Zajicek [Thu, 9 Jan 2025 15:44:51 +0000 (16:44 +0100)] 
lib: Unify alignment of allocators

Different internal allocators (memory blocks, linpools, and slabs) used
different way to compute alignment. Unify it to use alignment based on
standard max_align_t type.

On x86_64, this does not change alignment of memory blocks and linpools
(both old and new is 16), but it increases alignment of slabs from 8 to
16.

Minor changes by commiter.

6 months agoDebian: Depend on libssh's default flavor pkg-v2
Jakub Ružička [Mon, 16 Dec 2024 13:33:26 +0000 (14:33 +0100)] 
Debian: Depend on libssh's default flavor

This mirrors Debian bird2 change, gcrypt flavor is deprecated.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074257

6 months agoDebian: Update Standards-Version to latest 4.7.0
Jakub Ružička [Mon, 16 Dec 2024 13:28:59 +0000 (14:28 +0100)] 
Debian: Update Standards-Version to latest 4.7.0

6 months agoDebian: Reformat with wrap-and-sort -bast
Jakub Ružička [Mon, 16 Dec 2024 13:28:12 +0000 (14:28 +0100)] 
Debian: Reformat with wrap-and-sort -bast

6 months agoDebian: Add BuildDepends: ca-certificates
Jakub Ružička [Wed, 4 Dec 2024 18:24:38 +0000 (19:24 +0100)] 
Debian: Add BuildDepends: ca-certificates

This should reportedly fix test issues on ARM.

6 months agoDebian: Add Rules-Requires-Root: no to d/control
Jakub Ružička [Tue, 10 Oct 2023 11:04:08 +0000 (13:04 +0200)] 
Debian: Add Rules-Requires-Root: no to d/control

6 months agoStatic: fixed ASPA reconfiguration mq-fix-static-aspa
Maria Matejka [Thu, 26 Dec 2024 10:34:02 +0000 (11:34 +0100)] 
Static: fixed ASPA reconfiguration

Due to an oversight, the provider lists weren't compared on reconfiguration.

Reported-By: Ralph Covelli <rcovelli@he.net>
6 months agoCI: Cleanup tests for single protocol builds
Ondrej Zajicek [Wed, 8 Jan 2025 23:49:19 +0000 (00:49 +0100)] 
CI: Cleanup tests for single protocol builds

BFD and MRT can be built independently, only BMP requires BGP.

6 months agoBMP: Cleanup keyword declarations
Ondrej Zajicek [Wed, 8 Jan 2025 23:46:37 +0000 (00:46 +0100)] 
BMP: Cleanup keyword declarations

6 months agoBFD: Fix missing keyword declarations
Ondrej Zajicek [Wed, 8 Jan 2025 23:30:37 +0000 (00:30 +0100)] 
BFD: Fix missing keyword declarations

Some keywords were missing for BFD-only build.

6 months agoStatic: fixed ASPA reconfiguration
Maria Matejka [Thu, 26 Dec 2024 10:34:02 +0000 (11:34 +0100)] 
Static: fixed ASPA reconfiguration

Due to an oversight, the provider lists weren't compared on reconfiguration.

Reported-By: Ralph Covelli <rcovelli@he.net>
6 months agoNest: Fix handling of 64-bit rte_src.private_id
Ondrej Zajicek [Tue, 17 Dec 2024 08:00:42 +0000 (09:00 +0100)] 
Nest: Fix handling of 64-bit rte_src.private_id

The commit 21213be523baa7f2cbf0feaa617f265c55e9b17a expanded private_id
in route source to u64, but forgot to modify function arguments, so it
was still cropped at 32-bit, which may cause some collisions for L3VPN.
This patch fixes that.

6 months agoDoc: Fix protocol outline in RPKI
Ondrej Zajicek [Mon, 16 Dec 2024 18:29:27 +0000 (19:29 +0100)] 
Doc: Fix protocol outline in RPKI

Protocol outlines should not contain specific values.

Also fix some space intendation in code sections.

6 months agoLib: Ensure that all net_addr structures have the same alignment
Ondrej Zajicek [Mon, 16 Dec 2024 17:56:30 +0000 (18:56 +0100)] 
Lib: Ensure that all net_addr structures have the same alignment

Also weaken the explicit alignment of net_addr to be u32, as VPN
is already u32-aligned.

6 months agoLib: Data type for VPN route distinguishers
Ondrej Zajicek [Mon, 16 Dec 2024 17:27:42 +0000 (18:27 +0100)] 
Lib: Data type for VPN route distinguishers

Use a distinct data structure for VPN route distinguishers instead
of just u64.

6 months agoNetlink: Handle onlink flag on BSD-Netlink
Ondrej Zajicek [Thu, 12 Dec 2024 03:04:07 +0000 (04:04 +0100)] 
Netlink: Handle onlink flag on BSD-Netlink

On BSD, the onlink flag is not tracked or reported by kernel. We are
using an heuristic that assigns the onlink flag to routes scanned from
the kernel. We should use the same heuristic even in BSD-Netlink
case, as the onlink flag is not reported here too.

Thanks to Björn König for the original patch.

6 months agoBabel: fix seqno wrapping on seqno request
Fabian Bläse [Tue, 10 Dec 2024 01:14:06 +0000 (02:14 +0100)] 
Babel: fix seqno wrapping on seqno request

The Babel seqno wraps around when reaching its maximum value (UINT16_MAX).
When comparing seqnos, this has to be taken into account. Therefore,
plain number comparisons do not work.

7 months agoCI: test building single protocols
Maria Matejka [Tue, 3 Dec 2024 16:27:09 +0000 (17:27 +0100)] 
CI: test building single protocols

Several users build BIRD with excluded support for protocols they don't
need. Testing single-protocol builds; the assumption is that if single
protocols and all protocols are buildable, then possibly any reasonable
combination is buildable as well.

Minor change by committer.

7 months agoFixed several tests which needed static protocol
Maria Matejka [Tue, 3 Dec 2024 19:08:30 +0000 (20:08 +0100)] 
Fixed several tests which needed static protocol

Now they need device protocol which is always built.

7 months agoDisabling filter test unless needed protocols are configured
Maria Matejka [Tue, 3 Dec 2024 19:08:23 +0000 (20:08 +0100)] 
Disabling filter test unless needed protocols are configured

7 months agoNest: Fix handling of 64-bit rte_src.private_id
Ondrej Zajicek [Tue, 17 Dec 2024 08:00:42 +0000 (09:00 +0100)] 
Nest: Fix handling of 64-bit rte_src.private_id

The commit 21213be523baa7f2cbf0feaa617f265c55e9b17a expanded private_id
in route source to u64, but forgot to modify function arguments, so it
was still cropped at 32-bit, which may cause some collisions for L3VPN.
This patch fixes that.

7 months agoDoc: Fix protocol outline in RPKI
Ondrej Zajicek [Mon, 16 Dec 2024 18:29:27 +0000 (19:29 +0100)] 
Doc: Fix protocol outline in RPKI

Protocol outlines should not contain specific values.

Also fix some space intendation in code sections.

7 months agoLib: Ensure that all net_addr structures have the same alignment
Ondrej Zajicek [Mon, 16 Dec 2024 17:56:30 +0000 (18:56 +0100)] 
Lib: Ensure that all net_addr structures have the same alignment

Also weaken the explicit alignment of net_addr to be u32, as VPN
is already u32-aligned.

7 months agoLib: Data type for VPN route distinguishers
Ondrej Zajicek [Mon, 16 Dec 2024 17:27:42 +0000 (18:27 +0100)] 
Lib: Data type for VPN route distinguishers

Use a distinct data structure for VPN route distinguishers instead
of just u64.

7 months agoNetlink: Handle onlink flag on BSD-Netlink
Ondrej Zajicek [Thu, 12 Dec 2024 03:04:07 +0000 (04:04 +0100)] 
Netlink: Handle onlink flag on BSD-Netlink

On BSD, the onlink flag is not tracked or reported by kernel. We are
using an heuristic that assigns the onlink flag to routes scanned from
the kernel. We should use the same heuristic even in BSD-Netlink
case, as the onlink flag is not reported here too.

Thanks to Björn König for the original patch.

7 months agoBuild: Fix newlines in build of proto-build.c
Ondrej Zajicek [Tue, 10 Dec 2024 13:58:05 +0000 (14:58 +0100)] 
Build: Fix newlines in build of proto-build.c

Add newlines to the body of proto-build.c . Use printf instead of echo
for portable handling of backslash sequences.

Thanks to CCX for the change.