Click here to Skip to main content
16,011,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know if I use wireshark for collecting the packets from internet can I run those packets on my laptop (local host) for monitoring tool purposes. I just want to see how many packets are being received on my computer and lost packets etc..

Can I do a network traffic analysis project using netbeans and wireshark? My motive is to design a user interface,

2. in JPanel can I show the graph...(a curve/wave) that shows %of packets lost and receiving?

3. How should I proceed to do this? I need an idea from experts so please help me.

How should I proceed in this project if I want to do things only on my laptop and internet for collecting the packets? Can I do it on my laptop?

Just need your guidance step by step.

Thanks in advance!
Posted
Updated 13-Feb-12 1:42am
v4

1 solution

You probably figured out this Developer Guide @ wirehark.org[^]

That would help you quite much. Wireshark is written in C, which would include JNI to access that from a Java implementation.

It might be easier to use a java based network monitor: JNM[^]

Your other questions:

2. Yes, you can draw something like that. Also are there libraries that could be helpful: JFreeChart[^]

3. the usual way:
- make a rough scratch (idea, used libs, time schedule)
- make detail plans (GUI look, detail functions)
- implementation
- test, test and some more test
 
Share this answer
 
Comments
Jaz Jardinel 22-Nov-18 3:16am    
how to read graph for every user and have an packets reading
Jaz Jardinel 22-Nov-18 3:17am    
need help
Jaz Jardinel 22-Nov-18 3:17am    
my project is bandwidth monitoring system

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900