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

    • Mordikan@kbin.earth
      link
      fedilink
      arrow-up
      4
      ·
      11 days ago

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

    • Typewar@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      10 days ago

      I have a dumb question… what is preventing the crawlers from just eating the shit and just burn though the energy to get through the computational task?

      • SavvyWolf@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        It’ll still slow them down and reduce load on your server. I also think many of these crawlers focus on volume; time spent computing the hash is time not spent crawling someone else’s site.

    • RedBauble@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      11 days 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

      • VeganCheesecake@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 days ago

        You probably don’t need me to tell you, but keep good backups. Friend of mine recently had his account nuked without any reason given, and without the possibility of recourse.

        a mail from Oracle, informing about the immediate termination of service, and deletion of all data

        • RedBauble@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          10 days ago

          That’s too bad. Luckily i keep just a couple of docker compose stacks there. But I should start backing them up, that vps is the only thing I don’t backup

  • db0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 days ago

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

    • Drunk & Root@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 days ago

      i can only get it to protect one container. i have 3 that i need protected and i cant figure out how to run more then one instance of it.

  • kcweller@feddit.nl
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 days ago

    Nephentes that shit. Poison every scraper until they start respecting robot.txt. Purposefully use llm.txt to trap the fuckers.

  • Fedditor385@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

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

    • Drunk & Root@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 days ago

      ive been using Anubis my only issue is i would have to run more then one instance and i dont like cloudflare personaly

  • Igilq@szmer.info
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

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

  • gandalf_der_12te@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 days ago

    What’s bothering you?

    • Is it to give out data for AI training? I guess you can’t fundamentally protect against this, except by limiting how much content is provided to each address.
    • Or is it the resource strain that it causes on your server? In that case i recommend limiting how much a single client / IP address can request in a day.
  • Bahnd Rollard@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 days ago

    How do you know it’s “AI” scrappers?

    I’ve have my server up before AI was a thing.

    It’s totally normal to get thousands of bot hits and to get scraped.

    I use crowdsec to mitigate it. But you will always get bot hits.

    • Drunk & Root@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      bot hits i dont care my issue is when i see the same ip querying every file on 3 resource intensive sites millions of times

      • daniskarma@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        10 days ago

        Do you have a proper robots.txt file?

        Do they do weird things like invalid url, invalid post tries? Weird user agents?

        Millions of times by the same ip sound much more like vulnerability proving than crawler.

        If that’s the case fail to ban or crowdsec. Should be easy to set up a rule to ban an inhumane number of hits per second on certain resources.