summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.conf.5
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-01-24 14:13:13 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-01-24 14:13:13 +0000
commitcb26202c646e356790215e8996ba5c51179d1a26 (patch)
tree11ff585381405a1d385195abe390cd6c529113ea /usr.sbin/bgpd/bgpd.conf.5
parent9eb32957966466066043810c0ba9d19398c63e24 (diff)
Implement filter and control message matching for ASAP.
This adds avs (ASPA validation state) which can be 'unknown', 'valid' or 'invalid'. It behaves similar to ovs but the ASPA validation state of paths from iBGP sessions is 'unknown' and the role of the ebgp session is important to get the right validation state. OK tb@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.512
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index dd0656b665b..e112bf8eab6 100644
--- a/usr.sbin/bgpd/bgpd.conf.5
+++ b/usr.sbin/bgpd/bgpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpd.conf.5,v 1.229 2023/01/20 15:41:33 claudio Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.230 2023/01/24 14:13:11 claudio Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 20 2023 $
+.Dd $Mdocdate: January 24 2023 $
.Dt BGPD.CONF 5
.Os
.Sh NAME
@@ -1538,6 +1538,14 @@ deny from any { AS { 1, 2, 3 }, source-as 4, transit-as 5 }
.Ed
.Pp
.It Xo
+.Ic avs
+.Pq Ic valid | unknown | invalid
+.Xc
+This rule applies only to
+.Em UPDATES
+where the ASPA Validation State (AVS) matches.
+.Pp
+.It Xo
.Ic community
.Ar as-number Ns Li \&: Ns Ar local
.Xc