Hello everyone, there’s the ASN ALIBABA-CN-NET with number 45102 that’s been hitting my robots.txt file non-stop for days. It’s sending about 120 hits per hour. Since this is completely unjustifiable and has become a real nuisance, I’d like to take action to limit these requests.
However, I see that rate limits can’t be applied per ASN. Moreover, the limit I can set per IP is quite high, which risks affecting legitimate ASNs, such as Google, which makes quick bursts of hits in a very short period. What can I do? Ideally, I’d like to implement a rate limit per ASN.
I also considered blocking the ASN directly via WAF, but that feels like overkill…
Honestly, the issue isn’t the overload. The resource is cached. It’s just that I don’t think it’s right to keep fetching that resource, as it skews my extremely useful statistics. Do you see what I mean?