Skip to content

schlunsen/maperick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maperick

Workflow

Show active TCP connections on a TUI world map. Still WIP, but it's gonna be good.

Setup

git clone [email protected]:schlunsen/maperick.git
cd maperick/

# Download mmdb city file
wget https://git.io/GeoLite2-City.mmdb

# Run maperick
cargo run -- -e -p GeoLite2-City.mmdb

# build maperick
cargo build --release

# See https://github.com/P3TERX/GeoLite.mmdb for mmdb files
./target/release/maperick -e -p GeoLite2-City.mmdb 

Dependencies

  • Maxmind
  • rs-tui
  • netstat rust

Todo

  • Base setup
  • Replace argh with clap
  • Add netstat retrieval of open connections and their ip
  • Error handling maxdb
  • Add maxmind geolookup
  • Refactor netstats methods to module
  • Display connected ips in table
  • Refactor on_tick code into modules
  • Enable copy/paste
  • Fix drawing of lines to exit from host location
  • Add new tab with configuration options
  • Add host public_ip as different marker on map
  • Add ip's to ignore in configuration
  • Add to Brew Formulae