Skip to content

wakamesoba98/knitcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knitcap

TCP/IP Packet Visualizer

Knitcap

Setup

Requirements

  • Maven (mvn command)
  • Java 8 Update 40 (8u40)
  • libcap
  • libpcap
  • xorg-xrandr

Install dependencies

in Arch Linux:

$ yaourt -S maven jdk libcap libpcap xorg-xrandr

Set capability

For non-root user to run Knitcap, set capability to your Java binary.

$ sudo setcap cap_net_raw,cap_net_admin=eip $(readlink $(which java))

Run

$ mvn nativedependencies:copy
$ mvn clean compile assembly:single
$ mvn exec:exec

Run Standalone JAR

$ cd target
$ java -Djava.library.path=natives -jar Knitcap-0.1-SNAPSHOT-jar-with-dependencies.jar

License

The MIT License (MIT)

Libraries

Pcap4J is distributed under the MIT license.

Slick2D is distributed under the libral BSD License.

Icons

Google Material design icons is licensed under the CC-BY 4.0.

About

TCP/IP Packet Visualizer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages