Spoof source IP/Port with DatagramPacket

浪子不回头ぞ 提交于 2019-12-10 11:25:19

问题


Is there any way to spoof the source IP/Port of a DatagramPacket object in Java?


回答1:


Raw Socket is a term that'll help your search.

You can look at the following question: Best way to do RAW socket programming involving Java

They recommend a raw-socket wrapper, rocksaw.



来源:https://stackoverflow.com/questions/10626262/spoof-source-ip-port-with-datagrampacket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!