[-] [email protected] 1 points 1 day ago

Indeed, why not? Temugin was the GOAT at this game.

Global domination isn't a new thing.

[-] [email protected] 5 points 2 days ago

I agree. People are people. The racist tone of the original question and the judging of history by modern standards just underlines that.

[-] [email protected] 7 points 2 days ago

but remember the Greeks and Swedes didn’t sail around the world killing natives for the craic.

The Vikings had a fair go at it - and they came from what is now Norway, Denmark and... Sweden.

[-] [email protected] 9 points 6 days ago

I moved my wife's laptop to Debian with Cinnamon as a desktop. She loves it and is as technophobic a person as I know..

Auto login, automated-updates set up, remote backups. She just has to open the lid and firefox is there, which is 95% of what she wants. Libre office is around for the remaining 5%.

This is someone who used to get angry at Windows forced updates and reboots, so not having any of that improved her quality of life.

[-] [email protected] 82 points 2 months ago

Gosh, I wonder what stirred them up?

[-] [email protected] 79 points 5 months ago* (last edited 5 months ago)

I have a saying, "If it's not DNS, then it's Selinux". It blocks stuff so frequently it's a major time sink for us.

It is overly complex and difficult to understand, especially if you're developing and deploying software that does not have correct pre-rolled policies. A regular job for me is to help developers solve this - which generally means running their service, seeing what Selinux blocks on, and then applying a fix. Repeat 2-8 times until every way Selinux is trying to access a file is explicitly allowed. And sometimes, even software that comes via official repos has buggy selinux policies that break things.

Fortunately, there are tools to help you. Install setroubleshooter amd when something doesn't work, "grep seal /var/log/messages" and if it's selinux causing the problem, you'll find instructions showing you what went wrong and how to create an exception. I absolutely consider this tool essential when using any system with selinux enabled.

[-] [email protected] 73 points 6 months ago

Surprised at the level of negativity here. Having had my sites repeatedly DDOSed offline by Claudebot and others scraping the same damned thing over and over again, thousands of times a second, I welcome any measures to help.

[-] [email protected] 76 points 6 months ago* (last edited 6 months ago)

In unrelated news, hate is reduced across the world.

[-] [email protected] 111 points 8 months ago* (last edited 8 months ago)

It's clear Trump wants to control all social media within the US.

  1. Musk took twitter and turned it into a far right hate speech platform
  2. Zuckerberg has a private meeting with Trump. Next day donates $1m to the inaugural fund. Facebook, Instagram and Threads remove fact-checking in the US and Zuckerberg. There's some very odd fuckery afoot with left searches that are blamed on a technical glitch.
  3. Tiktok is threatened with closure. They suddenly align themselves with Trump and the lights stay on.
  4. Google's boss, Sundar Pichai, is lauded and given a seat of honour at Trump's inauguration. It's clear there are established links there.
  5. Reddit - I don't know, but Steve Huffman has a /serious/ adoration of Elon Musk and is fond of money and power. If it's not already in the fold, it will be soon.

I'd put money on that we're already seeing left and anti-trump messages suppressed, and algorithms adjusted to promote division and discord - not just in the US, but globally. We'll be seeing platforms other than the above attacked and inflitrated constantly by bots and AI. We'll reach a point where you literally will be talking to yourself if you are against this. Your messages will just disappear to the point where you question your own reality. Shadowbanned online. Is Lemmy safe? No, not remotely. Decentralisation helps somewhat, but when the heavy guns are laying down suppressing fire from bot armies and destablising agendas - or even just being ruled illegal for some made-up reason, decentralisation doesn't allow you to fight.

Jim Morrison said, "“Whoever controls the media controls the mind. The media is the message and the message is me.”

The aim here is obvious, and it's not new. The method is just adjusted for modern day. And truth? Say goodbye to that sucker.

315
submitted 8 months ago by [email protected] to c/[email protected]

Under this methodology of all 193 UN Member States – an expansive model of 17 categories, or “goals,” many of them focused on the environment and equity – the U.S. ranks below Thailand, Cuba, Romania and more that are widely regarded as developing countries.

In 2022, America was 41st. Interesting to see where it will be after this term of office, which looks set to be working against many of these aims.

[-] [email protected] 83 points 10 months ago

Well, this aged quickly.

[-] [email protected] 111 points 1 year ago

Over the past year Musk has removed all masks and clearly believes he can operate beyond the law. His motives are clearly to watch the world burn. He is an extremely dangerous, unpredictable and powerful man, threatening democracy across the globe.

Our governments need to protect us from him. Brazil's being brave here, I hope they're just the first.

[-] [email protected] 121 points 1 year ago

No shit. The amount of far-right propaganda, hate and disinformation it's pushing is so much that it's pretty much over the line as an extremist site now, and I expect it to start getting flagged as that with a lot more organisations.

