Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Running web sites makes me not want to - Lowkey Party

⁨164⁩ ⁨likes⁩

Submitted ⁨⁨2⁩ ⁨weeks⁩ ago⁩ by ⁨mo_lave@reddthat.com⁩ to ⁨selfhosted@lemmy.world⁩

https://lowkey.party/running-web-sites-makes-me-not-want-to

source

Comments

Sort:hotnewtop
  • ultimaluz@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    i run a small browser game on a hetzner vps and for me the bots were never a load problem, it was the stats. the game shows how many people are online and every crawler that opened the live stream counted as a new player, in early october it was 28 of 61 stream opens. then a headless chromium on residential proxies, different ip every time, made 40 fake players in two days. what caught it was the Sec-CH-UA header, it said chromium 146 while the user agent said chrome 120, real browsers don’t mismatch like that. i don’t block them now, they just stop counting as people, which is kind of depressing too i guess

    source
  • diaphragmwp@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

    I have a simple static site. It’s been up for less than a month. On the cheapest possible VPS, someone gave me. Robots.txt:

    User-Agent: *
    Allow: /
    

    How long do yall think it will take for it to blow up?

    source
    • possiblylinux127@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      Robots.txt is completely ignored

      source
      • diaphragmwp@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

        Cool. Doesn’t really answer my question, though.

        source
  • Decronym@lemmy.decronym.xyz [bot] ⁨2⁩ ⁨weeks⁩ ago

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

    Fewer Letters More Letters
    Git Popular version control system, primarily for code
    VPS Virtual Private Server (opposed to shared hosting)
    nginx Popular HTTP server

    [Thread #165 for this comm, first seen 10th Nov 2026, 15:50] [FAQ] [Full list] [Contact] [Source code]

    source
  • KairuByte@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

    Personally I proxy everything through cloudflare tunnels using a wildcard cert, and have Authelia in front of everything. No open ports.

    Haven’t had bot problems since swapping to this setup.

    source
    • possiblylinux127@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      You do have open ports as it goes though Cloudflare. If Authelia ever has a CAVE you could be pwded. Cloudflare is nice but it gives a false sense of security and routes everything unencrypted though a large tech company.

      source
      • KairuByte@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

        Sure, but that’s true of anything you use to try to keep your network secure. Your VPN is also one CVE away from opening your network to bad actors.

        If you are that worried, you shouldn’t have anything accessible outside your network at all, even though a VPN.

        source
        • -> View More Comments
  • confusedpuppy@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

    I found that using a wildcard domain cert for HTTPS and an uncommon higher port number works just fine to avoid crawlers and scrapers. I also hide my ssh port behind WireGuard because I got annoyed with the bots filling up my logs with failed attempts. I’ve been doing that for nearly a year now and I have had no more issues with bots

    I’m going off the assumption that the people who run crawlers and scrapers are going for known common ports for quick ease of access

    I don’t feel the need to run anything extra such as Anubis either. The inconvenience of using an uncommon higher port number has been minimal and I still get to enjoy my tiny corner of the internet

    source
    • teolan@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Higher port? I suppose you just run things for yourself and never share them on the public internet then.

      source
      • confusedpuppy@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

        I share my site with only with people I know personally and they don’t seem to have any issue accessing my site

        They don’t seem too bothered adding :8000 to the address. Also they are usually connecting at home or on their phone and are not frequently visiting it so the inconveniences are minimal

        source
        • -> View More Comments
  • papercrane@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

    It’s hard to post original work to share but also know it can just get scraped but I can’t give up personal websites. Social media looks so bland and seeing completely personalized blogs are the most enjoyable part to the internet now. Spending more time in niche spaces on the internet more than ever.

    source
  • hperrin@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

    I host tons of open source projects on forge.sciactive.com

    Recently, it was getting absolutely hounded with tons of meaningless requests. I’m assuming they are just results of AI.

    So, I put Anubis in front of it. Now images hosted there won’t load on other sites, people have to wait forever to see the code, and the experience on phones is even worse. Just because AI doesn’t respect anything, and the people who run it are too stupid to realize that.

    This is why we can’t have nice things.

    source
    • MrMoopne@lemmus.org ⁨2⁩ ⁨weeks⁩ ago

      It’s odd, I see so many people complain about Anubis taking a significant amount of time, but I’ve only ever had it 1-2 seconds on my devices

      source
      • diaphragmwp@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

        Then let’s ship your devices.

        danluu.com/slow-device/

        source
    • MonkderVierte@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      You can set a trap that isn’t or is forbidden in robots.txt. Anyone who ignores your robots.txt is not friendly.

      source
    • Jason2357@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

      This makes a difference on Forgejo: github.com/go-gitea/gitea/pull/34024

      Also, obviously, a caching reverse proxy. Forges and wikis are hard because the bots drill down into the thousands of version control pages that get generated on demand and cant be cached.

      source
    • AHemlocksLie@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      Just because AI doesn’t respect anything, and the people who run it are too stupid to realize that.

      They’re perfectly capable of realizing it. How do you think it got built that way? They don’t respect anything, either.

      source
      • hperrin@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        True.

        source
  • Zak@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    I host a few sites and I haven’t had a problem yet. Sure, logs suggest a majority of traffic is bots, but the cheap VPS I’m hosting on hasn’t melted so I haven’t been motivated to do anything about it.

    source
    • Dave@piefed.nz ⁨2⁩ ⁨weeks⁩ ago

      Lemmy is particularly susceptible. Hosting a static site with a limited number of pages is fine. Lemmy needs to check all posts, find the votes, sort them, and compile the page. It does that for practically every page load, and so loading a page once is quite “expensive”.

      Then add on to that the almost unlimited pages of content for bots to crawl through, bots just get caught endlessly scraping pages. Even powerful servers struggle, which is why most Lemmy instances have implemented some sort of protection against bots.

      source
      • GameGod@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        All the logged-out views in Lemmy should be cached, otherwise you’re going to have scalability problems.

        source
      • ms_lane@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        Why not just use more static pages?

        4chan has been ‘static’ forever, the backend builds each page every ~15s, pages served to users are always static. It’s ‘justwerked’ for 20 years now on a shoestring.

        source
        • -> View More Comments
      • Zak@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        I believe you, but the linked article is not about hosting Lemmy.

        source
        • -> View More Comments
      • frongt@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        It doesn’t need to. Like any similar site, it can cache a lot of that in databases like redis, or cache the rendered page in part or in whole.

        source
        • -> View More Comments
  • schwim@piefed.zip ⁨2⁩ ⁨weeks⁩ ago

    If I didn’t enjoy the cat & mouse of it, I’d definitely walk away from running a site. Just out of curiosity, I created an hourly graph today showing malicious bot, legitimate bot and human ratio graphs for one of my sites. The malicious hits make up around 80% hourly and human hits are usually well under 10%.

    image

    source
    • bruh@thelemmy.club ⁨2⁩ ⁨weeks⁩ ago

      What sorts of measure you have taken to prevent bots from exhausting your compute and bandwidth

      source
      • schwim@piefed.zip ⁨2⁩ ⁨weeks⁩ ago

        As soon as an IP is determined to be malicious, subsequent pageloads result in a single query to match the IP and they get dumped to a 403 static error.

        With the bots that hammer a site looking for the top 1,000 or so exploitable URLs or partake in speed scraping, this has worked wonders for my server load. I catch them in their 1st-5th page load and the rest just result in basically no effort on the part of the script.

        source
      • schwim@piefed.zip ⁨2⁩ ⁨weeks⁩ ago

        Another example expanding on my previous comment.

        This IP from Hongkong Hit my site over 5,000 times in a couple minutes. The first 12 page loads were legitimate URLs and got served. On their first exploit attempt, they were blocked and the remaining 4,98x page loads were no-effort 403s. This type of thing has made it possible for me to have a cheap public-facing site as I wouldn’t be able to afford an endless array of malicious IPs doing this day in and day out. Before I went this route, I would have to shut the site down during high impact periods of these visitors as they’d corrupt and crash the database.

        image

        source
  • dieTasse@feddit.org ⁨2⁩ ⁨weeks⁩ ago

    Yeah, internet is no longer the interesting place it used to be. Interesting, intriguing, exciting. Now it’s worse than going to a tax office… the day before taxes… On Christmas… 😂

    source
    • kalpol@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

      We should all go back to HTML and web rings

      And Usenet but with spam filters somehow

      source
      • dieTasse@feddit.org ⁨2⁩ ⁨weeks⁩ ago

        I am actually trying geminispace. It has nothing to do with google btw, but it’s quirky, it’s weird and I am actually getting some old internet vibes

        source
        • -> View More Comments
  • lntl@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

    I run a DaaS product Trace Jobs that serves job posting data.

    My expectations are pretty low and am never disappointed.

    source