21
submitted 2 years ago* (last edited 2 years ago) by peregus@lemmy.world to c/selfhosted@lemmy.world

Every time I try to access this community, ther's some kind of problem with the server. If you have a look at the status page, it's almost all orange/red. The problem aren't DDoS attack since the server is behind Cloudflare protection. Admin/mods, why don't you move this community to a different ~~server~~ instance? I'm not accusing anybody, I know that maintain a server can be a challenging sometimes, I just want to enjoy this community!

Please!

@Loki

all 41 comments
sorted by: hot top controversial new old
[-] static09@lemmy.world 50 points 2 years ago

ADMIN, isn't it time to move from lemmy.world?

They said, from their lemmy.world account.

[-] eager_eagle@lemmy.world 7 points 2 years ago

just a user of an instance saying things about that instance - I would find the opposite weird.

[-] peregus@lemmy.world 7 points 2 years ago

What's wrong with that? I've started here some months ago and I mainly follow this community.

[-] DrJenkem@lemmy.blugatch.tube 19 points 2 years ago

The problem is it's the largest and is being attacked. Use a different instance and you'll have no problem accessing this community. If it weren't for people posting about the outages, I'd never even know.

[-] Mubelotix@jlai.lu 4 points 2 years ago

This community is on lemmy.world so yes, there would be problems

[-] ninjan@lemmy.mildgrim.com 6 points 2 years ago

I honestly haven't noticed. For me to see the posts they simply need to get pushed, which is pretty lightweight. And if Lemmy.world crashes after and stays down for a few hours it won't impact my ability to view the post. For a lemmy.world user the instance needs to be up for them to view any content.

[-] DrJenkem@lemmy.blugatch.tube 2 points 2 years ago

In a way yes, when I post a comment, no one else will be able to see it while the site is down. But it eventually will go through when the site is up. And because I'm browsing from a different instance, I can see all the content even if lemmy.world is offline.

[-] rhokwar@lemmy.world 30 points 2 years ago
[-] peregus@lemmy.world 6 points 2 years ago

But isn't Cloudflare supposed to block those attacks?

[-] xebix@lemmy.srv0.lol 7 points 2 years ago

They explained that the attacks are in the form of requests that tax the database server, not the website itself.

[-] peregus@lemmy.world 1 points 2 years ago

The database can't be accessed directly, all the requests needs to be done from the website or API.

[-] xebix@lemmy.srv0.lol 8 points 2 years ago

Right, but it’s possible to execute those API requests to trigger those expensive database requests in a way that wouldn’t necessarily trigger cloudflare’s DDoS protection.

[-] gabriele97@lemmy.g97.top 6 points 2 years ago

Yep Cloudflare protects against classic DDoS (like many clients doing a lot of small requests). Here attacks are performed presumibly by users that know very well how the Lemmy's backend works and where bottlenecks are, so that with a small number of well made requests they are able to mess up the backend and Cloudflare doesn't notice it

[-] dditty@lemmy.world 4 points 2 years ago

Cloudflare DDos protection isn't a silver bullet; the attacks are distributed and come from shifting source IPs, and are sophisticated in that they exploit resource intensive queries specifically designed to overload a Lemmy instance. If lemmy.world were to pivot to some other instance, who's to say the culprits wouldn't just resume their efforts pointed at the new location? There are theories these may be carried out by the recently-defederated fringe hate communities

[-] habitualTartare@lemmy.world 3 points 2 years ago

Cloudflare has DDoS protection but it can't stop everything 100% of the time. According to the admins, the attackers are very familiar with how lemmy works and are using this knowledge to overwhelm resources. This isn't just a simple script kiddy or bonnet for hire but likely points to someone that has worked within the lemmy community.

https://www.cloudflare.com/learning/ddos/what-is-a-ddos-attack/

https://www.cloudflare.com/learning/ddos/glossary/web-application-firewall-waf/

[-] pankkake@lemmy.world 3 points 2 years ago

From what I understand, Cloudflare can block some DDoS attacks, but not all of them.

The attacks on Lemmy have to do with poorly optimized SQL requests; these are requests that shouldn't take long to execute, but do due to some oversight. By spamming these requests, the attackers can bring Lemmy on it's knees.

Actually, wouldn't this attack better be categorized as a DoS attack ? What's so distributed about it ?

[-] FARTYSHARTBLAST@kbin.social 1 points 2 years ago* (last edited 2 years ago)

It can help, but is not perfect. There's kind of been an arms race between services like Cloudflare and script kiddies/hackers DDOSing: Their methods became a little more sophisticated to the point that they keep the traffic shifting from address to address so it's harder to track/block.