Musk wants to set the world on fire and X is his box of matches.

2
submitted 1 year ago by [email protected] to c/[email protected]

On display at the Stromness museum. Carved from whalebone and believed to be a child's doll.

Was discovered at the famous Skara Brae site, and then spent years forgotten in a box at the museum before being rediscovered.

https://www.bbc.co.uk/news/uk-scotland-north-east-orkney-shetland-36526874

195
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

I host a few small low-traffic websites for local interests. I do this for free - and some of them are for a friend who died last year but didn't want all his work to vanish. They don't get so many views, so I was surprised when I happened to glance at munin and saw my bandwidth usage had gone up a lot.

I spent a couple of hours working to solve this and did everything wrong. But it was a useful learning experience and I thought it might be worth sharing in case anyone else encounters similar.

My setup is:

Cloudflare DNS -> Cloudflare Tunnel (Because my residential isp uses CGNAT) -> Haproxy (I like Haproxy and amongst other things, alerts me when a site is down) -> Separate Docker containers for each website. On a Debian server living in my garage.

From Haproxy's stats page, I was able to see which website was gathering attention. It's one running PhpBB for a little forum. Tailing apache's logs in that container quickly identified the pattern and made it easy to see what was happening.

It was seeing a lot of 404 errors for URLs all coming from the same user-agent "claudebot". I know what you're thinking - it's an exploit scanning bot, but a closer look showed it was trying to fetch normal forum posts, some which had been deleted months previously, and also robots.txt. That site doesn't have a robots.txt so that was failing. What was weird is that the it was requesting at a rate of up to 20 urls a second, from multiple AWS IPs - and every other request was for robots.txt. You'd think it would take the hint after a million times of asking.

Googling that UA turns up that other PhpBB users have encountered this quite recently - it seems to be fascinated by web forums and absolutely hammers them with the same behaviour I found.

So - clearly a broken and stupid bot, right? Rather than being specifically malicious. I think so, but I host these sites on a rural consumer line and it was affecting both system load and bandwidth.

What I did wrong:

  1. In docker, I tried quite a few things to block the user agent, the country (US based AWS, and this is a UK regional site), various IPs. It took me far too long to realise why my changes to .htaccess were failing - the phpbb docker image I use mounts the root directory to the website internally, ignoring my mounted vol. (My own fault, it was too long since I set it up to remember only certain sub-dirs were mounted in)

  2. Figuring that out, I shelled into the container and edited that .htaccess, but wouldn't have survived restarting/rebuilding the container so wasn't a real solution.

Whilst I was in there, I created a robots.txt file. Not surprisingly, claudebot doesn't actually honour whats in there, and still continues to request it ten times a second.

  1. Thinking there must be another way, I switched to Haproxy. This was much easier - the documentation is very good. And it actually worked - blocking by Useragent (and yep, I'm lucky this wasn't changing) worked perfectly.

I then had to leave for a while and the graphs show it's working. (Yellow above the line is requests coming into haproxy, below the line are responses).

Great - except I'm still seeing half of the traffic, and that's affecting my latency. (Some of you might doubt this, and I can tell you that you're spoiled by an excess of bandwidth...)

  1. That's when the penny dropped and the obvious occured. I use cloudflare, so use their firewall, right? No excuses - I should have gone there first. In fact, I did, but I got distracted by the many options and focused on their bot fighting tools, which didn't work for me. (This bot is somehow getting through the captcha challenge even when bot fight mode is enabled)

But, their firewall has an option for user agent. The actual fix was simply to add this in WAF for that domain.

And voila - no more traffic through the tunnel for this very rude and stupid bot.

After 24 hours, Cloudflare has blocked almost a quarter of a million requests by claudebot to my little phpbb forum which barely gets a single post every three months.

Moral for myself: Stand back and think for a minute before rushing in and trying to fix something in the wrong way. I've also taken this as an opportunity to improve haproxy's rate limiting internally. Like most website hosts, most of my traffic is outbound, and slowing things down when it gets busy really does help.

This obviously isn't a perfect solution - all claudebot has to do is change its UA, and by coming from AWS it's pretty hard to block otherwise. One hopes it isn't truly malicious. It would be quite a lot more work to integrate Fail2ban for more bots, but it might yet come to that.

Also, if you write any kind of web bot, please consider that not everyone who hosts a website has a lot of bandwidth, and at least have enough pride to write software good enough to not keep doing the same thing every second. And, y'know, keep an eye on what your stuff is doing out on the internet - not least for your own benefit. Hopefully AWS really shaft claudebot's owners with some big bandwidth charges...

EDIT: It came back the next day with a new UA, and an email address linking it to anthropic.com - the Claude3 AI bot, so it looks like a particularly badly written scraper for AI learning.

view more: next ›

digdilem

0 post score
0 comment score
joined 2 years ago