Click here to Skip to main content
12,953,263 members (81,360 online)
Click here to Skip to main content
Add your own
alternative version


114 bookmarked
Posted 19 Jul 2004

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.

You may also be interested in...


Comments and Discussions

GeneralRe: Nice sniffer.. but.. Pin
Michael Hendrickx21-Aug-04 20:37
memberMichael Hendrickx21-Aug-04 20:37 
GeneralRe: Nice sniffer.. but.. Pin
ThatsAlok10-Nov-04 22:51
memberThatsAlok10-Nov-04 22:51 
GeneralRe: Nice sniffer.. but.. Pin
Eran Aharonovich14-Nov-04 1:21
memberEran Aharonovich14-Nov-04 1:21 
GeneralRe: Nice sniffer.. but.. Pin
ThatsAlok14-Nov-04 18:28
memberThatsAlok14-Nov-04 18:28 
GeneralRe: Nice sniffer.. but.. Pin
Eran Aharonovich14-Nov-04 20:12
memberEran Aharonovich14-Nov-04 20:12 
GeneralRe: Nice sniffer.. but.. Pin
Msftone14-Jan-05 14:39
sussMsftone14-Jan-05 14:39 
GeneralRe: Nice sniffer.. but.. Pin
shotgun4-Apr-05 15:21
membershotgun4-Apr-05 15:21 
QuestionNeat tool, now how does it work? Pin
Jason De Arte22-Jul-04 11:58
memberJason De Arte22-Jul-04 11:58 
You have a very nice screen shot, a succinct "Introduction", but I can't seem to find the rest of the article.

It would be cool to know how you were able to sniff out the packets without digging thru your source to find out. Wink | ;)

[ Jason De Arte | Toy Maker | ]
AnswerRe: Neat tool, now how does it work? Pin
Eran Aharonovich21-Aug-04 7:44
memberEran Aharonovich21-Aug-04 7:44 
AnswerRe: Neat tool, now how does it work? Pin
Eran Aharonovich5-Jul-06 8:44
memberEran Aharonovich5-Jul-06 8:44 
GeneralSwitch Pin
bishbosh0221-Jul-04 2:32
memberbishbosh0221-Jul-04 2:32 
GeneralRe: Switch Pin
Eran Aharonovich21-Jul-04 6:53
memberEran Aharonovich21-Jul-04 6:53 
GeneralRe: Switch Pin
Michael Hendrickx20-Aug-04 9:54
memberMichael Hendrickx20-Aug-04 9:54 
GeneralRe: Switch Pin
Eran Aharonovich21-Aug-04 7:40
memberEran Aharonovich21-Aug-04 7:40 
GeneralRe: Switch Pin
Michael Hendrickx21-Aug-04 20:38
memberMichael Hendrickx21-Aug-04 20:38 
GeneralRe: Switch Pin
Msftone14-Jan-05 14:45
sussMsftone14-Jan-05 14:45 

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

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

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