]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
6 hours agoFilter: Add more tests for append operator master oz-test
Ondrej Zajicek [Tue, 1 Jul 2025 14:43:18 +0000 (16:43 +0200)] 
Filter: Add more tests for append operator

6 hours agoFilter: Add 'append' operator oz-append
Ondrej Zajicek [Tue, 3 Jun 2025 02:04:47 +0000 (04:04 +0200)] 
Filter: Add 'append' operator

We need append() operator to concatenate strings / bytestrings.
Can be also written as '++', (e.g. "abcd" ++ "1234").

2 days agoCI: adding tests cf-bgp-unnumbered and cf-bgp-error-states
Maria Matejka [Sun, 29 Jun 2025 18:14:31 +0000 (20:14 +0200)] 
CI: adding tests cf-bgp-unnumbered and cf-bgp-error-states

The unnumbered test checks the onlink neighbor scenarios,
and the cf-bgp-error-states checks a regression for BIRD 3
where BGP crashed when listening socket failed to bind.

5 days agoBGP: Allow onlink neighbors
Maria Matejka [Thu, 19 Jun 2025 16:57:15 +0000 (18:57 +0200)] 
BGP: Allow onlink neighbors

In certain scenarios, the direct neighbor is not inside any prefix
assigned to the appropriate interface. There is a route for that address
pointing to that interface, though.

In such cases, the user may specify the neighbor as onlink, effectively
disabling the prefix check and trying to connect immediately. It is
expected that the operator ensures that the neighbor is indeed there.

12 days agoCI: Limit log bloating for netlab runners mq-pin-apkg 44/head
Maria Matejka [Thu, 19 Jun 2025 19:12:52 +0000 (21:12 +0200)] 
CI: Limit log bloating for netlab runners

There is no useful configurable file size limit for netlab, allowing
the job to eat up all the disk. Thus we limit it directly in the script
by setting ulimit -f to 1G.

12 days agoCI: Pinned apkg version to 0.5.1 until 0.6.0 is fixed
Maria Matejka [Thu, 19 Jun 2025 19:03:27 +0000 (21:03 +0200)] 
CI: Pinned apkg version to 0.5.1 until 0.6.0 is fixed

This workarounds packaging/apkg#114.

12 days agoCI: split make gitlab to local and venv variant
Maria Matejka [Thu, 19 Jun 2025 16:40:23 +0000 (18:40 +0200)] 
CI: split make gitlab to local and venv variant

If you prefer to install python3-jinja2 and pyaml yourself,
run gitlab-local. If you prefer the thing to create a venv
and pip3 all the dependencies, run gitlab-venv.

2 weeks agoDoc: Fix documentation for "next hop prefer" ip-bgp-next-hop-prefer-local
Igor Putovny [Fri, 30 May 2025 16:08:46 +0000 (18:08 +0200)] 
Doc: Fix documentation for "next hop prefer"

2 weeks agoBGP: Add option "next hop prefer local" and use it in direct mode of next hop computation
Igor Putovny [Thu, 29 May 2025 15:55:49 +0000 (17:55 +0200)] 
BGP: Add option "next hop prefer local" and use it in direct mode of next hop computation

2 weeks agoCLI: Add missing semicolon for option RESTRICT 241-bgp-improve-next-hop-prefer-option-2
Vojtech Vilimek [Tue, 17 Jun 2025 13:34:43 +0000 (15:34 +0200)] 
CLI: Add missing semicolon for option RESTRICT

