Re: [SNMP4J] Issue using AES 192

2016-12-20 Thread Jochen Katz
Hello,

> I have successfully configured a USM user on a Cisco 2960-XR device with
> 'auth SHA KEY' and 'priv AES 128 KEY'.

> I suspect that this is an issue with the target device with AES 192 and AES
> 256.   But I am wondering if there might be something that I might try on
> the manager side.

You can use the two classes PrivAES192With3DESKeyExtension and
PrivAES256With3DESKeyExtension.

Kind regards,
  Jochen

___
SNMP4J mailing list
SNMP4J@agentpp.org
https://oosnmp.net/mailman/listinfo/snmp4j


[SNMP4J] Issue using AES 192

2016-12-20 Thread Ronald Braswell
I have successfully configured a USM user on a Cisco 2960-XR device with
'auth SHA KEY' and 'priv AES 128 KEY'.  (the KEY is a placeholder in this
email to represent the pass phrase) This works fine.

However, when I use 'auth SHA KEY' and 'priv AES 192 KEY'  I get the
following error:

1.  In onResponse(ResponseEvent evt):

 evt.getError() ->  Exception:   'Message processing model 3 returned
error:  Encryption error'

 This is due to the report response from the target device to a
get-request from the manager.

I am attaching a file from a Wireshark export showing two instances of this
behavior.   Note that after the initial get-request and report response,
each invocation of snmp.send() simply returns the 'Message processing model
3 returned error: Encryption error'  without sending a new get-request.

I suspect that this is an issue with the target device with AES 192 and AES
256.   But I am wondering if there might be something that I might try on
the manager side.

Ron
___
SNMP4J mailing list
SNMP4J@agentpp.org
https://oosnmp.net/mailman/listinfo/snmp4j