]>
git.ipfire.org Git - thirdparty/bird.git/log
Maria Matejka [Tue, 6 May 2025 17:54:11 +0000 (19:54 +0200)]
BGP: Fix reconfiguration of import behavior modifiers
In case of aigp, gw mode and cost change, we need to reload routes
from the peer, and do that forcibly even if import table is on.
Igor Putovny [Fri, 9 May 2025 17:59:40 +0000 (19:59 +0200)]
Disable LTO for NetBSD. It crashes the compiler for whatever reason.
Igor Putovny [Fri, 9 May 2025 17:56:24 +0000 (19:56 +0200)]
Add configure option to independently enable/disable link-time optimization
Maria Matejka [Fri, 9 May 2025 20:09:18 +0000 (22:09 +0200)]
Fix use-after-free in thread group reconfiguration
If a thread group with no running threads is deconfigured,
it was freed before fetching the next node in the linked list.
This rare bug caused a crash in unit tests in OpenBSD.
Maria Matejka [Thu, 8 May 2025 20:10:10 +0000 (22:10 +0200)]
Merge remote-tracking branch 'origin/master' into thread-next
Maria Matejka [Thu, 8 May 2025 19:57:33 +0000 (21:57 +0200)]
Merge commit '
823281066 ' into thread-next
Maria Matejka [Thu, 8 May 2025 19:52:15 +0000 (21:52 +0200)]
Merge commit '
1acc79b75 ' into thread-next
Maria Matejka [Thu, 8 May 2025 19:49:51 +0000 (21:49 +0200)]
Merge commit '
9784c76c9 ' into thread-next
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.
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.
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 .
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.
Maria Matejka [Tue, 6 May 2025 15:39:47 +0000 (17:39 +0200)]
Merge branch 'kk-3.1-merging' into thread-next
Jana Babovakova [Mon, 14 Apr 2025 13:41:46 +0000 (15:41 +0200)]
Docker: lost files for OpenSuse 15.4, 15.5
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().
Maria Matejka [Tue, 29 Apr 2025 18:30:45 +0000 (20:30 +0200)]
NEWS and version update
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.
Maria Matejka [Thu, 24 Apr 2025 19:06:27 +0000 (21:06 +0200)]
CI: Checking that the reported version is actually the built one
Maria Matejka [Thu, 24 Apr 2025 18:46:34 +0000 (20:46 +0200)]
CI: Packages are built from the single release tgz package
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.
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
Maria Matejka [Sat, 12 Apr 2025 19:13:19 +0000 (21:13 +0200)]
CI: Immediately fail if WIP commits pushed to a stable branch
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.
Ondrej Zajicek [Sat, 26 Apr 2025 22:48:29 +0000 (00:48 +0200)]
BGP: Update obsolete RFC 8203 to newer RFC 9003
Ondrej Zajicek [Fri, 25 Apr 2025 17:02:11 +0000 (19:02 +0200)]
BSD: Silence some warnings
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.
Ondrej Zajicek [Thu, 24 Apr 2025 15:04:15 +0000 (17:04 +0200)]
CI: Add builds on new NetBSD workers
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.
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.
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.
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!
Ondrej Zajicek [Wed, 23 Apr 2025 01:53:56 +0000 (03:53 +0200)]
Silence some warnings
Ondrej Zajicek [Tue, 22 Apr 2025 13:46:34 +0000 (15:46 +0200)]
CI: Add builds on new OpenBSD workers
Maria Matejka [Thu, 17 Apr 2025 17:32:34 +0000 (19:32 +0200)]
Merge remote-tracking branch 'origin/master' into thread-next
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.
Maria Matejka [Thu, 17 Apr 2025 16:30:38 +0000 (18:30 +0200)]
Merge remote-tracking branch 'origin/master' into thread-next
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
Katerina Kubecova [Thu, 17 Apr 2025 14:09:06 +0000 (16:09 +0200)]
Merge branch 'kk-dump-help-fix' 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
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.
Maria Matejka [Thu, 17 Apr 2025 14:02:17 +0000 (16:02 +0200)]
Merge remote-tracking branch 'origin/master' into thread-next
Jana Babovakova [Wed, 16 Apr 2025 08:41:34 +0000 (10:41 +0200)]
CI: enable Fedora 42: image, build, package.
Jana Babovakova [Wed, 16 Apr 2025 08:39:50 +0000 (10:39 +0200)]
Docker: added lost docker file for Fedora 42.
Jana Babovakova [Mon, 14 Apr 2025 13:41:46 +0000 (15:41 +0200)]
Docker: lost files for OpenSuse 15.4, 15.5
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.
Ondrej Zajicek [Tue, 8 Apr 2025 16:20:02 +0000 (18:20 +0200)]
Merge remote-tracking branch 'origin/master' into thread-next
Ondrej Zajicek [Tue, 8 Apr 2025 15:52:12 +0000 (17:52 +0200)]
CI: Fix missing srcdir in path to tools/version
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)
Maria Matejka [Tue, 1 Apr 2025 19:49:58 +0000 (21:49 +0200)]
NEWS and version update
Maria Matejka [Thu, 3 Apr 2025 18:39:14 +0000 (20:39 +0200)]
Maria Matejka [Tue, 1 Apr 2025 19:49:58 +0000 (21:49 +0200)]
NEWS and version update
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).
Maria Matejka [Tue, 1 Apr 2025 19:49:58 +0000 (21:49 +0200)]
NEWS and version update
Maria Matejka [Tue, 1 Apr 2025 18:12:21 +0000 (20:12 +0200)]
Merge commit '
5b2c79804 ' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:12:11 +0000 (20:12 +0200)]
Merge commit '
1236600 ' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:11:46 +0000 (20:11 +0200)]
Merge commit '
de2370ec0 ' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:09:36 +0000 (20:09 +0200)]
Merge commit '
a2be93c7f ' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:06:13 +0000 (20:06 +0200)]
Merge commit '
481739d0d ' into thread-next
Maria Matejka [Tue, 1 Apr 2025 18:05:09 +0000 (20:05 +0200)]
Doc singlepage: add bold handler
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>
Maria Matejka [Tue, 1 Apr 2025 12:19:23 +0000 (14:19 +0200)]
Docker build machinery: a little bit of documentation
Maria Matejka [Tue, 1 Apr 2025 17:46:37 +0000 (19:46 +0200)]
Merge remote-tracking branch '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.
Maria Matejka [Wed, 18 Dec 2024 11:24:49 +0000 (12:24 +0100)]
CLI: v2 compatibility mode for attribute name display
David Petera [Fri, 28 Feb 2025 14:40:04 +0000 (15:40 +0100)]
Fix dependecy issue with bs4 on legacy distros
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?
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
David Petera [Fri, 31 Jan 2025 13:08:49 +0000 (14:08 +0100)]
Readd CentOS 7 to CI build and package process
David Petera [Fri, 31 Jan 2025 13:07:33 +0000 (14:07 +0100)]
Add archived repositories for CentOS 8
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
Maria Matejka [Mon, 13 Jan 2025 21:21:43 +0000 (22:21 +0100)]
use python venv for debian
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.
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.
Maria Matejka [Thu, 23 Jan 2025 21:30:43 +0000 (22:30 +0100)]
CI: Added the release confirm metajob
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.
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.
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.
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.
Maria Matejka [Mon, 31 Mar 2025 14:04:05 +0000 (16:04 +0200)]
Merge commit '
509d0f3b8 ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 14:02:44 +0000 (16:02 +0200)]
Merge commit '
f80003e35 ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 14:02:30 +0000 (16:02 +0200)]
Merge commit '
f4a94644d ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:59:53 +0000 (13:59 +0200)]
Merge commit '
1e5a7113b ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:58:51 +0000 (13:58 +0200)]
Merge commit '
3a55459ea ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:58:42 +0000 (13:58 +0200)]
Merge commit '
34aa592de ' into thread-next
Maria Matejka [Mon, 31 Mar 2025 11:57:21 +0000 (13:57 +0200)]
Merge commit '
51d0777e8 ' into thread-next
Ondrej Zajicek [Sun, 12 Jan 2025 12:32:37 +0000 (13:32 +0100)]
TCP-AO revised version
Reworked and finalized version of TCP-AO.
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.
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.
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)
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!
Jana Babovakova [Tue, 25 Mar 2025 16:52:26 +0000 (17:52 +0100)]
Filter: Add tests for 'case' expressions
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)
Jana Babovakova [Tue, 25 Mar 2025 10:34:27 +0000 (11:34 +0100)]
Docs: new link local format added to BGP outline.
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!
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
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.
Jana Babovakova [Mon, 17 Mar 2025 14:56:45 +0000 (15:56 +0100)]
Docs: Changed "<", ">" to "<",">" in <code>.
Jana Babovakova [Mon, 17 Mar 2025 14:45:14 +0000 (15:45 +0100)]
Docs: Replaced "M>" with "m>" (maintainability).
Jana Babovakova [Mon, 17 Mar 2025 14:42:07 +0000 (15:42 +0100)]
Docs: Replaced "<M>num</M>" with "<M>number</M>".
Jana Babovakova [Mon, 17 Mar 2025 14:39:19 +0000 (15:39 +0100)]
Docs: Replaced "<num>" with <number>.