[AGENT++] source IP of the trap

Frank Fock fock at agentpp.com
Mon Oct 4 20:49:59 CEST 2004


Hi Ramin,

You can use request.get_address() to get the senders transport address.

Best regards,
Frank

Ramin Dousti wrote:

>Hi,
>
>Can someone help me with extracting the IP address sending the traps?
>I'm not talking about pdu.get_v1_trap_address(). For example if the traps
>are being proxied by an agent, I'm interested in the source IP of the last
>agent == IP of the UDP packet.
>
>Thank you,
>Ramin
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>





More information about the AGENTPP mailing list