Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Raw socket support  RSS feed

 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why aren't raw sockets supported in the java.net package? The Sun party line seems to be that it is because super user privilege is required on Unix platforms to open a raw socket. So what? Root privilege is required to start a ServerSocket on port 1000 but the net API wouldn't be much without ServerSockets. I think the real reason is they're afraid of Java being the ultimate hacker's kit. Just think how simple it would be to make a packet spoofer class with raw socket support. Or to launch a SYN flood DOS attack. Steath probes would be a cake walk. That's my opinion, what does everyone else think?
Michael Morris
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!