Quote:
Originally Posted by dpastern
nslookup will do similar to dig, although it's deprecated in favour of dig by all accounts.
|
nslookup comes with Windows. To get "dig" you need to install the Windows port of ISC BIND
Quote:
Originally Posted by dpastern
|
Another useful one for finding other blocks owned by the same provider is
http://bgp.potaroo.net/
Short bash script for looking-glass. Run as "scriptname ipaddress":
#!/bin/bash
firefox -remote "openURL(http://looking-glass.optus.net.au/cgi-bin/nph-looking-glass.pl?query=bgp&addr=$1&BGP_Tabl e=International&DIG_Table=ANY,new-tab)"
Windows cmd file version
@echo off
cd path-to-firefox
firefox -remote "openURL(http://looking-glass.optus.net.au/cgi-bin/nph-looking-glass.pl?query=bgp&addr=%1&BGP_Tabl e=International&DIG_Table=ANY,new-tab)"
Applied to 65.19.129.18 gives you AS6939
Once you know the AS number, you can use this one to get the BGP path from Telstra to the target. Run as "scriptname asnumber"
#!/bin/bash
firefox -remote "openURL(http://bgp.potaroo.net/cgi-bin/as-report?as=AS$1&view=1221,new-tab)"
or
@echo off
cd path-to-firefox
firefox -remote "openURL(http://bgp.potaroo.net/cgi-bin/as-report?as=AS%1&view=1221,new-tab)"
Applied to 6939 gives you a long list of adjacent networks and about 50 IP blocks advertised by Hurricane.