#geolocation #ip #locator #map #interactive

app ipmap

An interactive map that shows connected IP addresses

3 releases

new 0.1.2 Nov 26, 2020
0.1.1 Nov 22, 2020
0.1.0 Nov 22, 2020

#221 in Network programming

GPL-3.0 license

340KB
383 lines

ipmap

An interactive map that shows connected IP addresses.

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

Dependencies

~12MB
~256K SLoC