Jessenw / packet-sniffer

Ethernet packet sniffer, written in C and Python. Handles IPv4, IPv6, IPv6 extension headers TCP, UDP, ICMP and ICMPv6 protocols

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packet-sniffer

Includes a python version and a C version. Lab 1 for NWEN302.

The Github repo for this assignment can be found at: https://github.com/Jessenw/packet-sniffer

To install: python3 -m pip install pcapy -t ./pcapy/ python3 -m pip install hexdump -t ./hexdump/ To run: python3 sniffer.py packets_file.pcap Or: tcpdump -w - | python3 ./sniffer.py -

About

Ethernet packet sniffer, written in C and Python. Handles IPv4, IPv6, IPv6 extension headers TCP, UDP, ICMP and ICMPv6 protocols


Languages

Language:HTML 57.2%Language:Python 28.5%Language:C 14.2%