diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-27 19:53:35 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-27 19:53:35 +0000 |
commit | 5f50e502dcd0fc82337d4ac249b3db3fd2501a00 (patch) | |
tree | 51c7ca82b0a3cc165a3b4c324696743383859a19 /usr.sbin/bgpd/bgpd.conf.5 | |
parent | 2a99fa8128542ee18a60fff78ea1946e00a752ef (diff) |
Instead of specifying the control sockets on the command line have them
in bgpd.conf. This allows to add/modify restricted control sockets on runtime.
Feature request by a few people how often forgot to add -r path when restarting
bgpd (including myself).
NOTE: this removes the -s and -r arguments from bgpd so pay attention when
updateing.
jajaja sthen@, OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r-- | usr.sbin/bgpd/bgpd.conf.5 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5 index 34e0d16594d..c4b4eaaa105 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.109 2010/05/17 17:46:22 jmc Exp $ +.\" $OpenBSD: bgpd.conf.5,v 1.110 2010/06/27 19:53:34 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: May 17 2010 $ +.Dd $Mdocdate: June 27 2010 $ .Dt BGPD.CONF 5 .Os .Sh NAME @@ -381,6 +381,14 @@ This is the same as using the following syntax: rde rib Loc-RIB rtable number .Ed .Pp +.It Ic socket Ar path Ic Op restricted +Set the control socket location to +.Ar path . +If +.Ic restricted +is specified a restricted control socket will be created. +By default /var/run/bgpd.sock is used and no restricted socket is created. +.Pp .It Xo .Ic transparent-as .Pq Ic yes Ns \&| Ns Ic no |