All Projects → cocowalla → Snifter

cocowalla / Snifter

Licence: apache-2.0
Snifter is a raw socket IP packet capturing library/app for Windows, with a tiny CPU and memory footprint

Projects that are alternatives of or similar to Snifter

zk-sniffer
sniffer and parse zookeeper packet
Stars: ✭ 38 (+0%)
Mutual labels:  sniffer, packet-capture
Tcpdump
the TCPdump network dissector
Stars: ✭ 1,731 (+4455.26%)
Mutual labels:  sniffer, packet-capture
SnifferUI
基于MFC和WinPcap库开发的网络抓包和协议分析软件
Stars: ✭ 86 (+126.32%)
Mutual labels:  sniffer, packet-capture
Libpcap
the LIBpcap interface to various kernel packet capture mechanism
Stars: ✭ 1,785 (+4597.37%)
Mutual labels:  sniffer, packet-capture
Node pcap
libpcap bindings for node
Stars: ✭ 849 (+2134.21%)
Mutual labels:  sniffer, packet-capture
Tomanocupacero
Uma CLI cross-platform que reproduz um áudio do Mc Poze em loop. "toma no cu pacero to chei de ódio"
Stars: ✭ 33 (-13.16%)
Mutual labels:  cross-platform
Revery
⚡ Native, high-performance, cross-platform desktop apps - built with Reason!
Stars: ✭ 7,812 (+20457.89%)
Mutual labels:  cross-platform
Sers
Serial port access for the Go programming language.
Stars: ✭ 30 (-21.05%)
Mutual labels:  cross-platform
Goridge
High-performance PHP-to-Golang IPC bridge
Stars: ✭ 950 (+2400%)
Mutual labels:  sockets
Cuttlefish
Transactional email server with a lovely web interface
Stars: ✭ 985 (+2492.11%)
Mutual labels:  cross-platform
Xdp
Package xdp allows one to use XDP sockets from the Go programming language.
Stars: ✭ 36 (-5.26%)
Mutual labels:  packet-capture
Mvvmlight
The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
Stars: ✭ 973 (+2460.53%)
Mutual labels:  cross-platform
Keyvast
KeyVast - A key value store
Stars: ✭ 33 (-13.16%)
Mutual labels:  cross-platform
Electron Create Menu
a default menu for your electron applications, with convenience functions for multiplatform use and i18n.
Stars: ✭ 35 (-7.89%)
Mutual labels:  cross-platform
Notifo
Multi channel notification service for collaboration tools, e-commerce, news service and more.
Stars: ✭ 32 (-15.79%)
Mutual labels:  sockets
Intrinsic
Intrinsic is a Vulkan based cross-platform game and rendering engine. The project is currently in an early stage of development.
Stars: ✭ 984 (+2489.47%)
Mutual labels:  cross-platform
Sandpolis
Experimental remote monitoring and management
Stars: ✭ 30 (-21.05%)
Mutual labels:  cross-platform
Python Packaging Tutorial
Tutorial on python packaging
Stars: ✭ 34 (-10.53%)
Mutual labels:  cross-platform
Erewhon Game
Video game about programming your spaceships to destroy other programmed spaceships o/
Stars: ✭ 35 (-7.89%)
Mutual labels:  cross-platform
Expo Stack
🎮🧱 stack game clone made in expo (ios, android, web), three.js, react native
Stars: ✭ 34 (-10.53%)
Mutual labels:  cross-platform

Snifter

NuGet

      __.---,__
   .-`         '-,__
 &/           ',_\ _\
 /               '',_
 |    .            (")
 |__.`'-..--|__|--``   Snifter
      

Snifter is a raw socket IP packet capturing library and application for Windows and Linux, with a tiny CPU and memory footprint.

Output can be written to PCAPNG files, and you can filter captured packets based on protocol, source/destination address and source/destination port.

Why?

On Windows, you can't capture on the local loopback address 127.0.0.1 with a packet capture driver like WinPcap - but you can by using a raw socket sniffer, like Snifter.

Additionally, Snifter is a cross-platform, portable library and application that doesn't require any drivers to be installed.

Snifter started life only for Windows, and Linux support was later added thanks to .NET Core.

Getting Started

Install the Snifter package from NuGet:

Install-Package Snifter

You can see an example of how to use the library in the Snifter.App code in src/App, including capturing, parsing, filtering and saving packets.

App Limitations

You must run Snifter.App with elevated privileges on Windows, or with sudo on Linux - this is an OS-level requirement to create raw sockets.

For now at least, Snifter only supports IPv4. It should be straightforward to add support for IPv6, but I don't use IPv6 yet, so haven't added it.

If you want to capture loopback traffic, it's important that your apps are communicating specifically with 127.0.0.1 - not localhost.

Note that Snifter is restricted to only capturing TCP packets on Linux.

Usage

snifter.exe -i x -f filename

  -i, --interface=VALUE      ID of the interface to listen on
  -f, --filename=VALUE       Filename to output sniffed packets to. Defaults to snifter.pcapng
  -o, --operator=VALUE       Whether filters should be AND or OR. Defaults to OR
  -p, --protocol=VALUE       Filter packets by IANA registered protocol number
  -s, --source-address=VALUE Filter packets by source IP address
  -d, --dest-address=VALUE   Filter packets by destination IP address
  -x, --source-port=VALUE    Filter packets by source port number
  -y, --dest-port=VALUE      Filter packets by destination port number
  -h, -?, --help             Show command line options

Run snifter.exe -h to see a list of available network interfaces.

Note that each filter option can only be specified once.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].