xref: /freebsd/contrib/bsnmp/snmp_usm/snmp_usm.3 (revision 4530e0c3e78d0616367d37273d6c1f47f627839b)
1135f7de5SShteryana Shopova.\"-
2135f7de5SShteryana Shopova.\" Copyright (C) 2010 The FreeBSD Foundation
3135f7de5SShteryana Shopova.\"
4135f7de5SShteryana Shopova.\" This documentation was written by Shteryana Sotirova Shopova under
5135f7de5SShteryana Shopova.\" sponsorship from the FreeBSD Foundation.
6135f7de5SShteryana Shopova.\"
7135f7de5SShteryana Shopova.\" Redistribution and use in source and binary forms, with or without
8135f7de5SShteryana Shopova.\" modification, are permitted provided that the following conditions
9135f7de5SShteryana Shopova.\" are met:
10135f7de5SShteryana Shopova.\" 1. Redistributions of source code must retain the above copyright
11135f7de5SShteryana Shopova.\"    notice, this list of conditions and the following disclaimer.
12135f7de5SShteryana Shopova.\" 2. Redistributions in binary form must reproduce the above copyright
13135f7de5SShteryana Shopova.\"    notice, this list of conditions and the following disclaimer in the
14135f7de5SShteryana Shopova.\"    documentation and/or other materials provided with the distribution.
15135f7de5SShteryana Shopova.\"
16135f7de5SShteryana Shopova.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17135f7de5SShteryana Shopova.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18135f7de5SShteryana Shopova.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19135f7de5SShteryana Shopova.\" ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
20135f7de5SShteryana Shopova.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21135f7de5SShteryana Shopova.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22135f7de5SShteryana Shopova.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23135f7de5SShteryana Shopova.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24135f7de5SShteryana Shopova.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25135f7de5SShteryana Shopova.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26135f7de5SShteryana Shopova.\" SUCH DAMAGE.
27135f7de5SShteryana Shopova.\"
28135f7de5SShteryana Shopova.\" $FreeBSD$
29135f7de5SShteryana Shopova.\"
30135f7de5SShteryana Shopova.Dd September 9, 2010
31135f7de5SShteryana Shopova.Dt SNMP_USM 3
32135f7de5SShteryana Shopova.Os
33135f7de5SShteryana Shopova.Sh NAME
34135f7de5SShteryana Shopova.Nm snmp_usm
35*0aa9c2d8SJoel Dahl.Nd "user-based security module for"
36135f7de5SShteryana Shopova.Xr bsnmpd 1
37135f7de5SShteryana Shopova.Sh LIBRARY
38135f7de5SShteryana Shopova.Pq begemotSnmpdModulePath."usm" = "/usr/lib/snmp_usm.so"
39135f7de5SShteryana Shopova.Sh DESCRIPTION
40135f7de5SShteryana ShopovaThe
41135f7de5SShteryana Shopova.Nm snmp_usm
42135f7de5SShteryana Shopovamodule implements SNMPv3 User-Based Security Model MIB as defined in RFC 3414.
43135f7de5SShteryana ShopovaThe module is used to manage the internal list of SNMPv3 USM active users in
44135f7de5SShteryana Shopova.Nm bsnmpd .
45135f7de5SShteryana ShopovaThe module must be loaded for
46135f7de5SShteryana Shopova.Nm bsnmpd
47135f7de5SShteryana Shopovato receive and process SNMPv3 USM PDUs correctly.
48135f7de5SShteryana Shopova.Sh IMPLEMENTATION NOTES
49135f7de5SShteryana ShopovaA short description of the objects in the MIB follows.
50135f7de5SShteryana Shopova.Bl -tag -width "XXXXXXXXX"
51135f7de5SShteryana Shopova.It Va usmStats
52135f7de5SShteryana ShopovaThe subtree contains statistics for the User-based Security Model PDU processing.
53135f7de5SShteryana ShopovaThe statistics are reset each time the module is loaded.
54135f7de5SShteryana Shopova.It Va usmUserSpinLock
55135f7de5SShteryana ShopovaAn advisory lock used to coordinate several Command Generator Applications when
56135f7de5SShteryana Shopovaaltering the SNMP USM users.
57135f7de5SShteryana Shopova.It Va usmUserTable
58135f7de5SShteryana ShopovaThe table contains all SNMP USM users configured in
59135f7de5SShteryana Shopova.Nm bsnmpd .
60135f7de5SShteryana ShopovaThe table contains the following objects
61135f7de5SShteryana Shopova.Bl -tag -width ".It Va usmUserEngineID"
62135f7de5SShteryana Shopova.It Va usmUserEngineID
63135f7de5SShteryana ShopovaAn SNMP engine's administratively-unique identifier. Must be set to the same
64135f7de5SShteryana ShopovaEngine ID as
65135f7de5SShteryana Shopova.Nm bsnmpd
66135f7de5SShteryana Shopovaso that the user will actually be allowed to communicate with the daemon.
67135f7de5SShteryana ShopovaThe column is used as entry key and is not accessible for GET or SET operations.
68135f7de5SShteryana Shopova.It Va usmUserName
69135f7de5SShteryana ShopovaThe USM user name. The second entry key, again not accessible for GET or SET
70135f7de5SShteryana Shopovaoperations.
71135f7de5SShteryana Shopova.It Va usmUserSecurityName
72135f7de5SShteryana ShopovaThe column has the exact same value as the
73135f7de5SShteryana Shopova.Va usmUserName
74135f7de5SShteryana Shopovacolumn, however is accessible for GET operations.
75135f7de5SShteryana Shopova.It Va usmUserCloneFrom
76135f7de5SShteryana ShopovaA GET on this column will return an empty OID. SET operations are currently not
77135f7de5SShteryana Shopovasupported.
78135f7de5SShteryana Shopova.It Va usmUserAuthProtocol
79135f7de5SShteryana ShopovaThe value of this column contains the OID corresponding to the authentication
80135f7de5SShteryana Shopovaprotocol used by the USM user. The following protocols and their OIDs are known to
81135f7de5SShteryana Shopova.Nm
82135f7de5SShteryana Shopovamodule
83135f7de5SShteryana Shopova.Bl -tag -width ".It Va NoAuthProtocol"
84135f7de5SShteryana Shopova.It NoAuthProtocol 1.3.6.1.6.3.10.1.1.1
85135f7de5SShteryana Shopova.It HMACMD5AuthProtocol 1.3.6.1.6.3.10.1.1.2
86135f7de5SShteryana Shopova.It HMACSHAAuthProtocol 1.3.6.1.6.3.10.1.1.3
87135f7de5SShteryana Shopova.El
88135f7de5SShteryana Shopova.It Va usmUserAuthKeyChange , Va usmUserOwnAuthKeyChange
89135f7de5SShteryana ShopovaThese columns may be used to change the user's authentication key.
90135f7de5SShteryana Shopova.It Va usmUserPrivProtocol
91135f7de5SShteryana ShopovaThe value of this column contains the OID corresponding to the privacy
92135f7de5SShteryana Shopovaprotocol used by the USM user. The following protocols and their OIDs are known to
93135f7de5SShteryana Shopova.Nm
94135f7de5SShteryana Shopovamodule
95135f7de5SShteryana Shopova.Bl -tag -width ".It Va NoPrivProtocol"
96135f7de5SShteryana Shopova.It NoPrivProtocol 1.3.6.1.6.3.10.1.2.1
97135f7de5SShteryana Shopova.It DESPrivProtoco 1.3.6.1.6.3.10.1.2.2
98135f7de5SShteryana Shopova.It AesCfb128Protocol 1.3.6.1.6.3.10.1.2.4
99135f7de5SShteryana Shopova.El
100135f7de5SShteryana Shopova.It Va usmUserPrivKeyChange , Va usmUserOwnPrivKeyChange
101135f7de5SShteryana ShopovaThese columns may be used to change the user's privacy key.
102135f7de5SShteryana Shopova.It Va usmUserPublic
103135f7de5SShteryana ShopovaAn arbitrary octet string that may be modified to confirm a SET operation on any
104a3fb6da9SGlen Barberof the columns was successful.
105135f7de5SShteryana Shopova.It Va usmUserStorageType
106135f7de5SShteryana ShopovaThis column always has either of two values. Entries created via
107135f7de5SShteryana Shopova.Nm bsnmpd's
108135f7de5SShteryana Shopovaconfiguration file always have this column set to readOnly (5) and
109135f7de5SShteryana Shopovait is not possible to modify those entries. Entries created by Command Generator
110135f7de5SShteryana ShopovaApplications always have this column set to volatile(2) and such entries are
111135f7de5SShteryana Shopovalost when the module is restarted. A SET operation on this column is not
112135f7de5SShteryana Shopovaallowed.
113135f7de5SShteryana Shopova.It Va usmUserStatus
11472cd7a52SShteryana ShopovaThis column is used to create new USM user entries or delete existing ones from
115135f7de5SShteryana Shopovathe table.
116135f7de5SShteryana Shopova.El
117f0720ed5SUlrich Spörlein.El
118135f7de5SShteryana Shopova.Sh FILES
119135f7de5SShteryana Shopova.Bl -tag -width "XXXXXXXXX"
120135f7de5SShteryana Shopova.It Pa /usr/share/snmp/defs/usm_tree.def
121135f7de5SShteryana ShopovaThe description of the MIB tree implemented by
122135f7de5SShteryana Shopova.Nm .
123135f7de5SShteryana Shopova.El
124135f7de5SShteryana Shopova.Sh SEE ALSO
125135f7de5SShteryana Shopova.Xr bsnmpd 1 ,
126135f7de5SShteryana Shopova.Xr gensnmptree 1 ,
127135f7de5SShteryana Shopova.Xr snmpmod 3
128135f7de5SShteryana Shopova.Sh STANDARDS
129135f7de5SShteryana ShopovaIETF RFC 3414
130135f7de5SShteryana Shopova.Sh AUTHORS
131135f7de5SShteryana Shopova.An Shteryana Shopova Aq syrinx@FreeBSD.org
132