this post was submitted on 04 Aug 2023
2 points (60.0% liked)

Cloud Security

699 readers
1 users here now

Preventing storms.

Rules

  1. Be excellent to each other!
  2. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
  3. No vendor spam. Zero tolerance for content marketing.

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.dbzer0.com/post/1491194

I would love if just once an admin of a fedi host under DDoS attack would have the integrity to say:

“We are under attack. But we will not surrender to Cloudflare & let that privacy-abusing tech giant get a front-row view of all your traffic while centralizing our decentralized community. We apologize for the downtime while we work on solving this problem in a way that uncompromisingly respects your privacy and does not harm your own security more than the attack itself.”

This is inspired by the recent move of #LemmyWorld joining Cloudflare’s walled garden to thwart a DDoS atk.

So of course the natural order of this thread is to discuss various Cloudflare-free solutions. Such as:

  1. Establish an onion site & redirect all Tor traffic toward the onion site. 1.1. Suggest that users try the onion site when the clearnet is down— and use it as an opportunity to give much needed growth to the Tor network.
  2. Establish 3+ clearnet hosts evenly spaced geographically on VPSs. 2.1. Configure DNS to load-balance the clearnet traffic.
  3. Set up tar-pitting to affect dodgy-appearing traffic. (yes I am doing some serious hand-waving here on this one… someone plz pin down the details of how to do this)
  4. You already know the IPs your users use (per fedi protocols), so why not use that info to configure the firewall during attacks? (can this be done without extra logging, just using pre-existing metadata?)
  5. Disable all avatar & graphics. Make the site text-only when a load threshold is exceeded. Graphic images are what accounts for all the heavy-lifting and they are the least important content. (do fedi servers tend to support this or is hacking needed?)
  6. Temporarily defederate from all nodes to focus just on local users being able to access local content. (not sure if this makes sense)
  7. Take the web client offline and direct users to use a 3rd party app during attacks, assuming this significantly lightens the workload.
  8. Find another non-Cloudflared fedi instance that has a smaller population than your own node but which has the resources for growth, open registration, similar philosophies, and suggest to your users that they migrate to it. Most fedi admins have figured out how to operate without Cloudflare, so promote them.

^ This numbering does /not/ imply a sequence of steps. It’s just to give references to use in replies. Not all these moves are necessarily taken together.

What other incident response actions do not depend on Cloudflare?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

People are seriously confusing the fact that Lemmy being open source means all the admins are privacy evangelists that are going to do everything they can to protect privacy. That’s absolutely not the case. Pick and choose your instances based on those measures but you are going to be hard pressed to find many, if any, who are going to offer anything close to perfect privacy due to the huge overhead involved.

I’m not going to engage every point here but on #3, mitigating a DDOS is not just simply closing down firewall ports. As a matter of fact without a distributed IP space for you’re more than likely going to assist the attack by shutting out your own users. You need methods to absorb and deflect that traffic. That’s a lot of infrastructure that is NOT available to last typical VPS.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

People are seriously confusing the fact that Lemmy being open source means all the admins are privacy evangelists that are going to do everything they can to protect privacy.

It’s not just a privacy problem. #Cloudflare is:

  • anti- #privacy
  • anti- #netneutrality
  • anti-software freedom
  • anti-bot (incl. beneficial bots)
  • detrimental to democracy (petitions & voter reg. access made exclusive)
  • pro- #CAPTCHA (thus insensitive to impaired people)
  • pro- #centralization
  • pro-censorship

Pick and choose your instances based on those measures but you are going to be hard pressed to find many,

Pick an instance that’s aligned with the list above, and you would be hard-pressed to find one. Esp. w.r.t. centralization. The core mission of fedi servers is to support a #decentralized paradigm.

who are going to offer anything close to perfect privacy

When Cloudflare is involved, we are waaay beyond talking about “perfection”. Privacy is 100% in the shitter at that point.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

It’s not a matter of finding instances that are on board with those things so much as You’ll be hard pressed to find an instance that cares either way.

While I’m a huge advocate on many of these topics the correct answer is still select your instance based on your criteria. Your evangelism is wasted on 99% of the populace.