Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Packet Sniffer

807580Mar 1 2008 — edited Mar 9 2010
elo 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2010
Added on Mar 1 2008
10 comments
377 views