diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-09-26 15:19:56 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-09-26 15:19:56 +0000 |
commit | f6aa7e9b26297e3aacacfc47da2dcd9b7a2e9ff6 (patch) | |
tree | 8ee0e3d73ae6b1b659de7460ece8408b6860062c /usr.sbin/snmpd/snmpd.8 | |
parent | 78eb4b63025d2ad9bd0479786dd0ca6ea84cfdb0 (diff) |
allow to add an additional restricted control socket for trap sending
only (not even show commands). this allows to place a socket for
traps in another daemon's chroot.
(based on restricted socket support from bgpd)
Diffstat (limited to 'usr.sbin/snmpd/snmpd.8')
-rw-r--r-- | usr.sbin/snmpd/snmpd.8 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/snmpd.8 b/usr.sbin/snmpd/snmpd.8 index 94611664dea..3b93e946828 100644 --- a/usr.sbin/snmpd/snmpd.8 +++ b/usr.sbin/snmpd/snmpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: snmpd.8,v 1.8 2008/03/30 17:56:27 martin Exp $ +.\" $OpenBSD: snmpd.8,v 1.9 2008/09/26 15:19:55 reyk Exp $ .\" .\" Copyright (c) 2007, 2008 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: March 30 2008 $ +.Dd $Mdocdate: September 26 2008 $ .Dt SNMPD 8 .Os .Sh NAME @@ -27,6 +27,7 @@ .Fl D Ar macro Ns = Ns Ar value Oc .Xc .Op Fl f Ar file +.Op Fl r Ar path .Sh DESCRIPTION .Nm is a daemon which implements the SNMP protocol. @@ -55,15 +56,26 @@ Show numeric OID values instead of their symbolic names. .It Fl n Configtest mode. Only check the configuration file for validity. +.It Fl r Ar path +Open a second, restricted, control socket that +.Xr snmpctl 8 +can use. +Only +.Em trap +requests are allowed on this socket. .It Fl v Produce more verbose output. .El .Sh FILES -.Bl -tag -width "/etc/snmpd.confXXX" -compact +.Bl -tag -width "/var/run/snmpd.sockXXX" -compact .It Pa /etc/snmpd.conf default .Nm configuration file +.It Pa /var/run/snmpd.sock +default +.Nm +control socket .El .Sh SEE ALSO .Xr snmpd.conf 5 , |