使用Wireshark捕获网络流量数据包 [英] Capturing of network traffic packets using Wireshark
问题描述
我想知道我是否使用Wireshark从Internet收集数据包,是否可以在我的笔记本电脑(本地主机)上运行这些数据包以用于监视工具.我只想查看我的计算机上正在接收多少数据包以及丢失的数据包等.
我可以使用NetBeans和Wireshark进行网络流量分析项目吗?我的动机是设计一个用户界面,
2.在JPanel中,我可以显示图形...(一条曲线/波形)显示丢失和接收的数据包百分比吗?
3.我应该如何进行?我需要专家的帮助,请帮助我.
如果我只想在笔记本电脑和互联网上做事情来收集数据包,该如何进行该项目?我可以在笔记本电脑上做吗?
只需一步一步地进行指导即可.
在此先谢谢您!
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!
推荐答案
您可能已经知道了开发人员指南@ wirehark.org [^ ]
那将对您有很大帮助. Wireshark用C编写,其中将包含JNI以便从Java实现中访问它.
使用基于Java的网络监视器可能会更容易: JNM [ JFreeChart [
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
这篇关于使用Wireshark捕获网络流量数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!