Claus Ibsen created CAMEL-27224:
-----------------------------------

             Summary: camel-snmp - the trap consumer should apply snmpVersion 
and the SNMPv3 user and security level of its endpoint
                 Key: CAMEL-27224
                 URL: https://issues.apache.org/jira/browse/CAMEL-27224
             Project: Camel
          Issue Type: Bug
          Components: camel-snmp
            Reporter: Claus Ibsen
             Fix For: 4.24.0


The SNMP trap consumer (type=TRAP) uses the default SNMP4J dispatcher with all 
message processing models, and does not read the version or SNMPv3 options of 
its endpoint.

- With snmpVersion=3 it receives SNMPv1/v2c traps.
- It does not receive SNMPv3 traps unless another snmp endpoint with SNMPv3 has 
registered its user in the JVM-wide SecurityModels of SNMP4J.

The consumer should use only the message processing model(s) of its 
snmpVersion: v1 and v2c for 0 and 1, v3 for 3. For v3 it should hold its own 
user, and receive only traps of its securityName with at least its 
securityLevel.

_Claude Code on behalf of Claus Ibsen_




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to