summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-10-13 08:28:31 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-10-13 08:28:31 +0000
commit2d64fa991e7850a977f2697e1923c963c38a4d08 (patch)
tree4dfaf1a122c56472043068f30cece3848f2f3475
parentbaa568a9e3339341fca0c5a27e76cb03f92b55fe (diff)
adapt to new "socket ... restricted" syntax, reported by Patrick Lamaiziere,
ok henning@
-rw-r--r--usr.bin/bgplg/bgplg.817
-rw-r--r--usr.bin/bgplg/bgplgsh.816
2 files changed, 16 insertions, 17 deletions
diff --git a/usr.bin/bgplg/bgplg.8 b/usr.bin/bgplg/bgplg.8
index 986ea0bf111..21867453cb7 100644
--- a/usr.bin/bgplg/bgplg.8
+++ b/usr.bin/bgplg/bgplg.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgplg.8,v 1.7 2010/05/18 15:09:34 sobrado Exp $
+.\" $OpenBSD: bgplg.8,v 1.8 2010/10/13 08:28:30 sthen Exp $
.\"
.\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@vantronix.net>
.\"
@@ -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: May 18 2010 $
+.Dd $Mdocdate: October 13 2010 $
.Dt BGPLG 8
.Os
.Sh NAME
@@ -93,18 +93,17 @@ from within the
.Xr chroot 2
environment.
See
-.Xr bgpd 8
+.Xr bgpd.conf 5
for more information.
.Pp
For example,
-set the following in
-.Pa /etc/rc.conf.local
-to start
+add the following to
+.Pa /etc/bgpd.conf
+to have
.Xr bgpd 8
-using the second, restricted, control socket:
-.Pp
-.Dl bgpd_flags=\&"-r /var/www/logs/bgpd.rsock\&"
+open a second, restricted, control socket:
.Pp
+.Dl socket \&/var/www/logs/bgpd.rsock\&" restricted
.It
Start the Apache HyperText Transfer Protocol server.
See
diff --git a/usr.bin/bgplg/bgplgsh.8 b/usr.bin/bgplg/bgplgsh.8
index daf397fa2b0..87c0aff4e3b 100644
--- a/usr.bin/bgplg/bgplgsh.8
+++ b/usr.bin/bgplg/bgplgsh.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgplgsh.8,v 1.3 2007/05/31 19:20:07 jmc Exp $
+.\" $OpenBSD: bgplgsh.8,v 1.4 2010/10/13 08:28:30 sthen Exp $
.\"
.\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@vantronix.net>
.\"
@@ -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: May 31 2007 $
+.Dd $Mdocdate: October 13 2010 $
.Dt BGPLG 8
.Os
.Sh NAME
@@ -63,19 +63,19 @@ for more information about system user management.
Start the Border Gateway Protocol daemon with a second,
restricted, control socket.
See
-.Xr bgpd 8
+.Xr bgpd.conf 5
and
.Xr bgplg 8
for more information.
.Pp
For example,
-set the following in
-.Pa /etc/rc.conf.local
-to start
+add the following to
+.Pa /etc/bgpd.conf
+to have
.Xr bgpd 8
-using the second, restricted, control socket:
+open a second, restricted, control socket:
.Pp
-.Dl bgpd_flags=\&"-r /var/www/logs/bgpd.rsock\&"
+.Dl socket \&/var/www/logs/bgpd.rsock\&" restricted
.El
.Sh FILES
.Bl -tag -width "/var/www/conf/bgpd.rsockXX" -compact