]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
2 months agoMerge commit '1acc79b75' into thread-next
Maria Matejka [Thu, 8 May 2025 19:52:15 +0000 (21:52 +0200)] 
Merge commit '1acc79b75' into thread-next

2 months agoMerge commit '9784c76c9' into thread-next
Maria Matejka [Thu, 8 May 2025 19:49:51 +0000 (21:49 +0200)] 
Merge commit '9784c76c9' into thread-next

2 months agoDoc: building singlepage version with the appropriate template
Maria Matejka [Sat, 25 Jan 2025 22:01:11 +0000 (23:01 +0100)] 
Doc: building singlepage version with the appropriate template

This change caters for the new website automation and allows for
future online display of documentation even for development versions.

2 months agoBGP: Fix crash on too long export
Maria Matejka [Wed, 7 May 2025 13:02:24 +0000 (15:02 +0200)] 
BGP: Fix crash on too long export

When BGP route is short enough to be accepted but too long after local
changes, it is converted to withdraw. In these cases though, there was
a dangling pointer left from the prefix structure to the attribute
bucket.

That pointer is now pointing at the right place after the bucket gets
converted to withdraw.

Thanks to ix.br for catching and reporting this issue.

3 months agoNetlink: Fix fix BSD error
Maria Matejka [Tue, 6 May 2025 16:30:39 +0000 (18:30 +0200)] 
Netlink: Fix fix BSD error

There was a typo in the previous commit, -> instead of .

3 months agoNetlink: Fix BSD build error
Katerina Kubecova [Tue, 22 Apr 2025 08:41:06 +0000 (10:41 +0200)] 
Netlink: Fix BSD build error

Due to missing autotests, we forgot to catch this place in Netlink code
which builds only for FreeBSD and not for Linux.

Caused by incomplete merge from master.

3 months agoMerge branch 'kk-3.1-merging' into thread-next
Maria Matejka [Tue, 6 May 2025 15:39:47 +0000 (17:39 +0200)] 
Merge branch 'kk-3.1-merging' into thread-next

3 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

3 months agoTable export: Drop redundant not-seen old route nullification
Katerina Kubecova [Wed, 23 Apr 2025 11:50:53 +0000 (13:50 +0200)] 
Table export: Drop redundant not-seen old route nullification

This piece of code was accidentally reintroduced in
da838bca052b3b1e5533e2900299b4140e2d5d13 CLI: fix channel stats display

and not only is obviously not relevant to that commit, it is also
obviously wrong because exactly the same nullification has been pushed
later to rt_notify_basic().

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

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

3 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

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

3 months agoTable export: ignoring invalid routes before marking them in export maps
Maria Matejka [Mon, 10 Mar 2025 19:20:32 +0000 (20:20 +0100)] 
Table export: ignoring invalid routes before marking them in export maps

Fast subsequent updates on filtered routes made the code crash because
no flags were set while ignoring them. And if these routes flapped, the
squashed export update crashed on a consistency check.

We ignore them unconditionally so we don't have to mark them at all and
we can convert them to NULL even before export maps are touched.

3 months agoTable export: consider route never seen before actually nonexistent
Maria Matejka [Mon, 10 Mar 2025 14:58:33 +0000 (15:58 +0100)] 
Table export: consider route never seen before actually nonexistent

This may trigger some spurious warnings.

3 months agoFix crash on graceful restart of a channel with ROA subscription
Maria Matejka [Mon, 10 Mar 2025 18:57:39 +0000 (19:57 +0100)] 
Fix crash on graceful restart of a channel with ROA subscription

Reported by NIX-CZ, thanks!

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

3 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

3 months agoMerge remote-tracking branch 'origin/master' into thread-next
Maria Matejka [Thu, 17 Apr 2025 17:32:34 +0000 (19:32 +0200)] 
Merge remote-tracking branch 'origin/master' into thread-next

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

3 months agoMerge remote-tracking branch 'origin/master' into thread-next
Maria Matejka [Thu, 17 Apr 2025 16:30:38 +0000 (18:30 +0200)] 
Merge remote-tracking branch 'origin/master' into thread-next

3 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

3 months agoMerge branch 'kk-dump-help-fix' into thread-next
Katerina Kubecova [Thu, 17 Apr 2025 14:09:06 +0000 (16:09 +0200)] 
Merge branch 'kk-dump-help-fix' into thread-next

3 months agoMerge branch 'thread-next' of gitlab.nic.cz:labs/bird into thread-next
Katerina Kubecova [Thu, 17 Apr 2025 14:08:54 +0000 (16:08 +0200)] 
Merge branch 'thread-next' of gitlab.nic.cz:labs/bird into thread-next

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

3 months agoMerge remote-tracking branch 'origin/master' into thread-next
Maria Matejka [Thu, 17 Apr 2025 14:02:17 +0000 (16:02 +0200)] 
Merge remote-tracking branch 'origin/master' into thread-next

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

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

3 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

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

3 months agoMerge remote-tracking branch 'origin/master' into thread-next
Ondrej Zajicek [Tue, 8 Apr 2025 16:20:02 +0000 (18:20 +0200)] 
Merge remote-tracking branch 'origin/master' into thread-next

3 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

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

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

4 months agoMerge commit 'ec2acff48115badc04ebace72a635acb87a2e2b9' into thread-next
Maria Matejka [Thu, 3 Apr 2025 18:39:14 +0000 (20:39 +0200)] 
Merge commit 'ec2acff48115badc04ebace72a635acb87a2e2b9' into thread-next

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

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

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

4 months agoMerge commit '5b2c79804' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:12:21 +0000 (20:12 +0200)] 
Merge commit '5b2c79804' into thread-next

4 months agoMerge commit '1236600' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:12:11 +0000 (20:12 +0200)] 
Merge commit '1236600' into thread-next

4 months agoMerge commit 'de2370ec0' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:11:46 +0000 (20:11 +0200)] 
Merge commit 'de2370ec0' into thread-next

4 months agoMerge commit 'a2be93c7f' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:09:36 +0000 (20:09 +0200)] 
Merge commit 'a2be93c7f' into thread-next

4 months agoMerge commit '481739d0d' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:06:13 +0000 (20:06 +0200)] 
Merge commit '481739d0d' into thread-next

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

4 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>
4 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

4 months agoMerge remote-tracking branch 'origin/master' into thread-next
Maria Matejka [Tue, 1 Apr 2025 17:46:37 +0000 (19:46 +0200)] 
Merge remote-tracking branch 'origin/master' into thread-next

4 months agoMerge commit 'origin/master^' into thread-next
Maria Matejka [Tue, 1 Apr 2025 13:25:30 +0000 (15:25 +0200)] 
Merge commit 'origin/master^' into thread-next

The AO socket dumping is bonkers but we'll fix it later.

4 months agoCLI: v2 compatibility mode for attribute name display
Maria Matejka [Wed, 18 Dec 2024 11:24:49 +0000 (12:24 +0100)] 
CLI: v2 compatibility mode for attribute name display

4 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

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

4 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

4 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

4 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

4 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

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

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

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

4 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

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

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

4 months agoCLI: fix channel stats display
Maria Matejka [Fri, 27 Dec 2024 14:12:32 +0000 (15:12 +0100)] 
CLI: fix channel stats display

The overall number of updates/withdrawals received, as well as
the number of routes limited, were not updated.

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 agoMerge commit '509d0f3b8' into thread-next
Maria Matejka [Mon, 31 Mar 2025 14:04:05 +0000 (16:04 +0200)] 
Merge commit '509d0f3b8' into thread-next

4 months agoMerge commit 'f80003e35' into thread-next
Maria Matejka [Mon, 31 Mar 2025 14:02:44 +0000 (16:02 +0200)] 
Merge commit 'f80003e35' into thread-next

