ICMP Packet Sniffer is a Python program that allows you to capture and analyze ICMP (Internet Control Message Protocol) packets on a network interface.
It provides detailed information about the captured packets, including source and destination IP addresses, MAC addresses, ICMP type, payload data, and more.
The program can also store the captured packets in a SQLite database and save them in pcap format.
git clone https://github.com/HalilDeniz/ICMPWatch.git 2. Install the required dependencies:
pip install -r requirements.txt python ICMPWatch.py [-h] [-v] [-t TIMEOUT] [-f FILTER] [-o OUTPUT] [--type {0,8}] [--src-ip SRC_IP] [--dst-ip DST_IP] -i INTERFACE [-db] [-c CAPTURE] -v or --verbose: Show verbose packet details.-t or --timeoutsniffing timeout in seconds (default is 300 seconds).-f or --filtera BPF filter for packet sniffing (default is “icmp”).-o or --outputan Output file to save captured packets.--type: ICMP packet type to filter (0: Echo Reply, 8: Echo Request).--src-ipsource IP address to filter.--dst-ipdestination IP address to filter.-i or --interfacea Network interface to capture packets (required).-db or --databasestore captured packets in an SQLite database.-c or --capturea Capture file to save packets in pcap format.Press Ctrl+C to stop the sniffing process.
python icmpwatch.py -i eth0 python dnssnif.py -i eth0 -o icmp_results.txt python icmpwatch.py -i eth0 --src-ip 192.168.1.10 --dst-ip 192.168.1.20 python icmpwatch.py -i eth0 --type 8 python icmpwatch.py -i eth0 -c captured_packets.pcap Journalists use OSINT to verify public information before publishing. In 2026, misinformation, AI-generated images, fake…
Docker is an open-source platform that lets you package and run applications inside containers. Each container…
PostgreSQL (often called Postgres) is an open-source relational database system. It supports advanced features like JSON…
Xrdp is an open-source server that lets you connect to your Ubuntu machine from another computer…
Apache Tomcat is an open-source web server and Java servlet container. It is one of the…
Keeping your Ubuntu system updated is one of the best ways to protect it. Security…