vTraceRoute is a simple tool that allows visualization of IP address's Geolocation points on an OpenStreetMap (Mapbox) map. Tools used:
- Go programming language
- Reactjs
- Mapbox.js (leaflet)
#Getting started
First install npm
and go
programming language SDK. Once you've got it setup perform the following in sequence:
go get github.com/aishraj/vtracerroute
cd $GOPATH/src/github.com/aishraj/vtracerroute
npm install
gulp build
go clean && go build
sudo ./vtracerroute -host <server you'd like to ping>
- Navigate to localhost:4000/ to view the paths that your packet took to reach the host specified in step 6 above.
#Disclaimer This is my first react.js project and hence the quality of the JS (and JSX) code might be mediocre at best. In case you feel that things can be improved, go ahead and send a pull request.
#TODO
- Make paths traceable in terms of direction.
- Figure out if the React DOM is having any benefit (since leaflet.js renders the map component)
- Stop redrawing once you hit a certain hops / certain number of fetch calls.