17 comments

  • firefoxd 26 minutes ago
    Last year, I wrote a post about how I use zipbombs to deal with bot traffic [0]. It went mega viral over the web, and I regret it. My server was completely overwhelmed with bot traffic. After months of dealing with it, I had to find a better strategy then keep my mouth shut.

    [0]: https://news.ycombinator.com/item?id=43826798

    • driverdan 1 minute ago
      So it ended up not having a noticeable impact on the bots?
    • giwook 1 minute ago
      What is that improved strategy? :pray:
  • switz 1 hour ago
    There is so much spam, abuse, and aggressive scraping that I've had to block:

      - AWS
      - Google Cloud
      - Azure
      - Alibaba Cloud
      - Oracle
    
    and a handful of other ASNs on almost all of my properties. It would be one thing if it was simple scraping, but it's often genuine agentic abuse (just spamming for vulnerabilities* or scraping millions of pages with very little valuable or dynamic content). These clouds must get the abuse happening under their own roof under control.

    I banned Alibaba's Cloud two years ago and it still hits one of my domains 1 million times per day, despite every route 4xx-ing during that time.

    Even Apple has aggressively ramped up its scraping in the past few months, but thankfully they do respect robots.txt.

    It's frustrating because some of my real users route through these clouds via their work VPNs. Also, there are a lot of less-than-reputable AI scrapers using global bot-nets via residential IPs to scrape, making it even harder to detect and ban them without affecting real people.

    * like leaked .env routes, brute forcing admin panels, and so on

    • Sharlin 1 hour ago
      Application-level banning seems very inefficient, these domains should be banned at the network (IP) level. Just drop any incoming packets from these domains/IPs, send absolutely nothing back that even confirms that you exist.
      • switz 51 minutes ago
        They are banned at the edge in Cloudflare (now), they never hit my application.
        • elp 40 minutes ago
          From a domain registry operators point of view Cloudflare are the worst of the bunch by orders of magnitude.

          Google DNS are busy but its a hand full of IPs and reasonable. Cloudflare is non-stop never ending traffic. I don't know WTF they are trying to get. I've also seen TCP queries from those same Cloudflare IPs so this is not the result of a DDOS attack on them.

    • cube00 30 minutes ago
      > These clouds must get the abuse happening under their own roof under control.

      Similar to ad click fraud and scam ads, the cloud provider gets paid, why would they turn down the money?

      • eru 15 minutes ago
        So people accessing the internet through their cloud don't get automatically ip-banned by most services, perhaps?
        • zetanor 2 minutes ago
          If advertising and tracking was less egregious, I wouldn't feel the need to use an ad blocker. But, here we are.
    • dawnerd 41 minutes ago
      I’ve had to block similar on clients sites. Their search pages would start to get hammered with obvious agentic search spam. Searching for thing not even related to the site in all combinations of the queries. Some of the user queries contained potentially PII.
    • simmerup 50 minutes ago
      Isn’t scanning for vulnerabilities illegal? Traditionally security researchers had to be very careful about such things
      • bilekas 33 minutes ago
        If there's a know CVE in a version of cPanel ir wordpress for example, those platforms broadcast what version they're on, so the matching cve being known is not illegal. You're just correlating known vulnerable versions without doing any probing. Pen testing however, a bit more involved in pulling info out without permission is illegal.
      • nostrademons 25 minutes ago
        Can you enforce it? Would you even know who to go after?

        Traditionally cybercrimes have been prosecuted by the victim going to their local PD (or the FBI) with the IP address of the offender, and then law enforcement subpoenas the ISP associated with that IP address to figure out the customer associated with that account, and then they have a case for prosecution. It all works as long as cybercriminals are less numerous than law enforcement, fall in the same jurisdiction (or in jurisdictions that have reciprocal extradition treaties), and have a real identity that can be tied to their online activities.

        Now, many law enforcement agencies are tied up prosecuting political opponents of their bosses. To the extent that they have bandwidth to investigate and prosecute ordinary crimes, they're going to prioritize the ones that target a.) the government that backs them (of which there are many - you see another headline about the government being hacked every week or so on HN) b.) major corporations that have sophisticated IT systems that can aid prosecution or c.) headlines that will get their boss a PR boost and themselves a promotion. Your personal website does not register among those priorities. You probably can't even prove damages from the intrusion itself. The perpetrator might be a Russian bot that the U.S. doesn't have jurisdiction over, or a Canadian teen that the U.S. previously might've been able to prosecute with reciprocal judicial treaties but now has no leverage over because we've blown up our relationship with Canada. It may be legally a crime, but economically it's not worth prosecution.

        Traditionally security researchers had to be very careful because they were doing everything above-board, with their real identity attached to their actions, and they made a very attractive (and PR-worthy) target. Somebody who's port-scanning from Russia through a VPN or residential proxy network is a.) anonymous b.) untraceable c.) out of U.S. jurisdiction and d.) not a headline-worthy target anyway.

        A couple years ago I predicted here that a lot of things will break as the U.S. transitions from a high-trust to a low-trust society. This is one of them. Much of our justice system works well when criminals are rare and utterly falls apart when they're ubiquitous.

    • sdcfgy 13 minutes ago
      AWS is terrible. We had another tenant on AWS attacking us on AWS. AWS support took nearly a week of slowly bouncing around a case to do anything.
    • EGreg 27 minutes ago
      This is a very smart thing to do! Thanks.

      Why allow random requests coming from the clouds?

      However, they could just use residential proxy botnets.

      I believe the future is static resources with dynamic apps being only offered to people who can authenticate. And even then I’d recommend grandfathered accounts (eg telegram users that had an account for at least a year).

    • EGreg 28 minutes ago
      This is a very smart thing to do! Thanks.

      Why allow random requests coming from the clouds?

      However, they could just use residential proxy botnets.

  • andai 10 minutes ago
    I'm trying to understand the reasoning behind the entity that was sending presumably hundreds or thousands of requests per minute to the same page. It's some kind of AI news site, so it makes sense they want the freshest content, but it sounds like they were doing many requests per second, so that can't be the reason?
    • MisterTea 2 minutes ago
      > I'm trying to understand the reasoning behind the entity that was sending presumably hundreds or thousands of requests per minute to the same page.

      The most likely answer is they don't give a crap because it's not their money and no one is going to do anything about it.

  • ben_w 1 hour ago
    It's too late to comment on your older posts, but I'd just like to say: it's nice to see someone making oldschool web browsers work properly on the modern web.

    https://www.sammystraus.com/#using-llms-to-make-the-emacs-we...

    • sammy0910 1 hour ago
      :) ive been dreaming of a usable emacs browser for so long
  • andai 12 minutes ago
    Interesting, thanks for sharing.

    >So I took a look at some data. I added top-level logging for every endpoint (how many times was a request made to each url path), and I found that a majority of the requests did not even make an attempt to fetch news articles! For reference, my website is built as a single-page-application, and what this means is that a majority of the requests did not even run the javascript necessary to render the page (!).

    So you got hammered by curl requests! But isn't that part of your delivery static anyway? Were you regenerating the same HTML over and over?

    >many, many requests per minute?

    How many was it?

    Also interesting that it was a single "user". (user-agent?) Did it come from a different IP every time?

    But hey. Silver lining: free load testing! ;)

  • beybol 21 minutes ago
    In server logs you can distinguish the type of LLM's traffic. OAI-SearchBot/GPTBot/ClaudeBot is just indexing but ChatGPT-User/Claude-User etc. may be valuable traffic generated by user's conversation with LLM's. So it's worth choosing which ones you block, instead of blocking all of them.
  • Havoc 59 minutes ago
    > I won't name names, but I looked them up, and they describe themselves as a service that listens for changes to a website, and then summarizes them into an AI slop news letter. And by 'listens to changes' I mean query our website many many times per-minute. Blocked.

    That sort of behavior would justify a name and shame imo

    Inconsiderate shitty services don’t deserve the politeness of protecting their name

  • paaloeye 1 hour ago
    Have you tried dealing with bots using CF Turnstile? Ref: https://www.cloudflare.com/products/turnstile/
    • diath 38 minutes ago
      I run a few private MMO servers, we have a website with a support forum, in order to post, you need to register, log in, fill in account data, then create a thread, each of these pages is protected by Turnstile as well as a general bot check for the website, we frequently get automated spam from RMT services for the OG game. Turnstile is maybe effective against simple bots that just try to call curl/requests/whatever but if you have bots that use a browser driver it's completely useless.
    • rrr_oh_man 49 minutes ago
      I did this for alyph.ai, but was recently flooded with so many browser-using, Turnstile-defeating bots from Taiwan that I had to completely turn off sign ups. It's not fun anymore.

      Not even third party login worked (Google, Linkedin, ...) to curb this.

      They were logging in, scraping the client API for vulnerabilities/possibilities and then spammed erotic dog poems to Claude Fable until the $5 welcome credit got drained.

      Fun New World.

      • firtoz 28 minutes ago
        remove free signups

        $5 minimum to sign up

    • sammy0910 1 hour ago
      not yet, but I think something like this would be a next step
    • ArgumentMoney81 51 minutes ago
      [flagged]
  • bix6 1 hour ago
    > one specific user. I won't name names

    Who is?!

    • sammy0910 1 hour ago
      haha im not naming names
      • nekusar 1 hour ago
        You shouldnt defend bad actors and abusers. Hiding them is tantamount to them attacking others indiscriminately. Cause youre not the first victim, and definitely not the last.

        You see something, you say something, or you do something.

        • dsfnsldfnsdfnsd 3 minutes ago
          How else will the author play the victim for some clicks then?
  • oneeyedpigeon 1 hour ago
    What confused me most about this is that the entire site is, apparently, a single page (there's no sitemap that I can use to verify this; there IS an RSS file which appears to confirm it) containing all posts. Links at the top (headed "Table of Contents") are all in-page links.

    At first, I assumed this was a single blog post, especially with a "Table of Contents" at the top. I guess it's following some old-school blogging conventions, but AFAICR, even those sites retained individual pages for separate posts.

    • sammy0910 1 hour ago
      it's org-html-export-to-html babyyy lmao
      • sammy0910 1 hour ago
        I think I could improve the format a bit with something like Jekyll, but I haven't had a good chunk of time to sit down and work on it
        • kqr 41 minutes ago
          You can also link between Org documents and org-publish will export the documents with working web links, if you're lucky. That's how https://entropicthoughts.com works.
  • mococa 1 hour ago
    Same with me, every-time I got 1st page I got a lot of robots
  • spiderfarmer 1 hour ago
    Try posting something viral on Mastodon. The logs clearly show that it isn't the most efficient social network.
    • dyingkneepad 45 minutes ago
      Can you elaborate more, please? I'm curious.
      • advisedwang 7 minutes ago
        not the parent commentor, but I've previously heard complaints about how each server separately does a fetch of images and html for previews.
  • ChrisMarshallNY 1 hour ago
    Heh. I posted a GitHub project Show HN, a couple of days ago, and it never even made it out of new, but it got me some bots.

    That's a big reason that I never post any of my apps here.

    Welcome to hell, kid...

  • janalsncm 1 hour ago
    Ok, on the one hand to have one bot hitting your website to populate some kind of slop newsletter is pretty annoying.

    On the other hand, “multiple times per minute” doesn’t seem that high? Even if it was 60x per min that’s fully within the limits of what a 2015 laptop in the closet can handle.

    • Exoristos 19 minutes ago
      Once every 24 hours seems sufficient for the stated purpose.
    • sammy0910 57 minutes ago
      yeah, it was a wake-up call that I needed to make certain parts of my application faster, and I've been working on it for the past few weeks
  • rahibali 1 hour ago
    [flagged]
  • add-sub-mul-div 1 hour ago
    [flagged]
    • retsibsi 1 hour ago
      I don't know HN's rationale, but: if you try to ban self-promotion, then in practice you're only banning honest self-promotion. And if you allow it, but try to ban accounts that only exist for that purpose, then in practice you're encouraging them to spam mediocre comments in other threads to dilute the signal. [edit: I see that the guidelines do say not to use HN primarily for promotion. I'm willing to bet this significantly increases the amount of insincere engagement, but obviously the admins/moderators here are more aware of the tradeoffs than I am, and they have decided they are worth accepting.]

      IMO the important thing to try to crack down on is vote manipulation; if you have that under control, then you can probably happily allow self-promotion and trust that only the interesting stuff will rise to the top.

    • unshavedyak 1 hour ago
      Any thoughts on what the alternative would be?

      Perhaps a contribution requirement per post? Though this proposal just invites bots to actually post comments because that becomes a requirement for posting links.

      • jaggederest 1 hour ago
        The guidelines already cover this:

        > Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity.

        https://news.ycombinator.com/newsguidelines.html

        I assume that users who primarily/only post their own stuff and get flagged a lot reap the consequences, there's plenty of spam filtering on here thank goodness.

      • Akronymus 1 hour ago
        make interactions with others' posts/post others' stuff a soft req for posting your own stuff? So not following it could be deemed actionable by the hn mod team?

        Edit: nvm thats already in the guidelines

    • latexr 1 hour ago
      Ostensibly, they aren’t. From the Guidelines (https://news.ycombinator.com/newsguidelines.html):

      > Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity.

  • vanschelven 1 hour ago
    I _also_ posted to HN and made it to #1[0]; the effect this had on my CPU/network traffic on a 5/EUR month VPS over at Hetzner was in the single digit percentages.

    As per the wiki page for the C10k problem[1] where it says "_was_ [emphasis mine] the problem of optimizing computer networking stacks to handle a large number of clients at the same time". This was solved over a decade ago...

    Now get off my lawn!

    (TBF I think the author acknowledges this)

    [0] https://news.ycombinator.com/item?id=43725815

    [1] https://en.wikipedia.org/wiki/C10k_problem

    • dboreham 1 hour ago
      The c10k problem is a different problem. It relates to simultaneous open TCP connections at a server. It would take a very very large number of crawler bots to force open 10k connections, I suspect.