From f8450f69446b963a1cde141354e459f83cdca44f Mon Sep 17 00:00:00 2001 From: Alexandre Snarskii Date: Wed, 14 Jun 2017 17:57:14 +0300 Subject: [PATCH] document -a , bump version. --- CHANGES | 9 ++++++--- README.md | 6 +++++- bgpq3.8 | 3 +++ configure | 18 +++++++++--------- configure.in | 2 +- 5 files changed, 24 insertions(+), 14 deletions(-) diff --git a/CHANGES b/CHANGES index 60d2c6a..e6c1a66 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,10 @@ -untagged yet (2017-06-14) - - OpenBSD (and possibly others) need - - openbgpd output shall not emit 'deny any from any' in case of empty +0.1.35-rc2 (2017-06-14) + - OpenBSD need . Reported by Denis Fondras. + - OpenBGPD output shall not emit 'deny any from any' in case of empty prefix-list. New flag -a introduced to allow peer-as indication. + When this flag is not specified, empty prefix-list is generated (will + not be accepted by OpenBGPD). + Reported by Denis Fondras 0.1.35-rc (2017-30-05) - Nokia SR OS (formerly Alcatel-Lucent) support. Based on submission by diff --git a/README.md b/README.md index 937b069..443804f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ SYNOPSIS -------- ``` - bgpq3 [-h host[:port]] [-S sources] [-EP] [-f asn | -F fmt | -G asn] [-2346ABbDdJjpsX] [-r len] [-R len] [-m max] [-W len] OBJECTS [...] EXCEPT OBJECTS + bgpq3 [-h host[:port]] [-S sources] [-EP] [-f asn | -F fmt | -G asn] [-2346ABbDdJjpsX] [-a asn] [-r len] [-R len] [-m max] [-W len] OBJECTS [...] EXCEPT OBJECTS ``` DESCRIPTION @@ -40,6 +40,10 @@ Generate IPv6 prefix/access-lists (IPv4 by default). Try to aggregate generated filters as much as possible (not all output formats supported). +#### -a asn + +Specify ASN that shall be denied in case of empty prefix-list (OpenBGPD). + #### -B Generate output in OpenBGPD format (default: Cisco). diff --git a/bgpq3.8 b/bgpq3.8 index af30243..aaedc16 100644 --- a/bgpq3.8 +++ b/bgpq3.8 @@ -39,6 +39,7 @@ .Fl G Ar asn .Oc .Op Fl 2346ABbDdJjNsX +.Op Fl a Ar asn .Op Fl r Ar len .Op Fl R Ar len .Op Fl m Ar max @@ -65,6 +66,8 @@ generate IPv6 prefix/access-lists (IPv4 by default). .It Fl A try to aggregate prefix-lists as much as possible (not all output formats supported). +.It Fl a Ar asn +specify what asn shall be denied in case of empty prefix-list (OpenBGPD) .It Fl B generate output in OpenBGPD format (default: Cisco) .It Fl b diff --git a/configure b/configure index 82e76d7..9016baa 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for bgpq3 0.1.35-rc. +# Generated by GNU Autoconf 2.69 for bgpq3 0.1.35-rc2. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='bgpq3' PACKAGE_TARNAME='bgpq3' -PACKAGE_VERSION='0.1.35-rc' -PACKAGE_STRING='bgpq3 0.1.35-rc' +PACKAGE_VERSION='0.1.35-rc2' +PACKAGE_STRING='bgpq3 0.1.35-rc2' PACKAGE_BUGREPORT='snar@snar.spb.ru' PACKAGE_URL='' @@ -1228,7 +1228,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bgpq3 0.1.35-rc to adapt to many kinds of systems. +\`configure' configures bgpq3 0.1.35-rc2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1289,7 +1289,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bgpq3 0.1.35-rc:";; + short | recursive ) echo "Configuration of bgpq3 0.1.35-rc2:";; esac cat <<\_ACEOF @@ -1369,7 +1369,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bgpq3 configure 0.1.35-rc +bgpq3 configure 0.1.35-rc2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1738,7 +1738,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bgpq3 $as_me 0.1.35-rc, which was +It was created by bgpq3 $as_me 0.1.35-rc2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4102,7 +4102,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by bgpq3 $as_me 0.1.35-rc, which was +This file was extended by bgpq3 $as_me 0.1.35-rc2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4164,7 +4164,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -bgpq3 config.status 0.1.35-rc +bgpq3 config.status 0.1.35-rc2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.in b/configure.in index b96aac6..5e7f46b 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT(bgpq3,0.1.35-rc,snar@snar.spb.ru) +AC_INIT(bgpq3,0.1.35-rc2,snar@snar.spb.ru) AC_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_INSTALL