4 months agoMerge commit 'f4a94644d' into thread-next
Maria Matejka [Mon, 31 Mar 2025 14:02:30 +0000 (16:02 +0200)] 
Merge commit 'f4a94644d' into thread-next

4 months agoMerge commit '1e5a7113b' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:59:53 +0000 (13:59 +0200)] 
Merge commit '1e5a7113b' into thread-next

4 months agoMerge commit '3a55459ea' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:58:51 +0000 (13:58 +0200)] 
Merge commit '3a55459ea' into thread-next

4 months agoMerge commit '34aa592de' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:58:42 +0000 (13:58 +0200)] 
Merge commit '34aa592de' into thread-next

4 months agoMerge commit '51d0777e8' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:57:21 +0000 (13:57 +0200)] 
Merge commit '51d0777e8' into thread-next

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 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 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 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 agoLib: added tmp_v?sprintf and tmp_strdup allocating from tmp_linpool
Maria Matejka [Wed, 2 Oct 2024 20:32:07 +0000 (22:32 +0200)] 
Lib: added tmp_v?sprintf and tmp_strdup allocating from tmp_linpool

4 months agoEnabled LTO for LLVM and making use of jobserver for LTO in GCC
Maria Matejka [Mon, 2 Sep 2024 13:38:01 +0000 (15:38 +0200)] 
Enabled LTO for LLVM and making use of jobserver for LTO in GCC

4 months agoCompiler vendor detection for autotools
Maria Matejka [Mon, 2 Sep 2024 13:20:46 +0000 (15:20 +0200)] 
Compiler vendor detection for autotools

4 months agoCalling cf_warn from log_switch makes no sense
Maria Matejka [Mon, 26 Aug 2024 16:09:46 +0000 (18:09 +0200)] 
Calling cf_warn from log_switch makes no sense

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 agoTaming static checker: flow[64]_validate_cf() checks NULL data
Maria Matejka [Thu, 13 Feb 2025 17:25:44 +0000 (18:25 +0100)] 
Taming static checker: flow[64]_validate_cf() checks NULL data

This does not apply for the current code but if somebody chose to use
the flowspec validation functions for something totally broken, it may
unnecessarily crash.

4 months agoTaming static checker: MPLS static label policy requires static handles
Maria Matejka [Thu, 13 Feb 2025 12:10:04 +0000 (13:10 +0100)] 
Taming static checker: MPLS static label policy requires static handles

4 months agoTaming static checker: Do not request bits on negative positions in prefixes
Maria Matejka [Thu, 13 Feb 2025 11:12:20 +0000 (12:12 +0100)] 
Taming static checker: Do not request bits on negative positions in prefixes

The code is actually called. It's harmless, yet confusing.

4 months agoTaming static checker: Fixed hypothetical adata comparator crash
Maria Matejka [Thu, 13 Feb 2025 09:22:08 +0000 (10:22 +0100)] 
Taming static checker: Fixed hypothetical adata comparator crash

4 months agoBFD session handling rework
Maria Matejka [Mon, 3 Feb 2025 14:21:52 +0000 (15:21 +0100)] 
BFD session handling rework

The original implementation for BIRD 3 was rooted in the first
methods how I tried to go for multithreading and it had several flaws,
mostly incomprehensive notification and request pickup routines.
Also converting to a double-loop architecture where one of the
loops (low-latency) solely runs BFD socket communication, whereas
the other one does all the other shenanigans.

4 months agoProper thread group setup
Maria Matejka [Tue, 4 Feb 2025 20:13:26 +0000 (21:13 +0100)] 
Proper thread group setup

Now the thread groups can be explicitly configured with their
latency and timing values.

4 months agoIO loop: converted the thread group to a regular locked structure
Maria Matejka [Wed, 5 Feb 2025 12:08:48 +0000 (13:08 +0100)] 
IO loop: converted the thread group to a regular locked structure

4 months agoIO loop: refactored thread and loop lists to tlists
Maria Matejka [Tue, 4 Feb 2025 20:44:28 +0000 (21:44 +0100)] 
IO loop: refactored thread and loop lists to tlists