Skip to content

Packet sniffer in C# using SharpPcap - A Packet Capture Framework for .NET

Notifications You must be signed in to change notification settings

Sara-Dimovska/Network-Packet-Sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network-Packet-Sniffer

Packet sniffer in C# using SharpPcap - A Packet Capture Framework for .NET

Packet capturing (or packet sniffing) is the process of collecting all packets of data that pass through a given network interface. Capturing network packets in our applications is a powerful capability which lets us write network monitoring, packet analyzers and security tools. The libpcap library for UNIX based systems and WinPcap for Windows are the most widely used packet capture drivers that provide API for low-level network monitoring. Among the applications that use libpcap/WinPcap as its packet capture subsystem are the famous tcpdump and Wireshark.

The purpose of SharpPcap(WinPcap wrapper) is to provide a framework for capturing, injecting and analyzing network packets for .NET applications.

This is a simple network packet sniffer application that demostrates:

  • Obtaining the device list
  • Opening an adapter
  • Capturing packets
  • Filtering the traffic
  • Writing packets to a capture file
  • Interpreting the packets

Screenshot_2

Screenshot_3

About

Packet sniffer in C# using SharpPcap - A Packet Capture Framework for .NET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages