Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. How to combat large amounts of Ai scrapers

How to combat large amounts of Ai scrapers

Scheduled Pinned Locked Moved Selfhosted
selfhosted
39 Posts 27 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • drunkanroot@sh.itjust.worksD [email protected]

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

    savvywolf@pawb.socialS This user is from outside of this forum
    savvywolf@pawb.socialS This user is from outside of this forum
    [email protected]
    wrote last edited by
    #2

    I've seen people suggesting and using Anubis, haven't used it myself though.

    C drunkanroot@sh.itjust.worksD R F 4 Replies Last reply
    44
    • drunkanroot@sh.itjust.worksD [email protected]

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

      H This user is from outside of this forum
      H This user is from outside of this forum
      [email protected]
      wrote last edited by
      #3

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

      L 1 Reply Last reply
      2
      • savvywolf@pawb.socialS [email protected]

        I've seen people suggesting and using Anubis, haven't used it myself though.

        C This user is from outside of this forum
        C This user is from outside of this forum
        [email protected]
        wrote last edited by
        #4

        I was going to recommend that, very easy to setup

        1 Reply Last reply
        0
        • drunkanroot@sh.itjust.worksD [email protected]

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

          bahnd@lemmy.worldB This user is from outside of this forum
          bahnd@lemmy.worldB This user is from outside of this forum
          [email protected]
          wrote last edited by
          #5

          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.

          S 1 Reply Last reply
          4
          • bahnd@lemmy.worldB [email protected]

            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.

            S This user is from outside of this forum
            S This user is from outside of this forum
            [email protected]
            wrote last edited by
            #6

            Tar pits I think is the term they use to pollute AI data.

            1 Reply Last reply
            5
            • drunkanroot@sh.itjust.worksD [email protected]

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

              db0@lemmy.dbzer0.comD This user is from outside of this forum
              db0@lemmy.dbzer0.comD This user is from outside of this forum
              [email protected]
              wrote last edited by
              #7

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

              1 Reply Last reply
              8
              • savvywolf@pawb.socialS [email protected]

                I've seen people suggesting and using Anubis, haven't used it myself though.

                drunkanroot@sh.itjust.worksD This user is from outside of this forum
                drunkanroot@sh.itjust.worksD This user is from outside of this forum
                [email protected]
                wrote last edited by
                #8

                i tried Anubis and it works great the only issue is it wont support multiple subdomains

                1 Reply Last reply
                3
                • drunkanroot@sh.itjust.worksD [email protected]

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

                  G This user is from outside of this forum
                  G This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #9

                  I've seen people mention Anubis, the other one I heard about in a blog post that's maybe worth looking into is go-away.

                  1 Reply Last reply
                  4
                  • H [email protected]

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

                    L This user is from outside of this forum
                    L This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #10

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

                    H 1 Reply Last reply
                    1
                    • savvywolf@pawb.socialS [email protected]

                      I've seen people suggesting and using Anubis, haven't used it myself though.

                      R This user is from outside of this forum
                      R This user is from outside of this forum
                      [email protected]
                      wrote last edited by [email protected]
                      #11

                      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.zoneV 1 Reply Last reply
                      1
                      • drunkanroot@sh.itjust.worksD [email protected]

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

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #12

                        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.

                        1 Reply Last reply
                        5
                        • drunkanroot@sh.itjust.worksD [email protected]

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

                          F This user is from outside of this forum
                          F This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #13

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

                          drunkanroot@sh.itjust.worksD 1 Reply Last reply
                          9
                          • drunkanroot@sh.itjust.worksD [email protected]

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

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #14

                            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.

                            D R drunkanroot@sh.itjust.worksD 3 Replies Last reply
                            4
                            • drunkanroot@sh.itjust.worksD [email protected]

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

                              igilq@szmer.infoI This user is from outside of this forum
                              igilq@szmer.infoI This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #15

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

                              drunkanroot@sh.itjust.worksD 1 Reply Last reply
                              1
                              • F [email protected]

                                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.

                                D This user is from outside of this forum
                                D This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #16

                                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".

                                F nfreak@lemmy.mlN 2 Replies Last reply
                                6
                                • D [email protected]

                                  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".

                                  F This user is from outside of this forum
                                  F This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #17

                                  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.

                                  N L 2 Replies Last reply
                                  2
                                  • L [email protected]

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

                                    H This user is from outside of this forum
                                    H This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #18

                                    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.

                                    1 Reply Last reply
                                    0
                                    • savvywolf@pawb.socialS [email protected]

                                      I've seen people suggesting and using Anubis, haven't used it myself though.

                                      F This user is from outside of this forum
                                      F This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #19

                                      I’ve had trouble with it using a vpn and privacy browsers. It often blocks me until I use a default browser.

                                      1 Reply Last reply
                                      0
                                      • drunkanroot@sh.itjust.worksD [email protected]

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

                                        F This user is from outside of this forum
                                        F This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #20

                                        If nginx, here's an open-source blocker/honeypot: https://github.com/raminf/RoboNope-nginx

                                        If you have it set up to be proxied or hosted by Cloudflare, they have their own solution: https://blog.cloudflare.com/declaring-your-aindependence-block-ai-bots-scrapers-and-crawlers-with-a-single-click/

                                        ikidd@lemmy.worldI drunkanroot@sh.itjust.worksD 2 Replies Last reply
                                        4
                                        • D [email protected]

                                          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.mlN This user is from outside of this forum
                                          nfreak@lemmy.mlN This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #21

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

                                          1 Reply Last reply
                                          8
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups