Network sniffer with application link

Peter Siegrist 7b91666e11 Update README.md 6 лет назад
400px-Terminal_059.png ffac3ca21d first commit 6 лет назад
README.md 7b91666e11 Update README.md 6 лет назад
Terminal_059.png ffac3ca21d first commit 6 лет назад
sisniff.py 000332a14a v0.75/si 6 лет назад

README.md

sisniff

A commandline network sniffer showing the applications belonging to each packet.

It supports TCP, UDP and ICMP packets.
The Sniffer accepts some filter like tcpdump.

For HTTP connections, there is an argument to show part of its payload.

!! sisniff uses scapy's sniff() function, so scapy package is needed:
!! debian: apt-get install scapy
!! other systems: http://www.secdev.org/projects/scapy

--------------------

# ./sisniff.py -h
usage: sisniff.py [-h] -i {eth0,lo,tun0,wlan0} [-n] [-pH] [filter]

positional arguments:
  filter                Pcap filter (BPF syntax) on top of IP (in dbl-quotes "...")

optional arguments:
  -h, --help            show this help message and exit
  -i {eth0,lo,tun0,wlan0}
                        Interface (mandatory)
  -n                    Do not resolve IP-Addresses
  -pH                   Show HTTP Payload

--------------------