0

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.

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.

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.

Al-Alamin
  • 1,438
  • 2
  • 15
  • 34
  • I don't know what's wrong with their website, but jnetpcap is (was?) a solid Java wrapper for libpcap. I used it a few times. Maybe there are versions and examples still floating around. – Malt Nov 07 '17 at 20:04
  • I have a working version in windows but no matter how much i try i have not been able to make it work in linux 64bit pc. – Al-Alamin Nov 08 '17 at 06:40

1 Answers1

0

I turned out there was a problem in Jnetpcap 1.4 for Linux OS. Jnetpcap 1.4 worked fine in windows but did not work in Linux but Jnetpcap 1.3 worked fine both in windows and Linux.

Al-Alamin
  • 1,438
  • 2
  • 15
  • 34