Hi Tom,
thank you for your report.
First of all I can confirm your issue.

In a fresh container triggerable with:
$ apt install snmp snmpd
$ echo > /etc/snmp/snmpd.conf << EOF
agentAddress udp:161,udp6:[::1]: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

** Changed in: net-snmp (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1742671

Title:
  SNMPD hangs when a client browses a restricted OID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1742671/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to