Packet Sniffer
807580Mar 1 2008 — edited Mar 9 2010elo guys, i'm currently TRYING to develop a packet sniffing software using java.
i'm using this link as reference.
http://yuba.stanford.edu/vns/clack/javadoc/net/clackrouter/ethereal/package-summary.html
http://yuba.stanford.edu/vns/clack/javadoc/net/clackrouter/ethereal/parser/package-summary.html
So far i have been able to capture the packets! I'm also using JPCAP library.
I have been able to display the captured packets in a table wiz columns namely Original length, source ip,dest ip,protocol & info. I have only been able to display Original Length and not the rest!!
I'm actually stuck here : http://yuba.stanford.edu/vns/clack/javadoc/net/clackrouter/ethereal/parser/EthernetParser.html
There are 4 variables (dataLen, dataStart, typeLen, typeStart).. hmmm does anyone know what they are refering to..????
Edited by: null_guy on Mar 1, 2008 2:43 AM