如何嗅出在.NET本地传出网络流量,而无需使用PCAP? [英] How to sniff local outgoing network traffic in .NET without using PCap?

查看:458
本文介绍了如何嗅出在.NET本地传出网络流量,而无需使用PCAP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以某种方式挂接到本地系统的网络协议栈,而无需使用Winpcap的捕获传出的网络数据包。不幸的是,往往会死机我的系统飘飞。

I'd like to somehow hook into the local system's network stack to capture outgoing network packets without using Winpcap. Unfortunately it tends to crash my system every now and then.

有没有一种方法来嗅从编写.NET语言用户空间程序在本地系统中传出的流量?

Is there a way to "sniff" outgoing traffic of the local system from a user space process written in a .NET language?

非常感谢!

亨德里克

推荐答案

你想要的是<一个href="http://blogs.technet.com/b/netmon/archive/2009/10/12/reassembling-packets-with-the-network-monitor-api.aspx"相对=nofollow>网络监视器API 。更多的<一个href="http://blogs.technet.com/b/netmon/archive/2010/04/29/network-monitor-3-4-beta-released-on-connect.aspx"相对=nofollow>这里和这里

What you want is the Network Monitor API. More here and here.

这篇关于如何嗅出在.NET本地传出网络流量,而无需使用PCAP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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