help needed regarding Authentication & encryption (SHA/AES)
"anand anand" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
*Hello All * ** * I am using SHA and AES* * I am using the following command :* ./snmpget -M /usr/local/share/snmp/mibs -v 3 -a SHA -A 0303031303230333034303530363037303830393030303130323033303430353036303730383039 -e 3030303030304131313331333133313331333133 -l authPriv -u anand -x AES -X 3030303130323033303430353036303730383039303030313032303330343035 -d 10.232.177.21 MY_MIB::Tag.0 *i am getting the following in the snmpd.log . Kindly see the highlighted part.* trace: sc_check_keyed_hash(): scapi.c, 543: sc_check_keyed_hash(): key=0x0001020304050607080900010203040506070809 (20) trace: dump_chunk(): tools.c, 503: usm/dump: wholeMsg: trace: dump_chunk(): tools.c, 515: usm/dump: 3081960201033011020466546e10020300ffe3040107020103043e303c041430 trace: dump_chunk(): tools.c, 515: usm/dump: 3030303030413131333133313331333133313302010002010004066173686973 trace: dump_chunk(): tools.c, 515: usm/dump: 68040c00000000000000000000000004088c870e9e6e181efa043e15f3c79e2c trace: dump_chunk(): tools.c, 515: usm/dump: 949525998f50a18858e98d6d9d4cd5517dbda2a6072c90f3960f290d09fac694 trace: dump_chunk(): tools.c, 517: usm/dump: 6380bca7d3d49cdc12ecc36c11ce284fe83218cb91e947dff7 trace: sc_generate_keyed_hash(): scapi.c, 278: trace: sc_get_properlength(): scapi.c, 117: trace: usm_process_in_msg(): snmpusm.c, 2509: *usm: Verification succeeded*. trace: usm_check_and_update_timeliness(): snmpusm.c, 2142: *usm: boot_uint 0 myBoots 1 time_diff 15 => not in time window* trace: sc_decrypt(): scapi.c, 916: trace: usm_process_in_msg(): snmpusm.c, 2707: usm: USM processing completed. trace: snmpv3_parse(): snmp_api.c, 3824: dumph_recv: ScopedPDU trace: _snmp_parse(): snmp_api.c, 4145: *snmp_parse: Parsed SNMPv3 message (secName:anand , secLevel:authPriv): ASN.1 parse error in message* *trace: _sess_process_packet(): snmp_api.c, 5081: sess_process_packet: parse fail* Can anyone tell me why is this happenning. Is there something wrong which i have put in the snmpget request. Thanks for your help -anand