I personally use nginx-ultimate-bad-bot-blocker but also custom IP ranges (the entirety of Israel plus GAFAM), and fail2ban.

I saw a dramatic drop in scraper-related traffic, although I still have some offenders trying to access (and failing in doing so).

Which solution do you use?

  • rako@tarte.nuage-libre.fr
    link
    fedilink
    Français
    arrow-up
    3
    ·
    9 hours ago

    I still find the iocaine approach the smartest. Let the primary crawler fetch urls (including and especially the tarpit ones) because they’re low traffic, and block most ips trying to access tarpit urls. Most, because you still want to grab ips that access tarpit urls to block them in the future. No need to block those ips eternally, they’ll only appear a few times, and worst of all they’re actual users’ ips so they might also appear for legitimate traffic.

    I do find it ethically better than blocking ips based on geographical regions. But blocking whole ASNs managed and used by tech companies is worth it. I saw a nice decrease banning Meta at IP level.