Accepting request 880493 from home:mnhauke:network
- Update to version 2.0.8 Changes/Fixes: * Automatic channel reloads based on RPKI changes * Multiple static routes with the same network * Use bitmaps to keep track of exported routes * Per-channel debug flags * CLI commands show info from multiple protocols * Linux: IPv4 routes with IPv6 nexthops * Filter: Optimized redesign of prefix sets * Filter: Improved type checking of user filters * Filter: New src/dst accessors for Flowspec and SADR * Filter: New 'weight' route attribute * Filter: BGP path mask loop operator * Filter: Remove quitbird command * RIP: Demand circuit support (RFC 2091) * BGP: New 'allow as sets' and 'enforce first as' options * BGP: Support for BGP hostname capability * BGP: Support for MD5SIG with dynamic BGP * BFD: Optional separation of IPv4 / IPv6 BFD instances * BFD: Per-peer session options * RPKI: Allow build without libSSH * RPKI: New 'ignore max length' option * OSPF: Redesign of handling of unnumbered PtPs * OSPF: Allow key id 0 in authentication * Babel: Use onlink flag for routes with unreachable next hop * Many bugfixes Notes: * Automatic channel reloads based on RPKI changes are enabled by default, but require import table enabled when used in BGP import filter. OBS-URL: https://build.opensuse.org/request/show/880493 OBS-URL: https://build.opensuse.org/package/show/network/bird?expand=0&rev=17
This commit is contained in:
parent
95401b214c
commit
2c115ddd58
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:631d2b58aebdbd651aaa3c68c3756c02ebfe5b1e60d307771ea909eeaa5b1066
|
||||
size 1993395
|
3
bird-2.0.8.tar.gz
Normal file
3
bird-2.0.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19d2de83ee25a307b9e5b9e58797dd68766d439bcee33e3ac617ed502370e7f6
|
||||
size 1135228
|
45
bird.changes
45
bird.changes
@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 22 09:12:19 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 2.0.8
|
||||
Changes/Fixes:
|
||||
* Automatic channel reloads based on RPKI changes
|
||||
* Multiple static routes with the same network
|
||||
* Use bitmaps to keep track of exported routes
|
||||
* Per-channel debug flags
|
||||
* CLI commands show info from multiple protocols
|
||||
* Linux: IPv4 routes with IPv6 nexthops
|
||||
* Filter: Optimized redesign of prefix sets
|
||||
* Filter: Improved type checking of user filters
|
||||
* Filter: New src/dst accessors for Flowspec and SADR
|
||||
* Filter: New 'weight' route attribute
|
||||
* Filter: BGP path mask loop operator
|
||||
* Filter: Remove quitbird command
|
||||
* RIP: Demand circuit support (RFC 2091)
|
||||
* BGP: New 'allow as sets' and 'enforce first as' options
|
||||
* BGP: Support for BGP hostname capability
|
||||
* BGP: Support for MD5SIG with dynamic BGP
|
||||
* BFD: Optional separation of IPv4 / IPv6 BFD instances
|
||||
* BFD: Per-peer session options
|
||||
* RPKI: Allow build without libSSH
|
||||
* RPKI: New 'ignore max length' option
|
||||
* OSPF: Redesign of handling of unnumbered PtPs
|
||||
* OSPF: Allow key id 0 in authentication
|
||||
* Babel: Use onlink flag for routes with unreachable next hop
|
||||
* Many bugfixes
|
||||
Notes:
|
||||
* Automatic channel reloads based on RPKI changes are enabled
|
||||
by default, but require import table enabled when used in
|
||||
BGP import filter.
|
||||
* BIRD now uses bitmaps to keep track of exported routes
|
||||
instead of re-evaluation of export filters. That should
|
||||
improve speed and accuracy in route export handling during
|
||||
reconfiguration, but takes some more memory.
|
||||
* Per-channel debug logging and some CLI commands (like 'show
|
||||
ospf neighbors') defaulting to all protocol instances lead to
|
||||
some minor changes in log and CLI output. Caution is
|
||||
recommended when logs or CLI output are monitored by scripts.
|
||||
- Drop not longer needed patches:
|
||||
* gcc10.patch
|
||||
* fix_test_for_bigendian_arch.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 16 12:45:29 UTC 2020 - Mark Stopka <mstopka@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bird
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,7 +21,7 @@
|
||||
%define bird_home %{_localstatedir}/lib/bird
|
||||
%define bird_runtimedir %{_rundir}/%{name}
|
||||
Name: bird
|
||||
Version: 2.0.7
|
||||
Version: 2.0.8
|
||||
Release: 0
|
||||
Summary: The BIRD Internet Routing Daemon
|
||||
License: GPL-2.0-or-later
|
||||
@ -30,8 +30,6 @@ URL: https://bird.network.cz/
|
||||
Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
|
||||
Source1: bird.service
|
||||
Source3: bird.tmpfiles.d
|
||||
Patch0: gcc10.patch
|
||||
Patch1: fix_test_for_bigendian_arch.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: ncurses-devel
|
||||
@ -66,8 +64,6 @@ This package holds the HTML documentation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -fpic -DPIC -fno-strict-aliasing -Wno-parentheses -Wno-pointer-sign"
|
||||
|
@ -1,74 +0,0 @@
|
||||
diff --git a/lib/fletcher16_test.c b/lib/fletcher16_test.c
|
||||
index 1020e6ecc8cac116dd45710ff7993f2e8641d694..3cd4c302f19700d32b0d3e68d5137b4409bfe976 100644
|
||||
--- a/lib/fletcher16_test.c
|
||||
+++ b/lib/fletcher16_test.c
|
||||
@@ -24,24 +24,33 @@ straightforward_fletcher16_compute(const char *data)
|
||||
sum2 = (sum2 + sum1) % 255;
|
||||
}
|
||||
|
||||
- return (sum2 << 8) | sum1;
|
||||
+ sum2 = (sum2 + sum1) % 255;
|
||||
+ sum2 = (sum2 + sum1) % 255;
|
||||
+
|
||||
+ return (sum1 << 8) | sum2;
|
||||
}
|
||||
|
||||
static u16
|
||||
straightforward_fletcher16_checksum(const char *data)
|
||||
{
|
||||
u16 csum;
|
||||
- u8 c0,c1,f0,f1;
|
||||
+ u16 c0,c1,x,y;
|
||||
|
||||
csum = straightforward_fletcher16_compute(data);
|
||||
- f0 = csum & 0xff;
|
||||
- f1 = (csum >> 8) & 0xff;
|
||||
- c0 = 0xff - ((f0 + f1) % 0xff);
|
||||
- c1 = 0xff - ((f0 + c0) % 0xff);
|
||||
+ c0 = (csum >> 8) & 0xff;
|
||||
+ c1 = csum & 0xff;
|
||||
+
|
||||
+ x = (255 + c0 - c1) % 255;
|
||||
+ y = (510 - 2*c0 + c1) % 255;
|
||||
|
||||
- return (c1 << 8) | c0;
|
||||
+ if (!x) x = 255;
|
||||
+ if (!y) y = 255;
|
||||
+
|
||||
+ return (x << 8) | y;
|
||||
}
|
||||
|
||||
+const u8 zero16[2] = {};
|
||||
+
|
||||
static int
|
||||
test_fletcher16(void *out_, const void *in_, const void *expected_out_)
|
||||
{
|
||||
@@ -53,7 +62,8 @@ test_fletcher16(void *out_, const void *in_, const void *expected_out_)
|
||||
|
||||
fletcher16_init(&ctxt);
|
||||
fletcher16_update(&ctxt, in, strlen(in));
|
||||
- put_u16(out, fletcher16_compute(&ctxt));
|
||||
+ fletcher16_update(&ctxt, zero16, 2);
|
||||
+ *out = fletcher16_compute(&ctxt);
|
||||
|
||||
return *out == *expected_out;
|
||||
}
|
||||
@@ -70,7 +80,8 @@ test_fletcher16_checksum(void *out_, const void *in_, const void *expected_out_)
|
||||
|
||||
fletcher16_init(&ctxt);
|
||||
fletcher16_update(&ctxt, in, len);
|
||||
- put_u16(out, fletcher16_final(&ctxt, len, len));
|
||||
+ fletcher16_update(&ctxt, zero16, 2);
|
||||
+ *out = fletcher16_final(&ctxt, len+2, len);
|
||||
|
||||
return *out == *expected_out;
|
||||
}
|
||||
@@ -81,7 +92,7 @@ t_fletcher16_compute(void)
|
||||
struct bt_pair test_vectors[] = {
|
||||
{
|
||||
.in = "\001\002",
|
||||
- .out = & (const u16) { 0x0403 },
|
||||
+ .out = & ((const u16) { straightforward_fletcher16_compute("\001\002") }),
|
||||
},
|
||||
{
|
||||
.in = "",
|
15
gcc10.patch
15
gcc10.patch
@ -1,15 +0,0 @@
|
||||
https://bird.network.cz/pipermail/bird-users/2020-February/014211.html
|
||||
|
||||
diff --git a/nest/route.h b/nest/route.h
|
||||
index d2a07f09..b927db5f 100644
|
||||
--- a/nest/route.h
|
||||
+++ b/nest/route.h
|
||||
@@ -458,7 +458,7 @@ typedef struct rta {
|
||||
protocol-specific metric is availabe */
|
||||
|
||||
|
||||
-const char * rta_dest_names[RTD_MAX];
|
||||
+extern const char * rta_dest_names[RTD_MAX];
|
||||
|
||||
static inline const char *rta_dest_name(uint n)
|
||||
{ return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }
|
Loading…
Reference in New Issue
Block a user