Bug 241946 - bsnmpwalk returns NULL data
Summary: bsnmpwalk returns NULL data
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-13 13:11 UTC by Rodrigo Osorio
Modified: 2019-11-13 13:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Osorio freebsd_committer freebsd_triage 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