DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Blocking an ASN (or similar) from my sites

Quality: 8/10 Relevance: 9/10

Summary

The author describes blocking ASN-based or cloud-provider IP ranges to reduce bot traffic on multiple sites. It covers obtaining IP ranges from Google Cloud and AWS, mapping ASNs via RADb, consolidating blocks with Python and Rust tools, and deploying firewall rules with iptables. The piece also discusses trade-offs with Let’s Encrypt and Bluesky that rely on dynamic IPs.

🚀 Service construit par Johan Denoyer