ipmap-0.1.2 is not a library.
Requirements
ipmap uses libpcap-dev
, which is only easily available on UNIX-like systems (Linux, MacOS, *BSD).
Soon there will be multiple different ways to capture packets. This means it will be able to be run without root and on Windows.
Building
Because this program is written in rust, you must have rust installed.
First, build it:
$ cargo build --release
You must have privileges to capture using the pcap API. In order to give the binary the necessary permissions, run:
# setcap cap_net_raw,cap_net_admin=eip target/release/ipmap
Finally, execute it.
# target/release/ipmap
To use it navigate to your web browser and go to localhost:700
, where the map will appear
Command Line Options
FLAGS:
-h, --help Prints help information
--headless Launches the program without opening the browser
-V, --version Prints version information