How to Spoof ip in java

后端 未结 2 1231
悲&欢浪女
悲&欢浪女 2020-12-21 00:52

How to change tcp information in layer 3 in java ?(ip spoofing) how to change layer 2 information ? is there any good library for it in java ? it need raw socket?

相关标签:
2条回答
  • 2020-12-21 01:51

    JpCap may be what you want http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/

    0 讨论(0)
  • 2020-12-21 01:56

    unfortunately to need access to the TCP/IP packet structures you need to work at very low level (you need the kernel headers in Linux for instance) so yes, you will definitely 100% need to do this outside java in a native library and call the code in your Java app.

    0 讨论(0)
提交回复
热议问题