ASN Lookup Tool and Traceroute Server
Bash tool for AS, prefix, BGP, RPKI, geolocation and IP reputation lookups, with Shodan recon and a web traceroute server.
Bash CLI · Docker · Web server · Open source · API · Infrastructure and domains · github.com
- Takes
- IP · Domain · URL
- Pricing
- Open source
- Footprint
- Depends on configuration
- Account
- Not needed
- API
- Yes
- Last verified
- Nov 23, 2026
Bash tool for AS, prefix, BGP, RPKI, geolocation and IP reputation lookups, with Shodan recon and a web traceroute server. It takes IP address, domain and URL. Read the cons before you build a workflow on it.
What it does
asn is a Bash script that looks up autonomous system details for an AS number, IP, prefix, hostname or URL: organisation, peers, announced prefixes, BGP incidents, RPKI validity, abuse contacts, geolocation and reputation. It can also trace the AS path to a host with mtr.
Incident responders and network investigators use it for quick context on unfamiliar IPs, bulk geolocation and organisation searches. Its Shodan mode summarises open ports and known vulnerabilities without sending packets to the target, and it can run as a self-hosted web or JSON lookup server.
Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is an API.
- +Rich network context in one command
- +Runs on many Linux distributions, macOS and in Docker
- +Optional tokens improve results but are not required
- +Can be shared as a browser-accessible server
- −Traceroute mode sends traffic toward the target; lookup and Shodan modes do not
- −Several features depend on third-party APIs and their rate limits
When to use it
- 01Use it when you need to know who runs an IP range and how it is routed.
- 02Use it when triaging many IPs in an incident and you want geolocation and reputation in bulk.
Next steps from this result
Suggested from the inputs ASN Lookup Tool and Traceroute Server takes- Found a resultConfirm it with a second, independent source before you record itDepends
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
curl "https://raw.githubusercontent.com/nitefood/asn/master/asn" > /usr/bin/asn && chmod 0755 /usr/bin/asn asn 1.1.1.1
Technical details
Listing verified by an editor on Nov 23, 2026- API
- Yes, see the vendor docs for auth and limits
- Account
- Not needed
- Footprint
- Depends on configuration
- Pricing
- Open source · Free and open source (MIT).
- Platforms
- Bash CLI · Docker · Web server
- Repository
- nitefood/asn 1,955 stars
- Language
- Shell
- Licence
- MIT
- Last commit
- Oct 2026
- Listed
- Nov 23
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used ASN Lookup Tool and Traceroute Server? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to ASN Lookup Tool and Traceroute Server
Listed tools that take the same inputs, closest match first.
- ArgusOpen source · DependsWhat it does
Interactive Python console with over a hundred recon modules for domains, networks and web applications.
DomainIPURLNo ratings yetVerified 2d ago - URLScan.ioFreemium · Depends · logging · APIWhat it does
Sandbox that loads a URL in a browser and records requests, IPs, domains, screenshots and page content.
URLDomainIPNo ratings yetVerified 2d ago - httpxOpen source · Active · APIWhat it does
Go command-line HTTP toolkit from ProjectDiscovery that probes hosts for status, titles, TLS details and technologies.
DomainIPURLNo ratings yetVerified 2d ago

