Skip to content
OSINTtools.io

ASN Lookup Tool and Traceroute Server

Verified 2d ago

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
Summary

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.

Pros
  • +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
Cons
  • −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

  1. 01Use it when you need to know who runs an IP range and how it is routed.
  2. 02Use it when triaging many IPs in an incident and you want geolocation and reputation in bulk.
Key featuresAS, prefix and organisation lookupsRPKI validity and BGP hijack checksAS path tracerouteShodan-based recon modeBulk geolocationJSON output and lookup API server

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 it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Terminal · Bash 4.2+
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 review

Alternatives to ASN Lookup Tool and Traceroute Server

Listed tools that take the same inputs, closest match first.

ASN Lookup Tool and Traceroute ServerOpen source · API · verified 2d ago
Visit github.com (opens in new tab)