Dave,

Dave Shield <[EMAIL PROTECTED]> wrote:

> On 03/04/2008, Mike Harless <[EMAIL PROTECTED]> wrote:
> >  I've got a question on how failures are supposed to work with snmpv3
> >  when I'm using authPriv and I supply a bad privPassword.  Is the request
> >  just supposed to timeout (like I'm seeing), or should I get some type
> >  of error back (like I do with a bad authPassword)?  Thanks.
> 
> The agent should receive the request, and attempt to decrypt it.
> This decryption will fail (since the request was encrypted using
> the wrong password), and the agent should return a REPORT message,
> (decryptionError).

Thanks.  I'll have to see what's going wrong then and why I just
get a timeout.  

What I'm seeing with 5.4.1, -Dusm, and an invalid privacy
password is:

    Received SNMP packet(s) from UDP: [15.80.223.237]:32774
    usm: USM processing begun...
    usm: match on user operator
    usm: Verification succeeded.
    usm: USM processing completed.

If the privacy password is correct, I get:

    Received SNMP packet(s) from UDP: [15.80.223.237]:32774
    usm: USM processing begun...
    usm: match on user operator
    usm: Verification succeeded.
    usm: USM processing completed.
      GET message
        -- SNMPv2-MIB::sysName.0
    usm: USM processing has begun (offset 56)
    usm: Encryption successful.
    usm: USM processing completed.


--Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to