They'll do other things to mess with the host too like spamming "white noise" pictures to fill up server storage space, so while DDOS attacks play a role, there are other issues at play on top of that.

For what it's worth, I've been using Kbin.social and sh.itjust.works as well and they have also had some issues here and there. No host will be perfect and invulnerable from every attack, and when an instance becomes more popular, it becomes increasingly likely to be targeted by attackers.

[-] sneezycat@sopuli.xyz 15 points 2 years ago

Ironic. They could self-host for others, but they couldn't self-host themselves.

[-] greybeard@lemmy.one 7 points 2 years ago

There's a difference between self hosting and running a public service. There's a lot more overhead running a pubic service.

[-] peregus@lemmy.world 4 points 2 years ago* (last edited 2 years ago)

What's wrong with that? I've started here some months ago and I mainly follow this community and I don't blame anyone.

[-] droolio@feddit.uk 10 points 2 years ago

Well your account is on lemmy.world so how d'ya know the issue isn't with your own access to the front end?

Many don't interact with the lemmy.world directly, so we might only see delays in post propogation (if there is such an issue on the backend - I don't see any but could be wrong).

I agree picking the biggest instances isn't great from a scaling perspective, but s'gonna be hard to move any community once established.

[-] fireshaper@social.belowland.com 7 points 2 years ago
[-] boyi@lemmy.sdf.org 4 points 2 years ago* (last edited 2 years ago)

The problem is not the server. One of the reasons is because lemmy world is being DDoS attacked by certain party with grudges. Because lemmy is not used to this kind of attack, which is made difficult by way it is designed and open source nature where the attacker can easily uncover vulnerabilities, it took some times and learning to mitigate them. You can open new account in other instances or move if that's too much inconvenience for you. No one is stopping you.

[-] johannes@lemmy.jhjacobs.nl 3 points 2 years ago

Have you donated money so they can?

Another server (and i assume you mean one with better specs) means more money. Its not just challenging, its also costly.

Alternative you could setup your own lemmy instance, you can still join the community’s on lemmy.world or lemmy.ml or whereever :) and its fun to do.

[-] peregus@lemmy.world 2 points 2 years ago

I mean to a different instance, not the same instance to a new server. The title was clear, I'be edited the comment to avoid misinterpretation.

[-] johannes@lemmy.jhjacobs.nl 1 points 2 years ago

Its a shame Lemmy doesnt allow us to migrate our profiles (yet) like Mastodon for instance. But i have good hopes this will come in the future, so you can move to a different (better, depending on your definition) server easily :) We’ll just have to wait a while i guess :)

[-] PeachMan@lemmy.one 2 points 2 years ago

What makes you think other servers aren't having similar problems?

(spoiler alert: they all are, lemmy is an immature platform)

[-] krayj@sh.itjust.works 2 points 2 years ago* (last edited 2 years ago)

By claiming that the problem isn't DDOS, you're just advertising your ignorance. Cloudflair is outstanding for protecting static web content against DDOS, and Lemmy.world is well protected against that. The problem is certain dynamic pages and api calls that can only be rendered from costly realtime dynamic database operations...those are the url that the DDOS attackers are focusing on and those are the kinds of content that cannot be easily protected by cloudflair.

Your premise, though, is still accidently correct. The way to mitigate instances being targeted by DDOS is to spread the user base and community hosting across a vast number of instances so that no one instance is such a rewarding target for DDOS attack.

[-] peregus@lemmy.world 2 points 2 years ago

You're right about my ignorance about Lemmy, I'm a user on this federated ...thing and I know nothing ahout the Lemmy server. Being in a selfhosted community your answer is what I was expecting (maybe with less attack). The API are used only by the federated instance or also by the smartphone apps? For what I see, it seems to be the former, and, if it really is so, the API calls could be allowed only by those server and blocked from everyone else, Cloidflare WAF can do this. I know that the servers are a lot, but it could be possible to insert in the WAF all the IPs of the federated instances. ...or not?

[-] andreluis034@lm.put.tf 1 points 2 years ago

I think the admin of c/selfhosted is the admin of Lemmy.world

[-] solberg 1 points 2 years ago

Is it possible to migrate a community from one instance to another?

[-] krayj@sh.itjust.works 1 points 2 years ago

No, not programmatically. The only way to 'move' an instance is for a community of users to create a new community elsewhere and arbitrarily start using it as their preferred community. There is no way to force it and there is no mechanic for moving.

this post was submitted on 12 Aug 2023
21 points (100.0% liked)

Selfhosted

46479 readers
313 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS