开发者

Monitor Internet activity

I want to desing java application that montior in开发者_高级运维ternet activity. Let consider I open different browser and that sending and receving data from internet. My application requirment is that to monitor that sending and receving packets. So my application working as services that generate log of internet surfing. How this posible in the java?


Try jNetPcap. The site is full of examples and tutorials.


There are a few things you can do. If your end goal is to simply monitor the traffic, use an existing application like Ethereal or Wireshark.

Otherwise, if you want to write your own application, have a look the the Jpcap and/or JNetPcap libraries. They allow you to bind to network interfaces and sniff / analyse all the packets that pass through those interfaces.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