Hi,
       I trying to  send the inform request as AUTHPRIV 
but I am getting unknown encryptionPDU in CAPTURE ...
 When I sending the key I find the SEND key is currect.
As AUTHNOPRIV is wotking fine
So I am expecting some help where could we problem.

CODE  in snmpusm.c where I find KEY IS CURRECT
I am using DES for encryption hence AES part I have disable.


    printf("\n Priv key  \n");
        for(i=0;i<16;i++)
            printf(" %x",thePrivKey[i]);

        if (sc_encrypt(thePrivProtocol, thePrivProtocolLength,
                       thePrivKey, thePrivKeyLength,
                       salt, salt_length,
                       scopedPdu, scopedPduLen,
                       ciphertext, &ciphertextlen) != SNMP_ERR_NOERROR) {
            printf("\n ebcrypt error \n");
            DEBUGMSGTL(("usm", "encryption error.\n"));
            usm_free_usmStateReference(secStateRef);
            SNMP_FREE(ciphertext);
            return SNMPERR_USM_ENCRYPTIONERROR;



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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

Reply via email to