everytime i check nginx logs its more scrapers then i can count and i could not find any good open source solutions

  • Fedditor385@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    10 hours ago

    Anubis is the name of the tool. Also, Cloudflare just announced they have something against AI scrapers.

  • Fedditor385@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    9 hours ago

    I just realized an interesting thing - if I use Gemini, and tell it to do deep research, it actually goes to the websites it knows/finds, and looks up the content to provide up-to-date answers. So, some of those AI crawlers are actually not crawlers, but actual users who just use AI instead of coming directly to the site.

    Soo… blocking AI completely could also potentially reduce exposure, especially as more and more people use AI to basically do searches instead of browsing themselves. That would also explain the amount of requests daily - could be simply different users using AI to research for some topic.

    Point is, you should evaluate if the AI requests are just proxies of real users, and blocking AI blocks real users from knowing your site exists.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 hours ago

      Porque no los dos?

      There is no functional difference between them scraping you systematically and them coming to you on behalf of user. They’re coming to scrape you either way, being asked by someone is just going to make them do it in a smarter fashion.

      Also, if you’re not using Gemini, damned if Google.com doesn’t search you with it anyway. They want these AIs trained bad, sooner or later almost all searching will be done through AI. There will eventually be no option.

      You are correct that blocking all AI calls well eventually make your search results not work.

      So if you want organic traffic, you have to allow ai scraping eventually. You’re just going to get diminishing returns until a point.

    • daddycool@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      9 hours ago

      some of those AI crawlers are actually not crawlers, but actual users who just use AI instead of coming directly to the site. Soo… blocking AI completely could also potentially reduce exposure.

      Normally, websites want users to come to their site, instead of an AI search engine “stealing” the content and presenting it as it’s own. Yes, AI search engines are more convenient for the user, but in the end it will discourage website creators and thereby cut of it’s own “food supply”.

      • nfreak@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        7 hours ago

        Yeah I’d consider blocking out both the bots and AI-users a win-win lmao

      • Fedditor385@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        8 hours ago

        I understand, but the shift in user behaviour is significant and I think websites are not taking it into account. If the users move more and more to AI, and since Google introduced AI mode it’s only a question of time until it becomes the default, we will see more and more of what we thing are AI crawlers and less and less organic users.

        AI seems to be the new middleman between you and the user, and if you block the middleman, you block the user. For people with hobby websites or established sites it may make sense because people either know of them, or getting more exposure is not a wish or requirement, but for everyone else, it will be painful.

        • Noja@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 hours ago

          I honestly don’t think most people replace search with AI, it will also slowly solve itself when google injects ads into the output.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    If you’re able to, use GeoIP ranges to only allow access from the countries you want.

    That immediately limits a lot of everything

    Then - again if you’re able to - use a block list that covers known scrapers in case they’re in your country.

    I use pfBlockerNG on my pfSense firewall for exactly this.

  • Igilq@szmer.info
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours ago

    Well, someone had great idea to use zipbombs. I saw it somewhere but I don’t remember where.

    • RedBauble@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      12 hours ago

      Second Anubis, just finished by setup yesterday i have it of a oracle cloud frre tier vps, which depending on the domain routes the traffic to services hosted on the vps itself or to my server ar home. Relatively easy to setup, blocks most requests with very few false positives (one of which for example it would aggressively challenge by thunderbird trying to reach my baikal instance). I set a bit more aggresive rules than default (i also block googlebot and bingbot, since i received a bit more requests than I’d like). In like 10 hours it straight up denied about 5000 requests from the ai-catchall ruleset (mostly amazonbot) and challenged about 10000, mostly from a block of IPs in singapore, some of the hosts having the user agent of a Macintosh with PowerPC. They all sure love to explore the public repos on my git server.

      I’m in the process of changing servers for an upgrade, the old one still hosting more services while I setup the new one. The old one now does run audibly quiter. I don’t even want to think how much electricity went wasted because of those bots

    • Mordikan@kbin.earth
      link
      fedilink
      arrow-up
      7
      ·
      18 hours ago

      I especially love the irony of Anubis using yesterday’s hype thing to combat today’s.

  • db0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    21 hours ago

    You need yo block the alibaba subnets primarily. In my experience this is where most of them originate

  • Bahnd Rollard@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    23 hours ago

    Wern’t there a few AI maze projects in the works? I wonder if running one of those for a bit will cause you to be added to an ignore list, clearly they dont respect your robots file.

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 day ago

    crowdsec is arguably not completely open source, but I’m very satisfied with it.

    • lemonuri@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      13 hours ago

      The scraper blocklist on crowdsec requires a paid subscription, though, or did you find another workaround?

      • HelloRoot@lemy.lol
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        I don’t remember how I set it up a long time ago. But when I look at my server logs I only see myself.

        Afaik I just added the biggests lists. But I don’t remember.