Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 687 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 687 Bytes

Packet Sniffer

A TCP/UDP Packet Sniffer Tool implemented using Pcap4J.

[:construction: Dev-in-progress]

Build & Run

Build

Execute the following command to build the project

Use the maven-wrapper command if maven is not installed in your environment

mvn clean package

# maven wrapper command
./mvnw clean package

Run

Required libcap or winpcap (for Windows environment) libraries to capture packets. Please follow Pcap4J Docs to install the native libraries in your environment prior to executing the JAR

java -jar target/packet-sniffer.jar

License

MIT