summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-09-27 10:49:22 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-09-27 10:49:22 +0000
commit0a60ab506d478314802ccbdb426770a0efdf3058 (patch)
tree6ab8ddf3a0997e18efff4768c7d8cc380bb16c65 /etc
parenteeb189c481eaf5658b3db317db0dbd99e781129b (diff)
Match GRACEFUL_SHUTDOWN only from ebgp sessions as specified by
RFC8326 Section 4.1. OK sthen@ phessler@ job@
Diffstat (limited to 'etc')
-rw-r--r--etc/examples/bgpd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/examples/bgpd.conf b/etc/examples/bgpd.conf
index 89de1a9e994..da6972e7192 100644
--- a/etc/examples/bgpd.conf
+++ b/etc/examples/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.21 2021/02/02 00:34:03 danj Exp $
+# $OpenBSD: bgpd.conf,v 1.22 2023/09/27 10:49:21 claudio Exp $
# example bgpd configuration file, see bgpd.conf(5)
# define our own ASN as a macro
@@ -111,7 +111,7 @@ allow from any inet6 prefixlen 16 - 48
# Honor requests to gracefully shutdown BGP sessions
# https://tools.ietf.org/html/rfc8326
-match from any community GRACEFUL_SHUTDOWN set { localpref 0 }
+match from ebgp community GRACEFUL_SHUTDOWN set { localpref 0 }
deny quick from any prefix-set bogons