[SNMP4J] how to create IP packet using SNMP4J

Shivi Goel -X (shivigoe - NICHEPRO TECHNOLOGIES PRIVATE LIMITED at Cisco) shivigoe at cisco.com
Thu Feb 12 09:50:55 CET 2015


Hi,

I need to do IP spoofing while sending out the snmp trap. ? I can't use the snmp.send(pdu, target) for sending trap as I need to modify the source IP in the outgoing  trap.
I am using jnet pcap librabry for IP spoofing which creates an IP packet and sends it. I need to understand how can I form an IP packet from snmp pdu and target. Does SNMP4J provides some API for this

Regards,
Shivi




More information about the SNMP4J mailing list