jianqingdu / sniffer

a sniffer like tcpdump that can filter packet that contain the specific content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sniffer

a network packet sniffer like tcpdump but can filter packet content that only contain some specific key use -c option

Build

install libpcap library

CentOS
yum install libpcap-devel

Ubuntu
apt-get install libpcap-dev

make

How to use

example:

./sniffer -i any -f capture.dat -c key_words -r 'port 80'

About

a sniffer like tcpdump that can filter packet that contain the specific content


Languages

Language:C++ 99.2%Language:Makefile 0.8%