451 Commits

Author SHA1 Message Date
Job Snijders 2823208919 Release 1.16 1.16 2026-03-15 16:38:12 +00:00
Job Snijders a1e82ecfe7 Fix help message 2026-03-15 16:35:07 +00:00
Job Snijders 116f159b06 Improve error message 2026-03-15 16:31:30 +00:00
Robert Scheck 0f1f5942ec Remove duplicate/unreachable if() (#128) 2026-03-15 16:30:29 +00:00
Gerdriaan Mulder 50ca9f573b expander.c: logic fix in bgpq_expander_invalidate_asn() (#132)
In 6c8c6cfec1 the semantics of this function
changed. Previously, it returned early when it couldn't find the ASN, otherwise
removed it. After that commit, it would only try to remove non-existing entries.

@ytti expected `bgpq4 -wG 42 AS-DSS-ALL` to exclude AS400805 from the output as
it does not contain any prefixes.
2026-03-15 16:10:07 +00:00
Jay Ford 6e89caec6e Update expander.c to remove errant "Checking" output (#131)
The errant "Checking" output (only when pipelining is enabled, by the way) results in bogus JSON output.
2026-01-09 23:01:17 +00:00
Robert Scheck 30f5099885 Fix yaml syntax error (#127) 2025-04-06 23:03:23 +02:00
Denis Fondras 20673db180 Remove extraneous space in Arista prefixlist (#124)
Build and test (latest Ubuntu/macOS) / build (ubuntu-latest) (push) Successful in 30s
Build and test (latest Ubuntu/macOS) / build (macos-latest) (push) Has been cancelled
basic unit tests / output unit tests (push) Has been cancelled
CodeQL analysis / Analyze (cpp) (push) Failing after 1m41s
* Remove extraneous space in Arista prefixlist

When diffing config generated with bgpq4 with config exported from an Arista device, many lines are returned as changed. This is because prefixlist on Arista device use 3 spaces and bgpq4 uses 4 spaces.

* Update eos--4.txt

* Update eos--6.txt
2025-02-21 20:55:15 +01:00
Job Snijders 4cae7d1df5 test if symlink
Build and test (latest Ubuntu/macOS) / build (ubuntu-latest) (push) Successful in 28s
Build and test (latest Ubuntu/macOS) / build (macos-latest) (push) Has been cancelled
basic unit tests / output unit tests (push) Has been cancelled
CodeQL analysis / Analyze (cpp) (push) Failing after 1m12s
2025-02-08 13:25:31 +00:00
Job Snijders 851d1c6cf1 force cp when not symlink 2025-02-08 13:23:01 +00:00
Job Snijders f53fbba8b3 only add awk in fedora42
Build and test (latest Ubuntu/macOS) / build (macos-latest) (push) Waiting to run
basic unit tests / output unit tests (push) Waiting to run
Build and test (latest Ubuntu/macOS) / build (ubuntu-latest) (push) Successful in 27s
CodeQL analysis / Analyze (cpp) (push) Failing after 28s
Build and test (linux matrix) / build (alpine:3.21) (push) Failing after 5s
Build and test (linux matrix) / build (alpine:edge) (push) Failing after 5s
Build and test (linux matrix) / build (centos/centos:stream10) (push) Failing after 5s
Build and test (linux matrix) / build (centos/centos:stream9) (push) Failing after 5s
Build and test (linux matrix) / build (debian:bookworm) (push) Failing after 5s
Build and test (linux matrix) / build (debian:bullseye) (push) Failing after 5s
Build and test (linux matrix) / build (debian:trixie) (push) Failing after 4s
Build and test (linux matrix) / build (fedora/fedora:40) (push) Failing after 4s
Build and test (linux matrix) / build (fedora/fedora:41) (push) Failing after 4s
Build and test (linux matrix) / build (fedora/fedora:42) (push) Failing after 4s
Build and test (linux matrix) / build (rockylinux/rockylinux:8) (push) Failing after 4s
Build and test (linux matrix) / build (rockylinux/rockylinux:9) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:focal) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:jammy) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:noble) (push) Failing after 5s
2025-02-07 15:41:31 +00:00
Job Snijders 282378e673 add awk to fedora42 image
Build and test (latest Ubuntu/macOS) / build (macos-latest) (push) Waiting to run
basic unit tests / output unit tests (push) Waiting to run
Build and test (latest Ubuntu/macOS) / build (ubuntu-latest) (push) Successful in 28s
CodeQL analysis / Analyze (cpp) (push) Failing after 1m9s
Build and test (linux matrix) / build (alpine:3.21) (push) Failing after 5s
Build and test (linux matrix) / build (alpine:edge) (push) Failing after 5s
Build and test (linux matrix) / build (centos/centos:stream10) (push) Failing after 4s
Build and test (linux matrix) / build (centos/centos:stream9) (push) Failing after 4s
Build and test (linux matrix) / build (debian:bookworm) (push) Failing after 5s
Build and test (linux matrix) / build (debian:bullseye) (push) Failing after 5s
Build and test (linux matrix) / build (debian:trixie) (push) Failing after 5s
Build and test (linux matrix) / build (fedora/fedora:40) (push) Failing after 5s
Build and test (linux matrix) / build (fedora/fedora:41) (push) Failing after 5s
Build and test (linux matrix) / build (fedora/fedora:42) (push) Failing after 4s
Build and test (linux matrix) / build (rockylinux/rockylinux:8) (push) Failing after 4s
Build and test (linux matrix) / build (rockylinux/rockylinux:9) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:focal) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:jammy) (push) Failing after 5s
Build and test (linux matrix) / build (ubuntu:noble) (push) Failing after 5s
2025-02-07 15:28:14 +00:00
Denis Fondras 60a3b3dabf Forbid -e -E -6 (#123)
The resulting list is a bit weird 😉 

```
 permit ip host 2a05:6340:: host 255.255.255.248
 permit ip host 2a06:19c0:: host 255.255.255.248
 permit ip host 2a07:4b00:: host 255.255.255.248
 permit ip host 2a07:7b40:: host 255.255.255.248
```
2025-02-07 10:08:06 -05:00
Robert Scheck b769ad9ce6 Update workflow actions and containers (#121) 2024-12-26 02:21:19 +01:00
Robert Scheck 0678439386 Update matrixbuild to current Linux distributions (#120) 2024-12-25 12:21:17 +01:00
Yureka c51fddefe5 filter out ASN 0 in juniper as-lists (#117)
Fixes error "RPD Policy: Invalid AS 0"
2024-10-16 16:01:36 +00:00
Job Snijders ad20b71f70 add symlinks, thanks rsc 2024-08-25 13:02:15 +00:00
Job Snijders 983c4f74c2 maybe this one? 2024-08-25 11:19:29 +00:00
Job Snijders 8ed8ae112f Update build targets 2024-08-25 11:07:59 +00:00
Tim de Boer 44e97736ac Remove extra space for MikroTik's RouterOS V7 rules (#115) 2024-08-25 11:01:51 +00:00
Job Snijders 7bd337eac3 Respin release 2024-05-15 11:25:17 +00:00
Job Snijders 4dd3b92b3c Release 1.14 1.15 2024-05-15 11:24:02 +00:00
Job Snijders a97f7eb4ff Update changelog 2024-05-13 12:19:19 +00:00
Robert Scheck 4ab84255a4 Work around broken Docker image by Rocky Linux (until CentOS 7 is EOL) (#114) 2024-05-10 12:16:04 +02:00
Job Snijders 424770be0b Set TCP_NODELAY on the socket
Nagle's algorithm probably serves no purpose with whois queries
often being tiny.
2024-05-10 09:41:28 +00:00
Robert Scheck 4bac9e7e53 Skip online test if no or empty /etc/resolv.conf (#113)
Downstream build systems, e.g. at Linux distributions like Fedora,
might be (sealed) offline (chroot) environments.
2024-05-05 22:33:12 +00:00
Robert Scheck 2ec0ea3fbd Don't try to login and push to GHCR on forks (#112) 2024-05-03 23:55:16 +02:00
Job Snijders 0a83c7598d Fix comma display in ingress IOS XR as-path-set printing 2024-05-01 12:26:30 +00:00
Job Snijders f44bf47b1f Don't try to maximize the send buffer
Get rid of code that did a binary search to maximize the send buffer
via setsockopt SO_SNDBUF. It caused problems for modern Mac users.
2024-05-01 12:00:17 +00:00
Job Snijders 9ffc4f8ec6 Add missing newline 2024-05-01 12:00:09 +00:00
Job Snijders a89ac75590 experiment 1 2024-05-01 11:45:59 +00:00
Job Snijders 59f800f31f Do not fiddle with the socket buffer size 2024-05-01 11:20:41 +00:00
Job Snijders 6c8bb871c0 fix path 2024-05-01 11:08:19 +00:00
Job Snijders 26b0827813 Add simple check target 2024-05-01 11:03:05 +00:00
Job Snijders 36a54c9b41 reference correct CI badge 2024-04-30 23:49:23 +00:00
Job Snijders e743be94b3 add build imagery 2024-04-30 23:46:41 +00:00
Robert Scheck b631d43755 Modernize usage of autoconf macros (#110) 2024-04-30 23:42:39 +00:00
Robert Scheck 57a70da5a9 Bump GitHub action versions in workflows (#106) 2024-04-30 23:41:45 +00:00
Job Snijders 95d3a4c12b Release 1.12 1.12 2024-02-12 16:57:03 +00:00
Robert Scheck 2e06d3c389 Update matrixbuild to current Linux distributions (#99) 2023-12-10 05:08:50 +01:00
Darshan Kowlaser 3d2eed555d fixed - mikrotik routerosv7 output (#103)
* fixed - mikrotik routerosv7 output

* fixed - mikrotik routerosv7 output

---------

Co-authored-by: dkayza-xxx <darshan@darshankowlaser.com>
2023-11-27 19:17:36 +01:00
Job Snijders a28752247c update changelog 2023-06-20 12:24:28 +00:00
Job Snijders 26d631b257 By default disallow 23456 as origin
Can be bypassed with '-p'
1.11
2023-06-20 12:18:41 +00:00
Job Snijders 841840be68 whoops, forgot to bump version 2023-06-17 05:33:11 +00:00
J vanBemmel 8ae08b79b1 Update README.md - document -n2 option (#95) 2023-06-04 00:56:09 +02:00
Roman Dodin 9fa14cc506 Added container build workflow (#94)
* added container build workflow

* remove unneeded env var
1.10
2023-06-03 12:13:53 +02:00
J vanBemmel 92561f43af Add a line to usage (#92) 2023-05-26 13:03:59 +00:00
J vanBemmel aee7adb698 Add support for Nokia SR Linux IP prefix lists / ACL filters (#91)
* Add support for Nokia SR Linux prefix sets

* Update tests

* Update docs

* Fix ACL prefix filter
2023-05-25 18:47:09 +02:00
Richard Laager 3c201684b6 Accept -3 as a no-op for bgpq3 compatibility (#90)
bgpq4 already assumes 32-bit ASN support.

Closes #89
2023-05-15 19:42:25 +02:00
Robert Scheck b98ecd5d4d Add macOS to CI builds (#88) 2023-04-12 03:35:36 +09:00