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?

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    31 minutes ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    ISP Internet Service Provider
    IoT Internet of Things for device controllers
    SSH Secure Shell for remote terminal access
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)
    nginx Popular HTTP server

    [Thread #199 for this comm, first seen 5th Dec 2026, 01:10] [FAQ] [Full list] [Contact] [Source code]

  • monkeyman512@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    I am confident putting everything behind VPN access and not directly exposing it to the Internet will work 100% of the time and continue working in the future. Everything else will be an arms race.

    I know that doesn’t actually help with the kind of solution you are looking for. But any time you can lock it behind VPN access will make it easier to secure.

  • BlueÆther@no.lastname.nz
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    I do the following in order:

    • geoblock China (and some other Asia blocks) and South America via Caddy file
    • Useraget block lists
    • Tarpit any other suspicious via iocane

    Cut impressions from over 200/sec to ~6-8 average

      • BlueÆther@no.lastname.nz
        link
        fedilink
        English
        arrow-up
        1
        ·
        35 minutes ago
        {$LEMMY_HOSTNAME} {
                import caddy-common
        
                ######################################
                ########## log files        ##########
                log cn_blocked {
                        output file /data/cn-blocked.log
                        format json
                        no_hostname
                }
        
                ########## iocaine  code ##########
                @read method GET HEAD
                        reverse_proxy @read host.docker.internal:42069 {
                        @fallback status 421
                        handle_response @fallback
                }
        
                ########## cn blocking code ##########
                @blocked {
                        remote_ip 1.0.1.0/24 1.0.2.0/23 1.0.8.0/21 1.0.32.0/19 1.1.0.0/24 1.1.2.0/23 1.1.4.0/22 1.1.8.0/21 1.1.16.0/20 1.1.32.0/19 1.2.0.0/23 1.2.2.0/24 1.2.4.0/22 1.2.>
                        remote_ip 43.254.248.0/21 43.255.0.0/21 43.255.8.0/22 43.255.16.0/22 43.255.48.0/22 43.255.64.0/20 43.255.84.0/22 43.255.96.0/22 43.255.144.0/22 43.255.176.0/22>
                        remote_ip 103.8.8.0/22 103.8.32.0/22 103.8.52.0/22 103.8.68.0/22 103.8.108.0/22 103.8.156.0/22 103.8.200.0/21 103.8.220.0/22 103.9.8.0/22 103.9.24.0/22 103.9.10>
                        remote_ip 103.72.128.0/21 103.72.148.0/22 103.72.172.0/22 103.72.180.0/22 103.72.224.0/19 103.73.0.0/19 103.73.48.0/22 103.73.116.0/22 103.73.120.0/22 103.73.12>
                        remote_ip 103.132.112.0/21 103.132.120.0/22 103.132.160.0/21 103.132.188.0/22 103.132.208.0/21 103.132.234.0/23 103.133.12.0/22 103.133.40.0/22 103.133.128.0/22>
                        remote_ip 103.216.16.0/20 103.216.32.0/20 103.216.64.0/22 103.216.108.0/22 103.216.136.0/22 103.216.152.0/22 103.216.156.0/23 103.216.224.0/21 103.216.240.0/20 >
                        remote_ip 114.68.0.0/16 114.79.64.0/18 114.80.0.0/12 114.96.0.0/13 114.104.0.0/14 114.110.0.0/20 114.110.64.0/18 114.111.0.0/19 114.111.160.0/19 114.112.0.0/14 >
                        remote_ip 125.214.96.0/19 125.215.0.0/18 125.216.0.0/13 125.254.128.0/17 128.108.0.0/16 129.28.0.0/16 129.204.0.0/16 129.211.0.0/16 132.232.0.0/16 134.175.0.0/1>
                        remote_ip 202.9.34.0/23 202.9.48.0/23 202.9.51.0/24 202.9.52.0/23 202.9.54.0/24 202.9.57.0/24 202.9.58.0/23 202.10.64.0/20 202.10.112.0/20 202.12.1.0/24 202.12.>
                        remote_ip 203.6.150.0/23 203.6.157.0/24 203.6.159.0/24 203.6.224.0/20 203.6.248.0/23 203.7.129.0/24 203.7.138.0/23 203.7.147.0/24 203.7.150.0/23 203.7.158.0/24 >
                        remote_ip 203.31.85.0/24 203.31.97.0/24 203.31.105.0/24 203.31.106.0/24 203.31.108.0/23 203.31.124.0/24 203.31.162.0/24 203.31.174.0/24 203.31.177.0/24 203.31.1>
                        remote_ip 223.208.0.0/13 223.220.0.0/15 223.223.176.0/20 223.223.192.0/20 223.240.0.0/13 223.248.0.0/14 223.252.128.0/17 223.254.0.0/16 223.255.0.0/17 223.255.2>
                }
        
                route @blocked {
        #               log_name cn_blocked
                        respond "<h1>Access Denied</h1>" 403
                }
                ##########   cn block ends  ##########
                ######################################
        
  • 9tr6gyp3@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    1
    ·
    6 hours ago

    Unplug the power plug and send your devices to ewaste. Even then, its not guaranteed to avoid LLMs.

  • 4TBHMeCCL@suppo.fi
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 hours ago

    I like looking at different lists to see what scrapers are listed (there’s ai.robots.txt, CrawlerCheck, “Ultimate Block List to Stop AI Bots” by Jeff Starr, the list from GEO Toolbox, Known Agents which was previously known as Dark Visitors). There’s also checking logs to see what other user agents (or such) appears.

    Instead of blocking, there’s some people who redirect the scrapers to honeypots or junk sites (do something unique and have a unique URL to have it harder for LLM to block).

    There’s also “secret botnets” that if you block a certain user-agent, they will reappear under a different IP and user-agent (neocities did a whole Bluesky thread on it, which is worth a read).

    You won’t be able to catch everything, but you can at least make it harder for them.

  • confusedpuppy@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 hours ago

    I just use a wildcard domain cert and a random higher port number while hiding my SSH port behind WireGuard. The only activity I see is from myself

    I just can’t be bothered to keep up the fight against AI/LLMs/Scrapers. I have my own quiet corner of the internet now while the robots can have rest of the easily accessible internet

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 hours ago

      Can you elaborate on the setup? Is the reverse proxy blocking anything but preconfigured subdomains? Or some cert auth scheme?

      • confusedpuppy@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 hours ago

        My ISP supplied modem/router doesn’t have a DMZ so I just port forward my reverse proxy port and WireGuard port.

        Then I use Caddy to handle a single wildcard domain cert. Caddy then redirects sub-domains to their respective localhost port number.

        My firewall redirects WireGuard connections to my SSH port.

        I don’t block anything. I only host static pages so I don’t use any authentication. If I hosted services then I would probably use some sort of authentication. Other than that, it’s really simple.

        In the past nearly 2 years I’ve been doing this I have had no one attempt to connect but myself. It’s nice having quiet and easy to parse logs.

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    Depends. What kind of service are you trying to protect?

    Personally I just don’t publish anything to the Internet. I used to have a hosted blog but I let it expire when WordPress shit the bed.

    • Vietconga@scribe.disroot.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      A blog engine I wrote, a static site and my gopherhole, served by nginx and gopherd, and protected with ufw, fail2ban, and a lot of nginx rules. My server is otherwise protected by SSH, no interactive login (only SSH key).

      I also have in place a naive yet efficient rule in place for scrapers, similar to a nephentes honeypot.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I do not use port 22 for anything other than crowdsec. I have a 2 pihole set up, the main one uses unbound with DoT (I know DoT does not do much in this situation). I am in the process of moving most of my vLANs to a VPN coming out of a VPS. I use different email addresses for everything, there can be days when I do not get a single email because I have filters for emails and it is nice! Most of my IoT things do not have access to the WAN they work off of home assistant.

    I plan on moving a family of four into a pi5 they will get their own vLAN that will not have access to my VPN or pihole. Of the negligible amount of money it will take to run the system once my pi5 is free it will give me priceless amounts of joy knowing advertisors are going to be wasting fractions of a percent of a cent trying to advertise to this family that does not exist! Maybe I will give them gmail addresses to, and have work/school/friends worked into the scripts as well?