SNMP_USM(3)
π
SNMP_USM(3) β the user-based security module for bsnmpd(1), bestie
okay so this is a library functions manual page, and it's all about snmp_usm β the vibe is security module, the energy is immaculate, the library is literally (begemotSnmpdModulePath."usm" = /usr/lib/snmp_usm.so). π
β¨ NAME β¨
snmp_usm β the user-based security module for bsnmpd(1). that's it, that's the name, no cap.
πΈ LIBRARY πΈ
(begemotSnmpdModulePath."usm" = /usr/lib/snmp_usm.so)
like, that's where it lives. she has an address, she's that girl. π
π¦ DESCRIPTION π¦
so the snmp_usm module implements the SNMPv3 User-Based Security Model MIB exactly as defined in RFC 3414. periodt.
the module is the one that manages the internal list of SNMPv3 USM active users inside bsnmpd. and here's the thing, bestie β this module must be loaded for bsnmpd to receive and process SNMPv3 USM PDUs correctly. no module, no PDUs. it's giving essential. π₯
π IMPLEMENTATION NOTES π
a short little description of the objects in the MIB follows β buckle up, we're going through them one by one. π«Ά
usmStatsβ this subtree contains the statistics for the User-based Security Model PDU processing. and heads up: the statistics are reset each time the module is loaded. so yeah, reload = clean slate, no notes. πusmUserSpinLockβ an advisory lock used to coordinate several Command Generator Applications when they're altering the SNMP USM users. it's the group-chat moderator of locks, honestly.usmUserTableβ the table that contains all the SNMP USM users configured inbsnmpd. and she contains the following objects:usmUserEngineIDβ an SNMP engine's administratively-unique identifier. it must be set to the same Engine ID asbsnmpdso that the user will actually be allowed to communicate with the daemon. this column is used as the entry key and is not accessible for GET or SET operations. look but don't touch? no babe, you can't even look. πusmUserNameβ the USM user name. it's the second entry key, and again, not accessible for GET or SET operations.usmUserSecurityNameβ this column has the exact same value as theusmUserNamecolumn, however it is accessible for GET operations. iconic of her honestly.usmUserCloneFromβ a GET on this column will return an empty OID. SET operations are currently not supported. it's giving read-only energy. πusmUserAuthProtocolβ the value of this column contains the OID corresponding to the authentication protocol used by the USM user. the following protocols and their OIDs are known to thesnmp_usmmodule:NoAuthProtocolβ1.3.6.1.6.3.10.1.1.1HMACMD5AuthProtocolβ1.3.6.1.6.3.10.1.1.2HMACSHAAuthProtocolβ1.3.6.1.6.3.10.1.1.3
usmUserAuthKeyChange,usmUserOwnAuthKeyChangeβ these columns may be used to change the user's authentication key. key glow-up, basically. πusmUserPrivProtocolβ the value of this column contains the OID corresponding to the privacy protocol used by the USM user. the following protocols and their OIDs are known to thesnmp_usmmodule:NoPrivProtocolβ1.3.6.1.6.3.10.1.2.1DESPrivProtocoβ1.3.6.1.6.3.10.1.2.2AesCfb128Protocolβ1.3.6.1.6.3.10.1.2.4
yep, it really is spelled DESPrivProtoco in here. not me fixing it β that's literally the name. copy it exactly, bestie. π
usmUserPrivKeyChange,usmUserOwnPrivKeyChangeβ these columns may be used to change the user's privacy key. privacy is self-care. πΈusmUserPublicβ an arbitrary octet string that may be modified to confirm a SET operation on any of the columns was successful. she's the little "ok it worked β " receipt.usmUserStorageTypeβ this column always has either of two values:- entries created via
bsnmpd's configuration file always have this column set toreadOnly(5), and it is not possible to modify those entries. - entries created by Command Generator Applications always have this column set to
volatile(2), and such entries are lost when the module is restarted. - a SET operation on this column is not allowed. periodt.
- entries created via
usmUserStatusβ this column is used to create new USM user entries or delete existing ones from the table. creation and destruction, the full circle of life. π¦
π FILES π
/usr/share/snmp/defs/usm_tree.defβ the description of the MIB tree implemented bysnmp_usm. like a little map of everything above. πΊοΈ
β SEE ALSO β
bsnmpd(1), gensnmptree(1), snmpmod(3)
go read those too, they're the supporting cast and they ate. π
π STANDARDS π
IETF RFC 3414
π AUTHORS π
Shteryana Shopova <syrinx@FreeBSD.org>
okay that's the whole page, bestie β go forth and secure those users π β¨
Debian Β· September 9, 2010 Β· that's the source/version and date, mwah, love u, bye π«Άπ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (C) 2010 The FreeBSD Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms