Click here to Skip to main content
Licence CPOL
First Posted 19 Jul 2004
Views 154,693
Bookmarked 98 times

Network Sniffer

By | 19 Jul 2004 | Article
Network Sniffer

Sample Image - Sniffer.jpg

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.

License

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

Member

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

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionI've got problem with commpiling on VS 2008 Pinmember1nbveh4:21 24 Apr '12  
GeneralMy vote of 1 Pinmemberrobmar12:08 8 Nov '11  
Questioncan't build in visual 2010 + MS SDK 7.0 PinmemberYohanes Pradono19:11 23 Jul '11  
AnswerRe: can't build in visual 2010 + MS SDK 7.0 Pinmembermla1546:26 27 Sep '11  
Questionhey how to run this project ............... Pinmembersilverkali2:53 13 Oct '10  
AnswerRe: hey how to run this project ............... PinmemberYohanes Pradono15:26 23 Jul '11  
GeneralMy vote of 1 Pinmemberdheeraj_jun217:34 18 Dec '08  
Generalpacket sniffer Pinmembersatheesh.S19:39 28 Oct '08  
GeneralRe: packet sniffer Pinmemberpriyanka,oberoi11:33 10 Aug '09  
GeneralGood Project, what is the format to save? does it support Packetbone Pinmemberjerrysmith22217:50 2 Jul '08  
GeneralWhich compiler? Visual C++ .NET? (=Version 7) Pinmembergerspeece5:16 28 Mar '08  
GeneralRe: Which compiler? Visual C++ .NET? (=Version 7) PinmemberEran Aharonovich0:33 29 Mar '08  
Questionhelp me how to compile and execute the project.... Pinmemberrahul.csit17:36 28 Feb '08  
QuestionIt works in visual c++ 6.0?? Pinmemberuriel_slp10:23 24 Oct '07  
AnswerRe: It works in visual c++ 6.0?? Pinmemberuriel_slp10:27 24 Oct '07  
QuestionPlease I Need Help Pinmembermustafa_kh_20074:03 10 Sep '07  
QuestionWe can catch the TCP packet only? PinmemberMD8421:57 14 May '07  
AnswerRe: We can catch the TCP packet only? PinmemberEran Aharonovich22:03 14 May '07  
GeneralRe: We can catch the TCP packet only? Pinmemberpriyanka,oberoi11:37 10 Aug '09  
Generalgetting IP address PinmemberAYcoder9:08 7 Aug '06  
QuestionOutbound traffic is not catched PinmemberJohn Ashraf12:22 24 Jul '06  
Generalrunning the network sniffer Pinmemberujal7:18 13 Jul '06  
GeneralRe: running the network sniffer PinmemberEran Aharonovich7:27 13 Jul '06  
GeneralRe: running the network sniffer Pinmemberujal5:33 14 Jul '06  
Generaldisplay number of packets PinmemberdReAmWoNderS4:48 5 Jul '06  

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.

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