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:

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 .

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

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

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