A TCP/UDP Packet Sniffer Tool implemented using Pcap4J.
[:construction: Dev-in-progress]
Execute the following command to build the project
Use the
maven-wrapper
command ifmaven
is not installed in your environment
mvn clean package
# maven wrapper command
./mvnw clean package
Required
libcap
orwinpcap
(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