| Crates.io | ipmap |
| lib.rs | ipmap |
| version | 0.1.4 |
| created_at | 2020-11-22 04:22:06.594313+00 |
| updated_at | 2020-12-10 01:45:09.295847+00 |
| description | An interactive map that shows connected IP addresses. |
| homepage | |
| repository | https://github.com/skylinecc/ipmap/ |
| max_upload_size | |
| id | 314918 |
| size | 629,892 |
An interactive map that shows connected IP addresses.
ipmap uses libpcap-dev, which is only easily available on UNIX-like systems (Linux, MacOS, *BSD).
Windows is possible, but WinPcap is required before build time.
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
The IP geolocation service used in ipmap can be changed at the start using the command line flag.
Each service included in this library has a weekly, hourly, or monthly limit. Some have more free queries, but are less reliable.
Here are the query limits:
| Service | Limit |
|---|---|
| ipwhois | 10,000/month |
| freegeoip | 15,000/hour |
| ipapi | 45/minute |
| ipapico | 1,000/day (30,000/month) |
If no service specified, ipapi will be used, which will limit how many IP is detected per minute.
ipmap 0.1.2
Skyline High School Coding Club Authors <skylinecc@gmail.com>
USAGE:
ipmap [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--headless Launches the program without running the webserver
-V, --version Prints version information
OPTIONS:
-s, --service <SERVICE> Geolocation API