Hacker GitHub

← All repos

brianhama/bad-asn-list

View on GitHub ↗ ★ 554 Python

An open source list of ASNs known to belong to cloud, managed hosting, and colo facilities.

6 mentions on Hacker News by 3 people: 1 story, 5 comments · first 2017-10-19 · latest 2026-09-12

Mentions per year 6 mentions · busiest year 2022 (2)
20082026
  1. I maintain one: https://github.com/brianhama/bad-asn-list
  2. Could you not also use an ASN list like https://github.com/brianhama/bad-asn-list and add blocks of IPs to a blocklist (eg. ipset on Linux)? Most of the scripty traffic comes from VPSs.
  3. …cloud ASNs [1] will usually be enough. Downside is you're also banning any users using VPNs [1] https://github.com/brianhama/bad-asn-list
  4. Blocking IP addresses from cloud providers will eliminate most bots https://github.com/brianhama/bad-asn-list Unfortunately you'll also alienate VPN users so you'll have to decide if it's worth the cost
    comment by trinovantes · 2022-10-11 · in Ask HN: Best way to stop bot traffic?
  5. …than by IP address. I started a GitHub repo with a list of bad ASNs and further instructions here: https://github.com/brianhama/bad-asn-list
    comment by brianhama · 2021-03-18 · in Ask HN: Is bot detection snake oil?