• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is IP Spoofing possible?  RSS feed

 
Karthik Veeramani
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to test an application by sending some datagrams to a server. The datagrams should seem to appear from different machine ips. Is it possible to send a spoofed message in Java? I've seen people doing this using unix version of C, but I need to do it in Java.
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Karthik Veeramani:
I'd like to test an application by sending some datagrams to a server. The datagrams should seem to appear from different machine ips. Is it possible to send a spoofed message in Java? I've seen people doing this using unix version of C, but I need to do it in Java.


Not without a third party native package that can handle raw sockets. JPcap is a possibility, but you may have to write some code yourself to do packet spoofing. I hope you are not wanting to do this for the wrong reasons.
 
Eric Cartman
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Easiest way would be to wrap some JNI around the C libs that are being used.
 
Karthik Veeramani
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that. And no, its not for any wrong reason ...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!