I sent and received spoofed IP packets by using Linux kali tools hping3. Now I would like to send spoofed IP packets using java. I looked at these questions but could not find any good resource(existing links don't work) or working solution.
- How to fake source ip-address of a udp-packet?
- Spoof source IP/Port with DatagramPacket
- Creating raw packets to spoof UDP Packets
- How to Spoof ip in java
Most of them have accepted answers but those answers solution do not work now. Most of those answers' solution links don't work like these links.
- http://jnetpcap.com/
- http://netresearch.ics.uci.edu/kfujii/jpcap/doc/javadoc/jpcap/JpcapSender.html
- http://netresearch.ics.uci.edu/kfujii/jpcap/doc/
Additional information. My PC is Linux server(64 bit) and with 64 bit JDK. One solution worked for windows but does not work in Linux.