this post was submitted on 30 Apr 2024
189 points (100.0% liked)

Programming

19061 readers
125 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
all 22 comments
sorted by: hot top controversial new old
[–] [email protected] 114 points 10 months ago (1 children)

“By design” AWS bills project owners for unauthorized calls to the public S3 API.

So what I’m reading from this is you can do a billing attack on anything hosted in AWS so long as you know one of their bucket names.

[–] [email protected] 53 points 10 months ago

Seriously, now that this is more widely known, it'll for sure be taken advantage of a lot, to the point AWS will begrudgingly protect their customers once the damage is done.

[–] [email protected] 98 points 10 months ago* (last edited 10 months ago) (1 children)

You shouldn't be charged for unauthorized requests to your buckets. Currently if you know any person's bucket name, which is easily discoverable if you know what you're doing, that means you can maliciously rack up their bill just to hurt them financially by spamming it with anonymous requests.

[–] [email protected] 62 points 10 months ago (2 children)
[–] [email protected] 30 points 10 months ago

That’s a rare vintage

[–] [email protected] 54 points 10 months ago (1 children)

As it turns out, one of the popular open-source tools had a default configuration to store their backups in S3. And, as a placeholder for a bucket name, they used… the same name that I used for my bucket.

[–] [email protected] 34 points 10 months ago

It's completely insane that the tool would attempt to connect to a nonexistent bucket for backups by default instead of just... having them disabled completely?

[–] [email protected] 44 points 10 months ago (1 children)

Please use scribe.rip instead of medium.com for articles

https://nomedium.dev/

[–] [email protected] 8 points 10 months ago (2 children)

It's fine if you dislike a site. But the correct thing to do is not consume their content, not to work around it.

[–] [email protected] 41 points 10 months ago (1 children)

Medium is the journalistic version of the gig economy apps, mixed with a bit of digital landlording. The correct thing to do here is to bypass any of Mediums paywalls you might run in to.

[–] [email protected] 10 points 10 months ago (1 children)

This wasn't even paywalled, I just don't like Medium.

[–] [email protected] 7 points 10 months ago

I abhor medium, but run across it a little while researching cybersecurity shit. I had no idea scribe.rip existed, so thanks for the plug.

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

Or use a browser extension to implement your preferences rather than push them onto others in a way that makes it harder for them to implement theirs.

If an article links to medium.com my redirects kick in, my link flagging kicks in and everything else. If everyone uses some different service to "fix" medium I am stuck with what they like. There is valuable to keeping the canonical URL.

I would also love to see domain blocks as a user preference in Lemmy. Just hide these sites that I don't like.

[–] [email protected] 44 points 10 months ago

AWS was kind enough to cancel my S3 bill. However, they emphasized that this was done as an exception.

Dicks.

[–] [email protected] 21 points 10 months ago (1 children)

A great post, interesting and to the point.

[–] [email protected] 4 points 10 months ago

I woke up yesterday morning and felt a little bit hazy. My feet tingled a little and that was an indication of what was going to happen. My podometric senses were tingling! Hahaha, get it? So anyway, after having a light breakfast and sitting down in front of my desk to check my emails, one in particular stood out. Being in a hurry however, I left for work and....

Article written like this are reason for me to stop reading. So annoying. This article is a breath of fresh air.

Anti Commercial-AI license

[–] [email protected] 20 points 10 months ago* (last edited 10 months ago) (1 children)

Wow, makes one fearful to even use AWS. Yikes!

Definately required reading for those who use AWS.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

[–] [email protected] 3 points 10 months ago

Chilling with nothing but my homeserver here. Backed up to the NAS, mirrored to my grandparents house. No charges, no misconfigurations, just Arch testing being more stable than any commercial service I know lol