# Now the unlimited case is fine:
$ snmpwalk -v3 -u unlimited -l authPriv -a SHA -x AES -A password -X password localhost
# Also the bulkwalk with the limited user is good
$ snmpbulkwalk -v3 -u limited -l authPriv -a SHA -x AES -A password -X password localhost
# But as reported the following seems to hang the server (command hangs, further commands hang immediately)
$ snmpwalk -v3 -u limited -l authPriv -a SHA -x AES -A password -X password localhost
Hi Tom,
thank you for your report.
First of all I can confirm your issue.
In a fresh container triggerable with: snmpd.conf << EOF udp6:[: :1]:161
$ apt install snmp snmpd
$ echo > /etc/snmp/
agentAddress udp:161,
view limited_vw included .1.3.6.1.2.1.1
view limited_vw included .1.3.6.1.2.1.2
view limited_vw included .1.3.6.1.2.1.4.31
access limited_grp "" usm priv exact limited_vw none none
sysLocation dummylocation
sysContact dummycontact
createUser limited SHA "password" AES "password"
I tested 16.04 but also the most recent 18.04 - it triggers the issue everywhere.
rouser limited priv -V limited_vw
createUser unlimited SHA "password" AES "password"
rouser unlimited priv
EOF
$ systemctl restart snmpd
# Now the unlimited case is fine:
$ snmpwalk -v3 -u unlimited -l authPriv -a SHA -x AES -A password -X password localhost
# Also the bulkwalk with the limited user is good
$ snmpbulkwalk -v3 -u limited -l authPriv -a SHA -x AES -A password -X password localhost
# But as reported the following seems to hang the server (command hangs, further commands hang immediately)
$ snmpwalk -v3 -u limited -l authPriv -a SHA -x AES -A password -X password localhost