From: denis Date: Thu, 19 Sep 2024 06:12:46 +0000 (+0000) Subject: document how to add a restricted socket X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=620bdc4b891154eb9b95099f94db29362490b6b7;p=openbsd document how to add a restricted socket OK claudio@ --- diff --git a/usr.sbin/bgplgd/bgplgd.8 b/usr.sbin/bgplgd/bgplgd.8 index fb3d0db1280..2b13652e91a 100644 --- a/usr.sbin/bgplgd/bgplgd.8 +++ b/usr.sbin/bgplgd/bgplgd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgplgd.8,v 1.9 2024/08/15 09:13:13 claudio Exp $ +.\" $OpenBSD: bgplgd.8,v 1.10 2024/09/19 06:12:46 denis Exp $ .\" .\" Copyright (c) 2021 Claudio Jeker .\" @@ -14,7 +14,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: August 15 2024 $ +.Dd $Mdocdate: September 19 2024 $ .Dt BGPLGD 8 .Os .Sh NAME @@ -171,6 +171,14 @@ Show a list of all neighbors, including information about the session state and message counters. .El .Sh EXAMPLES +Add the following to +.Pa /etc/bgpd.conf +to have +.Xr bgpd 8 +open a second, restricted, control socket: +.Pp +.Dl socket \&"/var/run/bgpd.rsock\&" restricted +.Pp An example setup in .Xr httpd 8 is: