Click here to Skip to main content
11,411,312 members (72,433 online)
Click here to Skip to main content

Network Sniffer

, 19 Jul 2004 CPOL
Rate this:
Please Sign up or sign in to vote.
Network Sniffer

Sample Image - Sniffer.jpg


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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Eran Aharonovich
Software Developer
Australia Australia
Been a programmer since 1999.
Experience in:
.Net, C++, C#, VB, VB.NET, ASP, ASP.NET, DLLs, COM etc.

Comments and Discussions

QuestionAnd the environment is? Pinmemberabica1-Mar-05 5:42 
AnswerRe: And the environment is? PinmemberEran Aharonovich25-Jul-05 2:07 
QuestionHow top begin writing a packet sniffer? Pinmembergrace4raghu227-Dec-04 5:42 
GeneralFeeto Pinsussfeeto27-Dec-04 4:46 
GeneralRe: Feeto PinsussAnonymous27-Dec-04 5:45 
GeneralHi PinmemberSanjit Rath1-Nov-04 5:21 
GeneralRe: Hi PinmemberEran Aharonovich25-Jul-05 2:22 
GeneralThe article Location Pinmembersergeyv20028-Sep-04 11:26 
You placed your article under C++/MFC folder, however it seems that your project is developed under .NET. Since I don't have .NET studio installed. is it possible to get the C++/MFC version of the project? Also , if I'm right, and your project is .NET, I would suggest reconsidering the project location on server.
GeneralRe: The article Location PinmemberEran Aharonovich30-Mar-05 7:33 
GeneralNice sniffer.. but.. PinmemberMichael Hendrickx21-Aug-04 4:49 
GeneralRe: Nice sniffer.. but.. PinmemberEran Aharonovich21-Aug-04 8:43 
GeneralRe: Nice sniffer.. but.. PinmemberMichael Hendrickx21-Aug-04 21:37 
GeneralRe: Nice sniffer.. but.. PinmemberThatsAlok10-Nov-04 23:51 
GeneralRe: Nice sniffer.. but.. PinmemberEran Aharonovich14-Nov-04 2:21 
GeneralRe: Nice sniffer.. but.. PinmemberThatsAlok14-Nov-04 19:28 
GeneralRe: Nice sniffer.. but.. PinmemberEran Aharonovich14-Nov-04 21:12 
GeneralRe: Nice sniffer.. but.. PinsussMsftone14-Jan-05 15:39 
GeneralRe: Nice sniffer.. but.. Pinmembershotgun4-Apr-05 16:21 
QuestionNeat tool, now how does it work? PinmemberJason De Arte22-Jul-04 12:58 
AnswerRe: Neat tool, now how does it work? PinmemberEran Aharonovich21-Aug-04 8:44 
AnswerRe: Neat tool, now how does it work? PinmemberEran Aharonovich5-Jul-06 9:44 
GeneralSwitch Pinmemberbishbosh0221-Jul-04 3:32 
GeneralRe: Switch PinmemberEran Aharonovich21-Jul-04 7:53 
GeneralRe: Switch PinmemberMichael Hendrickx20-Aug-04 10:54 
GeneralRe: Switch PinmemberEran Aharonovich21-Aug-04 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150414.5 | Last Updated 20 Jul 2004
Article Copyright 2004 by Eran Aharonovich
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid