Hi,
I'm looking for a way to "map" all the traffic through my router. I have installed tcpdump on my router and it is dumping the files to my server. This was the easy part
Now I want to write a java program which is able to detect all the protocols send through the router, and also I want to find out what the chat (in website AND/OR msn) messages are containing. This is not to snoop on the wife, but my daughter and sons. I want to now if some pervert is messing around, and which sites are visited etc.. After a little googling around I just kept coming back to the jNetPcap site.
The data which I gather out of the packets will be placed in a database where I retrieve this info to make a nice graph (or find a tool to do so)..
My question is: is jNetpCap the tool required for my wishes as stated above? I'm still honing my java skills, this is why I want to write such a tool myself.
can I please have some advice?
Thanks!
Yes you can do all that. The only exception or issue you will have is with tcp-reassembly, which is required in order to properly decode a long running chat session. I would suggest you read this status update:
Other then that, it should be pretty easy to get your packets into memory so that they can be processed.
mark,
Thank you for the advice.
I'll leave the tcp-reassembly for what it is, for the moment. I'll concentrate on creating a mapping of the traffic first.I will follow the tutorials and begin from there..
NTDeaf