News for hackers. Stuff that matters.
Re:47% of all internet traffic came from bots in 2022 by herbst on Sunday May 14, 2023 @02:35PM (#35940196)
About a year ago I noticed one of my websites going down about weekly for an hour or so. My website had one endpoint that was available in a few hundred thousand versions. Ment for the user, for the bots it was just a few thousand variants. Setup in sitemap, setup in robots and including the right meta tags. Ment to update every few months.

But we'll, not with the bing bot. It ignored my timeouts and queried hundreds of thousands, for him identical, pages every single week. Not one connection, not two or three but about 10 IPs hammering my servers at once. No second between request, not even pausing when the server is going down. Something even 'bad bots' usually do.

I assumed it was just any bot calling itself Bing. But no, it was their IP ranges.

I blocked nearly all of their IPs. Which appears to be the only way to make sure it doesn't ddos me again. Bing is like 1% of my traffic, not even worth the hustle.

Re:47% of all internet traffic came from bots in 2022 by 2000UltraDeluxe on Sunday May 14, 2023 @02:57PM (#35940383)
Yeah, Bing has gone completely nuts the last six months or so. They'll happily send the equivalent of a small DDoS at sites hosted on shared hosting, knocking them completely offline for a while. Nuts.
Re:47% of all internet traffic came from bots in 2022 by herbst on Sunday May 14, 2023 @02:59PM (#35940406)
Could have been in the last 6 months for me too. And yes its crazy, most my sites have between 8 and 16 concurrent database connections available. In real world this works for thousands of daily users. But for a bing bot it's simply not enough.
Re:47% of all internet traffic came from bots in 2022 by hammyhavoc on Monday May 15, 2023 @01:12AM (#35944099)
Why aren't you caching your forum as static pages for users who aren't logged in at the very least? E.g., rebuild the cache every x time as a cron task, but even then, every page load shouldn't be incurring database overhead if someone isn't even logged in. Equally, you can force a rebuild of cache for x relevant pages when someone posts a new thread or comment.

Otherwise, if someone alt+clicks a bunch of a category's threads as they look interesting then you're going to have a bad time.

Re:47% of all internet traffic came from bots in 2022 by arpa on Monday May 15, 2023 @01:59AM (#35944351)
Effort vs payoff is my educated guess.
Re:47% of all internet traffic came from bots in 2022 by hammyhavoc on Monday May 15, 2023 @02:08AM (#35944392)
Few minutes of work for a permanent payoff? It's a no-brainer.
Re:47% of all internet traffic came from bots in 2022 by herbst on Monday May 15, 2023 @03:20AM (#35944775)
I am not the forum guy and my content is not really static. It's cached, but for this specific sub page I need at least one small query. Only a few requests are rebuilding the page, but if every 10th is rebuilt and 9 other bots are hammering mostly cached pages I still have the same issue.

The bot was never ment to query the same pages thousands of times. These pages were identical to him. There were already bot specific rules programmed in.

This website already is heavily cached and optimized. Even thought it only has 16 database connections there maybe is one timeout every few months. Users usually don't open tabs much faster than the short requests take, only bing does.

Really the time that went into optimizing it makes me kinda sad when someone questions that is was a effort Vs payoff thing. The bot ignored all rules I gave him and barely brought any benefit for me in terms of traffic. There is no payoff here, only effort.

Re:47% of all internet traffic came from bots in 2022 by victor106 on Sunday May 14, 2023 @04:30PM (#35941133)
Same here, we decided to actively block Bing. It’s the most useless egress traffic we have to pay for. Go away Bing.
Re:47% of all internet traffic came from bots in 2022 by anakaine on Sunday May 14, 2023 @10:36PM (#35943301)
This happened to me every week or so, not entirely predictable, on a small website that supports only a handful of users. Being an enterprise site with some corporate backing it's on quite a decent server, but it wasn't a match. The DDOS would leave things in a semi recovered state at best.