Bug 241946

Summary: bsnmpwalk returns NULL data
Product: Base System Reporter: Rodrigo Osorio <rodrigo>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 12.1-RELEASE   
Hardware: i386   
OS: Any   

Description Rodrigo Osorio freebsd_committer 2019-11-13 13:11:57 UTC
Maybe my command line is wrong, but I'm trying to get an OID from an SNMP server with the following parameters:

SNMPv3
port 161
R/W community: public
USM User: test
Auth algorithm: SHA
Auth pass: <empty>
Privacy Algorithm: DES
Privact pass: <empty>

bsnmpwalk -d -o verbose -v3 -A proto=sha -P proto=des -U engine=1,name=test -s public@snmp-host OID .1.3.6.1.4.1.13712.791.21.1.1.1.3.3.1.0

Engine ID 0x01
Boots : 0               Time : 0
Localized keys for User
SHA : 0x0000000000000000000000000000000000000000
DES : 0x0000000000000000
GETNEXT SNMPv3 'public' request_id=0 error_status=0 error_index=0
 [0]: 1.3.6.1.4.1.13712.791.21.1.1.1.3.3.1.0=NULL

Getting the same infos with snmpwalk :
snmpwalk -v3 -a SHA -u test -x DES -X "          " snmp-host .1.3.6.1.4.1.13712.791.21.1.1.1.3.3.1.0

SNMPv2-SMI::enterprises.13712.791.21.1.1.1.3.3.1.0 = INTEGER: 1