Simple Python-based packet sniffer, complete with a GUI interface for easy viewing and analysis.
- Basic operation
- Protocol based packet filters for display
- Command line integration (TBD)
- Add support for more protocols (TBD)
- Modularise CLI to allow for GUI integration with same modules
- GUI
- UI
- Actions
- Table population
- Pre-population filtering
- Analysis (packet counts, maybe more?)
- Status handling
python3argparsemodule, install from pip as:pip3 install argparse
Run CLI application as administrator as:
sudo python3 sniffler.py- For filtering by protocol, use
-por--protooption followed by protocol list - For filtering by source address, use
-saor--srcaddroption followed by source address - For filtering by source address, use
-daor--dstaddroption followed by destination address - For filtering by source address, use
-spor--srcportoption followed by source port - For filtering by source address, use
-dpor--dstportoption followed by destination port
Run GUI application as administrator as:
sudo python3 gsniffler.py- All packets
sudo python3 sniffler.py
- Filter only tcp segments
sudo python3 sniffler.py -p tcp
- Filter ethernet frame info and tcp segments
sudo python3 sniffler.py --proto tcp eth
- Filter TCP segments from port
443sudo python3 sniffler.py -p tcp --srcport 443
- Help
sudo python3 sniffler.py --help
- GUI
sudo python3 gsniffler.py
- TCP segments (IPv4) - tcp
- Ethernet frames - eth
- UDP segments (IPv4) - udp
- ICMP - icmp