From: claudio Date: Wed, 27 Sep 2023 10:49:21 +0000 (+0000) Subject: Match GRACEFUL_SHUTDOWN only from ebgp sessions as specified by X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63d1ec24f1b663163c34aebee0297b8c369ce2a9;p=openbsd Match GRACEFUL_SHUTDOWN only from ebgp sessions as specified by RFC8326 Section 4.1. OK sthen@ phessler@ job@ --- 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