监控传出互联网流量 [英] Monitoring outgoing internet traffic

查看:92
本文介绍了监控传出互联网流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过程序监视互联网流量?我想记录用户在Internet上访问的页面.可以通过.NET代码实现吗?是否存在可以用于检索数据的第三方.NET组件.

Is there a way to monitoring internet traffic programatically? I would like to log the pages users are visiting on the Internet. Can this be achieved with .NET code, is there a 3rd party .NET component that could be used to retrieved data.

有关Internet流量的信息必须存储到数据库中,因此我不能使用IE插件或其他工具.我们还希望将此代码包含到我们现有的产品中,以便我们不能使用无法重新分发的第三方产品.

Information about Internet traffic must be stored to a database so I cannot use a plugin or something for IE. We are also looking to include this code into our existing product so we cannot use a 3rd party product that cannot be redistributed.

如果这个东西可以监视所有浏览器的流量,那很酷,但是监视IE流量也足够.

It would be cool if this thing could monitor traffic for all browsers but monitoring IE traffic might also be sufficient.

推荐答案

通过 WinPCap 库,其中包含几个将其包装到.NET的项目:

Setting up a sniffer is doable via the WinPCap library, which has several projects wrapping it to .NET:

  • http://geekswithblogs.net/dotnetnomad/archive/2008/01/31/119140.aspx
  • http://www.codeproject.com/KB/IP/dotnetwinpcap.aspx
  • http://coolthingoftheday.blogspot.com/2006/02/sharppcap-net-winpcap-wrapper.html

可能还有其他一些,只是谷歌搜索的问题.

and probably some others as well, just a matter of Googling.

这篇关于监控传出互联网流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