2 weeks agoCLI: Fix memory leak in cli_listen (fixes #285)
Vojtech Vilimek [Tue, 17 Jun 2025 13:22:58 +0000 (15:22 +0200)] 
CLI: Fix memory leak in cli_listen (fixes #285)

2 weeks agoCI: add cf-pipe-collision test 37-add-asserts-to-hash-lib-to-inhibit-modifications-when-walking 37-add-asserts-to-hash-lib-to-inhibit-modifications-when-walking-2 37-add-asserts-to-hash-lib-to-inhibit-modifications-when-walking-3
Maria Matejka [Fri, 13 Jun 2025 18:34:59 +0000 (20:34 +0200)] 
CI: add cf-pipe-collision test

2 weeks agoCLI: fix display of ambiguos command options listing 279-mq-command-expansion-fix
Maria Matejka [Fri, 13 Jun 2025 08:02:07 +0000 (10:02 +0200)] 
CLI: fix display of ambiguos command options listing

When fixing display of two-command help messages, we failed to test that
all the CLI functions still do work as expected.

Fixes: #279
Introduced-In: 457c10267054b999b188164dbf6bc5975838dd31
Reported-By: Артём Варакса <varaksaaa@basealt.ru>
2 weeks agoCI: Fix tests for merge requests
Maria Matejka [Thu, 12 Jun 2025 09:55:21 +0000 (11:55 +0200)] 
CI: Fix tests for merge requests

The branch name check needed to be extended to include merge requests.
Now for merge requests, we generate a fake branch name.

2 weeks agoCI: Fix netlab failure artifact collection
Maria Matejka [Thu, 12 Jun 2025 09:52:32 +0000 (11:52 +0200)] 
CI: Fix netlab failure artifact collection

When implementing artifact collection for netlab,
I forgot that the coredumps and logs are generated outside the
repository. Moving the artifacts to the right place for collection.

Introduced in 3d88a81f102783bd4af3d99db1e1f14d14050d6c.

2 weeks agoBGP: Disallow AS Sets by default (documentation)
Maria Matejka [Thu, 12 Jun 2025 18:57:19 +0000 (20:57 +0200)] 
BGP: Disallow AS Sets by default (documentation)

The documentation needed to be updated as well to be consistent
with the code.

Related to #248.

2 weeks agoBGP: Disallow AS Sets by default
Igor Putovny [Mon, 2 Jun 2025 11:44:42 +0000 (13:44 +0200)] 
BGP: Disallow AS Sets by default

For a long time, AS Sets have been considered obsolete
but they were still valid by the original RFC. Recently,
RFC 9774 flipped this and AS Sets are now formally deprecated.

Therefore, all BGP sessions will now by default reject routes
containing AS Sets in their AS Paths. If you want to keep the
old behavior, you may simply state

    allow as set;

in every BGP protocol configuration where you want to accept AS Sets.

This closes #248.

3 weeks agoCI: Add tests rip-vrf, ibgp-bfd-auth, ebgp-bfd-auth
Ondrej Zajicek [Thu, 5 Jun 2025 15:29:39 +0000 (17:29 +0200)] 
CI: Add tests rip-vrf, ibgp-bfd-auth, ebgp-bfd-auth

3 weeks agoBGP: Restart if route refresh is impossible on attribute change
Maria Matejka [Wed, 4 Jun 2025 12:53:36 +0000 (14:53 +0200)] 
BGP: Restart if route refresh is impossible on attribute change

In previous commit, we force route refresh when some protocol attributes
change. Yet, when the neighbor doesn't support route refresh, we have to
restart the session, not send an unsupported request.

Note: if the neighbor is restarting right now with graceful restart
enabled, we keep the stale routes until the neighbor converges again.

Related to #268

4 weeks agoBGP: Do route refresh after preference change
Ondrej Zajicek [Tue, 3 Jun 2025 14:56:41 +0000 (16:56 +0200)] 
BGP: Do route refresh after preference change

Reconfiguration of preference is handled by nest code by asking for
reload, but in case of BGP with import table, that just reloaded routes
with the old preference. In BGP, we can handle that by triggering full
route refresh.

Although, it would be probably better to set preference in nest, when
a route is propagated from the import table.

4 weeks agoNest: Fix route update after preference change 241-bgp-improve-next-hop-prefer-option 248-bgp-reject-as-sets-by-default 270-reject-configuration-with-secondary-and-add-paths-tx-together
Ondrej Zajicek [Thu, 29 May 2025 15:34:35 +0000 (17:34 +0200)] 
Nest: Fix route update after preference change

The route preference was ignored in route comparison, therefore if
a protocol changed it and then reloaded routes, they were ignored
and routes with the old prefernce were kept.

The bug was introduced 5 years ago, when preference was moved from
struct rte to struct rta.

4 weeks agoCI: Note on how to trigger image rebuild when adding new dockerfile.
Jana Babovakova [Tue, 27 May 2025 10:42:13 +0000 (12:42 +0200)] 
CI: Note on how to trigger image rebuild when adding new dockerfile.

4 weeks agoCI: Added Docker for Rocky Linux 8 and 9.
Jana Babovakova [Tue, 27 May 2025 10:34:45 +0000 (12:34 +0200)] 
CI: Added Docker for Rocky Linux 8 and 9.

Updated both to supported versions 8.10, 9.5.

5 weeks agoCI: Add package install tests.
David Petera [Wed, 7 May 2025 14:02:09 +0000 (16:02 +0200)] 
CI: Add package install tests.

We are checking that generated BIRD packages can be installed and run.
Communication between bird and birdc is also tested.

This fixes #202

5 weeks agoCI: Add systemd installation to Fedora Dockerfiles and make exception in bird.spec...
David Petera [Wed, 7 May 2025 13:36:14 +0000 (15:36 +0200)] 
CI: Add systemd installation to Fedora Dockerfiles and make exception in bird.spec for CentOS and OpenSUSE distros.

5 weeks agoCI: added new ASPA tests.
Jana Babovakova [Fri, 23 May 2025 10:19:59 +0000 (12:19 +0200)] 
CI: added new ASPA tests.

5 weeks agoGitlab: fix cleanup after failed netlab
Maria Matejka [Thu, 22 May 2025 15:57:00 +0000 (17:57 +0200)] 
Gitlab: fix cleanup after failed netlab

I forgot to add cd command to move to the right directory.

5 weeks agoCI: Stayrtr binary has moved elsewhere
Maria Matejka [Thu, 22 May 2025 15:21:13 +0000 (17:21 +0200)] 
CI: Stayrtr binary has moved elsewhere

Installed our local version supporting RTRv2 and ASPA

5 weeks agoGitlab: properly cleanup after failed netlab jobs
Maria Matejka [Sat, 10 May 2025 18:17:34 +0000 (20:17 +0200)] 
Gitlab: properly cleanup after failed netlab jobs

Also keeps artifacts from failed netlab jobs to allow for
easier debugging

5 weeks agoBGP: Improve log messages in reconfiguration
Ondrej Zajicek [Thu, 22 May 2025 12:55:35 +0000 (14:55 +0200)] 
BGP: Improve log messages in reconfiguration

Use separate messages for import / export reload triggered by
reconfiguration.

5 weeks agoConf: Silence grammar conflict warning
Ondrej Zajicek [Wed, 21 May 2025 15:02:28 +0000 (17:02 +0200)] 
Conf: Silence grammar conflict warning

There is one harmless grammar ambiquity that is hard to avoid, so let
just document it and silence it.

6 weeks agoBGP: Minor refactoring of capability write
Ondrej Zajicek [Tue, 20 May 2025 16:44:40 +0000 (18:44 +0200)] 
BGP: Minor refactoring of capability write

7 weeks agoNest: Improve grammar rule for interface patterns
Ondrej Zajicek [Sat, 10 May 2025 02:30:17 +0000 (04:30 +0200)] 
Nest: Improve grammar rule for interface patterns

Interface options should allow constants/expressions for name patterns.

Thanks to Arnaud Gomes-do-Vale for the bugreport.

7 weeks agoStatic: Improve grammar rule for static route next hops
Ondrej Zajicek [Fri, 9 May 2025 16:51:54 +0000 (18:51 +0200)] 
Static: Improve grammar rule for static route next hops

Static routes should allow constants/expressions for interface names in
next hops.

7 weeks agoConf: Fix cases where lexer tokens are used instead of parser rules
Ondrej Zajicek [Fri, 9 May 2025 16:26:15 +0000 (18:26 +0200)] 
Conf: Fix cases where lexer tokens are used instead of parser rules

7 weeks agoConf: Switch options should use boolean values
Ondrej Zajicek [Fri, 9 May 2025 13:38:31 +0000 (15:38 +0200)] 
Conf: Switch options should use boolean values

Fix switch options to use boolean constants and expressions intead of
integer ones. Still allow integer values with deprecation warning.

Also, allow true/false in addition to on/off and yes/no.

7 weeks agoConf: Improve parsing of config datatypes
Ondrej Zajicek [Fri, 9 May 2025 12:53:58 +0000 (14:53 +0200)] 
Conf: Improve parsing of config datatypes

Parser rules for configuration datatypes were inconsistent about whether
they accept literals, constants, or expressions. We should accept each
of these three everywhere.

The patch also simplifies the grammar, makes it more uniform, and adds
some documentation about that.

7 weeks agoConf: Fix invalid check in text_or_ipa grammar
Ondrej Zajicek [Tue, 6 May 2025 12:50:53 +0000 (14:50 +0200)] 
Conf: Fix invalid check in text_or_ipa grammar

Can cause crash when a bad expression is used.

7 weeks agoVersion script: fix detached mode stable-v2.17
Maria Matejka [Sat, 10 May 2025 13:02:58 +0000 (15:02 +0200)] 
Version script: fix detached mode

7 weeks agoBuild: call tools/version with sh
xtex [Fri, 9 May 2025 11:14:50 +0000 (07:14 -0400)] 
Build: call tools/version with sh

As tools/version has a shebang line, it should be
fine to just call it without specifying bash.

Calling bash explicitly may lead to inconsistency,
as the first line of tools/version indicates /usr/bin/sh
but the script is always executed with bash.
And, it adds bash as a new build dependency.

Signed-off-by: xtex <xtexchooser@duck.com>
2 months agoNEWS and version update v2.17.1
Maria Matejka [Tue, 29 Apr 2025 18:30:45 +0000 (20:30 +0200)] 
NEWS and version update

2 months agoTag checking
Maria Matejka [Tue, 29 Apr 2025 08:03:14 +0000 (10:03 +0200)] 
Tag checking

Adding a script to gather all information about the current release and
confirm that it is indeed ready for departure.

2 months agoCI: Checking that the reported version is actually the built one
Maria Matejka [Thu, 24 Apr 2025 19:06:27 +0000 (21:06 +0200)] 
CI: Checking that the reported version is actually the built one

2 months agoCI: Packages are built from the single release tgz package
Maria Matejka [Thu, 24 Apr 2025 18:46:34 +0000 (20:46 +0200)] 
CI: Packages are built from the single release tgz package

2 months agoCI: Tasks generated from a data file and template
Maria Matejka [Sat, 19 Apr 2025 18:11:02 +0000 (20:11 +0200)] 
CI: Tasks generated from a data file and template

Instead of directly editing .gitlab-ci.yml, the pipeline definition is
generated by a script from a much shorter file defining the required
tests, and templated.

2 months agoVersion and release scripting
Maria Matejka [Mon, 14 Apr 2025 13:14:05 +0000 (15:14 +0200)] 
Version and release scripting

Version number moved to a separate file as a primary source of truth.

Added tools/release-commit to make the release process a little bit faster.

Fixes #218

2 months agoCI: Immediately fail if WIP commits pushed to a stable branch
Maria Matejka [Sat, 12 Apr 2025 19:13:19 +0000 (21:13 +0200)] 
CI: Immediately fail if WIP commits pushed to a stable branch

2 months agoCI: no pipeline for WIP commits
Maria Matejka [Fri, 11 Apr 2025 19:47:45 +0000 (21:47 +0200)] 
CI: no pipeline for WIP commits

We'd like to encourage team members to push WIP work to Gitlab. Such
work often fails to build and therefore we run no tests for these
branches.

2 months agoBGP: Update obsolete RFC 8203 to newer RFC 9003
Ondrej Zajicek [Sat, 26 Apr 2025 22:48:29 +0000 (00:48 +0200)] 
BGP: Update obsolete RFC 8203 to newer RFC 9003

2 months agoBSD: Silence some warnings
Ondrej Zajicek [Fri, 25 Apr 2025 17:02:11 +0000 (19:02 +0200)] 
BSD: Silence some warnings

2 months agoBSD: Fix build on NetBSD
Ondrej Zajicek [Fri, 25 Apr 2025 16:29:28 +0000 (18:29 +0200)] 
BSD: Fix build on NetBSD

Newer NetBSD versions removed RTF_LLINFO and added RTF_LLDATA.
In FreeBSD, RTF_LLINFO is obsolete, but still defined.

2 months agoCI: Add builds on new NetBSD workers
Ondrej Zajicek [Thu, 24 Apr 2025 15:04:15 +0000 (17:04 +0200)] 
CI: Add builds on new NetBSD workers

2 months agoBGP: Fix crash when incoming connection for disabled protocol arrives
Ondrej Zajicek [Thu, 24 Apr 2025 01:01:19 +0000 (03:01 +0200)] 
BGP: Fix crash when incoming connection for disabled protocol arrives

The function bgp_find_proto() may return a protocol in DOWN state, but
ao.keys (as most protocol data) are only valid in non-DOWN state.

2 months agoSilence some warnings
Ondrej Zajicek [Wed, 23 Apr 2025 01:53:56 +0000 (03:53 +0200)] 
Silence some warnings

2 months agoCI: Add builds on new OpenBSD workers
Ondrej Zajicek [Tue, 22 Apr 2025 13:46:34 +0000 (15:46 +0200)] 
CI: Add builds on new OpenBSD workers

2 months agoCI: Add FreeBSD 14 and netlink builds for FreeBSD 13 and 14.
Jana Babovakova [Mon, 14 Apr 2025 13:29:58 +0000 (15:29 +0200)] 
CI: Add FreeBSD 14 and netlink builds for FreeBSD 13 and 14.

2 months agoCI: Do not rebuild Docker images for test builds for new branches
Maria Matejka [Wed, 16 Apr 2025 18:36:17 +0000 (20:36 +0200)] 
CI: Do not rebuild Docker images for test builds for new branches

New branch considers all files changed. We don't want to rebuild all
docker images for new branches; that's just a waste of time and energy.

There is a better way for future -- a much better fine-grained control
may be obtained by running secondary pipelines.

fixes #212

2 months agocli/commands: Help for multiple word command did not show properly.
Katerina Kubecova [Tue, 15 Apr 2025 15:22:33 +0000 (17:22 +0200)] 
cli/commands: Help for multiple word command did not show properly.

Possible commands are stored as keywords, each keyword has its own structure.
The last acceptable keyword structure contains string with hint. But when the hint was printed only direct child
of the base keyword was considered. If it was multi keyword command, the first child did not carry any hint to print,
so it was ignored.

Now, if we don't find a hint in a child, we recursively search in grandchildren.

2 months agoCI: enable Fedora 42: image, build, package.
Jana Babovakova [Wed, 16 Apr 2025 08:41:34 +0000 (10:41 +0200)] 
CI: enable Fedora 42: image, build, package.

2 months agoDocker: added lost docker file for Fedora 42.
Jana Babovakova [Wed, 16 Apr 2025 08:39:50 +0000 (10:39 +0200)] 
Docker: added lost docker file for Fedora 42.

2 months agoDocker: lost files for OpenSuse 15.4, 15.5
Jana Babovakova [Mon, 14 Apr 2025 13:41:46 +0000 (15:41 +0200)] 
Docker: lost files for OpenSuse 15.4, 15.5

2 months agoDoc: Minor corrections in README and INSTALL
Jana Babovakova [Wed, 2 Apr 2025 11:44:02 +0000 (13:44 +0200)] 
Doc: Minor corrections in README and INSTALL

- Licence to License - also in code comments.
- copyright date until now.
- updated license text from gnu.org
- added command to build bird documentation.

2 months agoCI: Fix missing srcdir in path to tools/version
Ondrej Zajicek [Tue, 8 Apr 2025 15:52:12 +0000 (17:52 +0200)] 
CI: Fix missing srcdir in path to tools/version

2 months agoCI: fix test collisions between branches (again)
Maria Matejka [Tue, 17 Dec 2024 11:38:12 +0000 (12:38 +0100)] 
CI: fix test collisions between branches (again)

The build-netlab job was side-effecting the test-* jobs,
and if for some reason Gitlab scheduled build-netlab before
other pipeline's test-* jobs finished, these jobs got a wrong
binary, possibly failing. Solved by using explicit artifacts, which is
not the fastest way to do this (we could keep the binaries named there)
but it's the gitlab-right way to do this.

(Re-committed, was accidentally removed by one of previous commits)

2 months agoNEWS and version update v2.17
Maria Matejka [Tue, 1 Apr 2025 19:49:58 +0000 (21:49 +0200)] 
NEWS and version update

2 months agoRelease tools: fix several bugs in version number detection
Maria Matejka [Thu, 3 Apr 2025 18:03:50 +0000 (20:03 +0200)] 
Release tools: fix several bugs in version number detection

Forgetting to do proper checks, I merged a buggy release tools update
not detecting the right version (mostly if tagged).

2 months agoDoc singlepage: add bold handler
Maria Matejka [Tue, 1 Apr 2025 18:05:09 +0000 (20:05 +0200)] 
Doc singlepage: add bold handler

2 months agoDocker build machinery: a little bit of documentation
Maria Matejka [Tue, 1 Apr 2025 12:19:23 +0000 (14:19 +0200)] 
Docker build machinery: a little bit of documentation

2 months agoCI: Massive update of build and test runners
Jana Babovakova [Tue, 1 Apr 2025 10:05:46 +0000 (12:05 +0200)] 
CI: Massive update of build and test runners

Fixed and added current distros, deleted certain EOL distros,
sorted things in the CI file.

With some heavy lifting and comments by Maria.

Signed-Off-By: Maria Matejka <mq@jmq.cz>
3 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

3 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

3 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

3 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

3 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

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

3 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?

3 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.

3 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

3 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.

3 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.

3 months agoCI: fix test collisions between branches
Maria Matejka [Tue, 17 Dec 2024 11:38:12 +0000 (12:38 +0100)] 
CI: fix test collisions between branches

The build-netlab job was side-effecting the test-* jobs,
and if for some reason Gitlab scheduled build-netlab before
other pipeline's test-* jobs finished, these jobs got a wrong
binary, possibly failing. Solved by using explicit artifacts, which is
not the fastest way to do this (we could keep the binaries named there)
but it's the gitlab-right way to do this.

3 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.

3 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.

3 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.

3 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.

3 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)

3 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!

3 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

3 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)

3 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.

3 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!

3 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

3 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.

3 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>.

3 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).

3 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>".

3 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;.

3 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

3 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.

3 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.