pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/raven
Module Name: pkgsrc
Committed By: drixter
Date: Mon Nov 16 21:15:03 UTC 2026
Modified Files:
pkgsrc/net/raven: Makefile distinfo go-modules.mk
Log Message:
raven: Update to version 0.4.0
Security
This release fixes two issues that let any source able to reach RAVEN's BMP port take it down:
a malformed Route Monitoring message (Withdrawn Routes Length past the UPDATE, or a BGP Length below 19) panicked the daemon;
a single BMP message header could make RAVEN allocate up to 4 GB.
If you run an earlier version with a BMP port reachable from untrusted networks, upgrade, and restrict BMP sources with the new bmp.allowed-routers setting and a host firewall.
Breaking changes
The API binds to 127.0.0.1:11020 by default. Set api.listen to use the CLI against a remote daemon.
raven_bmp_peer_state gains router_addr and peer_distinguisher labels.
Status totals and per-peer route counts are Adj-RIB-In pre-policy only.
ROV follows RFC 6811 §2 for origins: a final AS_SET gives origin NONE; an empty or confederation-terminated AS_PATH uses the monitored router's own AS (thanks @antoinekh).
raven validate rejects --origin-asn and --rtr, which were silently ignored.
Highlights
ASPA verification per draft-ietf-sidrops-aspa-verification-24, with per-peer upstream/downstream selection (validation.aspa-peers) and the failing hop in the output.
Multi-router deployments: routes are keyed by router, peer distinguisher, peer, ADD-PATH path ID and RIB.
Robust BMP decoding: RFC 7606 error handling, 2-byte AS paths, Adj-RIB-Out, IPv4 in MP_REACH (RFC 8950), RFC 9072 OPENs, and fuzz targets (make fuzz).
Performance: incremental revalidation from RTR deltas, allocation-free VRP lookups, and one index rebuild per RTR sync. An 8,882-VRP withdrawal now takes 0.6 s instead of 49 minutes.
CLI and API: filters combine, --router, --rib, --format wide, router timestamps, and environment variable overrides that work.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/raven/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/raven/distinfo \
pkgsrc/net/raven/go-modules.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/raven/Makefile
diff -u pkgsrc/net/raven/Makefile:1.4 pkgsrc/net/raven/Makefile:1.5
--- pkgsrc/net/raven/Makefile:1.4 Tue Nov 10 18:55:16 2026
+++ pkgsrc/net/raven/Makefile Mon Nov 16 21:15:03 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2026/11/10 18:55:16 bsiegert Exp $
+# $NetBSD: Makefile,v 1.5 2026/11/16 21:15:03 drixter Exp $
-DISTNAME= raven-0.3.3
-PKGREVISION= 3
+DISTNAME= raven-0.4.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=nokia/}
GITHUB_PROJECT= bgp-routing-security-monitor
Index: pkgsrc/net/raven/distinfo
diff -u pkgsrc/net/raven/distinfo:1.1 pkgsrc/net/raven/distinfo:1.2
--- pkgsrc/net/raven/distinfo:1.1 Sat Sep 12 16:45:37 2026
+++ pkgsrc/net/raven/distinfo Mon Nov 16 21:15:03 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2026/09/12 16:45:37 drixter Exp $
+$NetBSD: distinfo,v 1.2 2026/11/16 21:15:03 drixter Exp $
BLAKE2s (github.com_beorn7_perks_@v_v1.0.1.mod) = 3386f8007a627917f183391cfdd8aa248c19db3340b5bd857152b8644fc9ca8e
SHA512 (github.com_beorn7_perks_@v_v1.0.1.mod) = d0c78b8f08d177e05148ce845f8d720fe79a193a420c12ce15504af8fa3dffc4d2fcebea8030f5cca90aff5775013e2252e0c289d4ed5094e07657ea97a79570
@@ -279,6 +279,6 @@ Size (google.golang.org_protobuf_@v_v1.3
BLAKE2s (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 35cd1964700502d06b8c987979fb4dbddc41a5cda3368d037211b89d3587521f
SHA512 (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
Size (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 25 bytes
-BLAKE2s (raven-0.3.3.tar.gz) = bfc64d855ef5a192291de1b465fd3677f596fadce8b4616f3fdd35a596a1eb3e
-SHA512 (raven-0.3.3.tar.gz) = 61c0cddb2070951fb36eb7b2ea2ac2882ac25f3bd6cf073ea423409e0df23301dbe14f5ea6b418fad8d189b4f9321b9fecd718aee1adef8ac99a430589509141
-Size (raven-0.3.3.tar.gz) = 141786 bytes
+BLAKE2s (raven-0.4.0.tar.gz) = 6cc082ebb992b0dca3a2a288488f87e4e40e6e680a3ebd337f8ba1d97bb5e741
+SHA512 (raven-0.4.0.tar.gz) = d3f18b37d16943c03bd86012868cff76c94fb6f4aac798e5b5f40c34fdeecf52528a0337e3f9a560c3b9d2562cdbe44659b6f1c0a3bf3d5065a5bd6df11a0962
+Size (raven-0.4.0.tar.gz) = 373653 bytes
Index: pkgsrc/net/raven/go-modules.mk
diff -u pkgsrc/net/raven/go-modules.mk:1.1 pkgsrc/net/raven/go-modules.mk:1.2
--- pkgsrc/net/raven/go-modules.mk:1.1 Sat Sep 12 16:45:37 2026
+++ pkgsrc/net/raven/go-modules.mk Mon Nov 16 21:15:03 2026
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.1 2026/09/12 16:45:37 drixter Exp $
+# $NetBSD: go-modules.mk,v 1.2 2026/11/16 21:15:03 drixter Exp $
GO_MODULE_FILES+= github.com/beorn7/perks/@v/v1.0.1.mod
GO_MODULE_FILES+= github.com/beorn7/perks/@v/v1.0.1.zip
Home |
Main Index |
Thread Index |
Old Index