Re: SNMPv3 support in SNMP trap daemon software
Gaurav Chaturvedi <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, I am glad to say that I have atleast some clue about the issue (this might help us to find root cause easily now). I am debugging my software using the net-snmp library code. I am able to find that there is a parse error in SNMPv3 trap i.e. function "snmpv3_parse" returns -43 as failure status. Can we find out the root cause now. Any help will be appreciated. Thanks Gaurav On Tue, Jul 20, 2010 at 4:34 PM, Gaurav Chaturvedi < [email protected]> wrote: > Following is the code I am using to create user (trying with 1 user for > now): > > sprintf(buf,"-e %s %s","0x0102030405","administrator"); > strcat(buf," MD5 "); > strcat(buf,"mypassword"); > usm_parse_create_usmUser(NULL,buf); > > and then sending the trap using "snmptrap" with following command: > > snmptrap -e 0x0102030405 -v 3 -u administrator -a MD5 -A mypassword -l > authNoPriv localhost 42 coldStart.0 > > Thanks > Gaurav > > > On Tue, Jul 20, 2010 at 4:30 PM, Dave Shield <[email protected]>wrote: > >> On 20 July 2010 11:54, Gaurav Chaturvedi <[email protected]> >> wrote: >> > No even noAuthNoPriv doesn't work..V1 and V2 works perfectly fine >> >> OK - it looks as if there's something fundamentally wrong. >> >> How are you creating the SNMPv3 users within the trap receiver? >> >> Dave >> > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users