[译]网络嗅探器
By robot-v1.0
本文链接 https://www.kyfws.com/applications/network-sniffer-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 2 分钟阅读 - 572 个词 阅读量 0[译]网络嗅探器
原文地址:https://www.codeproject.com/Articles/7770/Network-Sniffer
原文作者:Eran Aharonovich
译文由本站 robot-v1.0 翻译
前言
Network Sniffer
网络嗅探器
介绍(Introduction)
“数据包嗅探器"是一种实用程序,(A “Packet Sniffer” is a utility that)**闻一闻而无需修改(sniffs without modifying)**网络的数据包以任何方式.相比之下,防火墙也可以看到计算机的所有数据包流量,但是它可以阻止和丢弃其编程要求的所有数据包.数据包嗅探器仅监视,显示和记录此流量.(the network’s packets in any way. By comparison, a firewall sees all of a computer’s packet traffic as well, but it has the ability to block and drop any packets that its programming dictates. Packet sniffers merely watch, display, and log this traffic.)
数据包嗅探器令人不安的强大方面是其将主机的网络适配器置于"混杂模式"的能力.以混杂模式运行的网络适配器不仅接收定向到承载嗅探软件的计算机的数据,而且还接收(One disturbingly powerful aspect of packet sniffers is their ability to place the hosting machine’s network adapter into “promiscuous mode.” Network adapters running in promiscuous mode receive not only the data directed to the machine hosting the sniffing software, but also)**所有流量(ALL of the traffic)**在物理连接的本地网络上.(on the physically connected local network.)
我希望这段代码可以帮助您更好地了解网络.(I hope that this piece of code will help you understand the network better.)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
VC7.0 C++ VC6 WinXP Win2003 Windows Win2K MFC Visual-Studio Dev 新闻 翻译