First off, before I ask, i would like to point out that this question is for education. I want to know to expand my understanding of Java and network security (what little there is).
How could you use Java for network security and counter attacks? I have been using server/sockets for a while now (for non system security stuffs), but I don’t quite understand what I’m doing. Naturally, I should learn up on networking, but where to start? There is a protocol for everything, heck there are protocols to have protocols. To further expand, how could you use Java to say, port sniff, catch packets or kill/open a port remotely?
I guess to phrase the question more adequately; does anyone know of any good sources that I could look at to get a more in depth look/study of how Java handles network security and counter hacking and malware containment?
You can’t use Java to sniff ports.
You can’t use Java to catch packets.
You can’t use Java to kill/open a port remotely.
Java doesn’t handle network security other than internally for its own applications via the security sandbox.
Java doesn’t handle counter hacking.
Java doesn’t handle malware containment other than internally for its own applications via the security sandbox and bytecode verifier.
One of those things above can be done via an add-on to Java, but basically Java isn’t the correct tool for this job.