SNMPv3: authPriv: Scoped PDU: ASN.1 Parse error

Krishna Chaitanya <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CABPxzYKjQHbSsx5OG3gVneiweEowAsmf4dM-k5LOS7h7J_Uqaw@mail.gmail.com>
Hi Guys,

I am facing the exact problem
https://sourceforge.net/p/net-snmp/mailman/message/19231076/

I am using authPriv, snmpd says USM processing completed, user
verified, but when trying to process scopedPDU it fails with "ASN.1
parse error" Any ideas?

If I give EngineID and Credentials, Wireshark is able to decrypt the
packet and display as getBulkRequest with proper OIDs.
Logs:

dumph_recv:           SNMP Version  02 01 03     Integer: 3 (0x03)
dumph_recv:           SNMPv3 Message
dumph_recv:             SNMP Version Number  02 01 03     Integer: 3 (0x03)
dumph_recv:             msgGlobalData
dumph_recv:               msgID  02 04 32 93 78 21     Integer:
848525345 (0x32937821)
dumph_recv:               msgMaxSize  02 03 00 FF E3     Integer: 65507 (0xFFE3)
dumph_recv:               msgFlags  04 01 07     String: .
dumph_recv:               msgSecurityModel  02 01 03     Integer: 3 (0x03)
dumph_recv:             SM msgSecurityParameters
usm: USM processing begun...
dumph_recv:               msgAuthoritativeEngineID  #################
dumph_recv:               msgAuthoritativeEngineBoots #######
dumph_recv:               msgAuthoritativeEngineTime #########
dumph_recv:               msgUserName  #######
dumph_recv:               msgAuthenticationParameters  ###########
dumph_recv:               msgPrivacyParameters  ##########
usm: match on user privUser
usm: Verification succeeded.
usm: USM processing completed.
dumph_recv:               ScopedPDU
snmp_parse: Parsed SNMPv3 message (secName:privUser,
secLevel:authPriv): ASN.1 parse error in message

Any help is appreciated.

-- 
Thanks,
Regards,
Chaitanya T K.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.