this post was submitted on 24 Aug 2023
166 points (98.8% liked)

Privacy

29798 readers
692 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS
 

A new DoS protection mechanism for Tor leveraging Proof-of-Work.

all 18 comments
sorted by: hot top controversial new old
[–] [email protected] 40 points 10 months ago

Man the comments section on the tor project blog are just as smooth brained as YouTube comments sections.

I kinda expected better of the average reader than commenting "hmm another captcha" 6 hours after they explicitly clarified this isn't visible to the user (which was also implicit in the whole 30ms time specified).

Like 10 points for reading the article but -30 for reading comprehension.

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

Huh, who wouldve thought this is how PoW would actually be used

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

At least it's only used when the server is getting stressed.

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

The creators, actually.

The concept was invented by Moni Naor and Cynthia Dwork in 1993 as a way to deter denial-of-service attacks and other service abuses such as spam on a network by requiring some work from a service requester.

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

This is a pretty excellent use case for PoW. I could see this being adopted by other DDoS services, server stacks, and eventually make its way into openwrt, pfsense etc.

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

This one, however, is built right into the protocol.

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

Sweet! This will help things like dread for sure.

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

The article is quite vague on how this is implemented. Does it require JS to be activated to work? That would be a big NO for anyone really looking into privacy, but could work for those who use TOR basically as a free VPN to escape stupid geoblocking rules.

And what will prevent DDOSers from just creating dummy requests without the intention to ever wanting to solve any PoWs? It will still allocate resources on the other side.

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

No, it's built into the protocol: think of it like as if every http request forces you to attach some tiny additional box containing the solution to a math puzzle.

The twist is that you want the math puzzle to be easy to create and verify, but hard to compute. The harder the puzzle you solve, the more you get prioritized by the service that sent you the puzzle.

If your puzzle is cheaper to create than hosting your service is, then it's much harder to ddos you since attackers get stuck at the puzzle, rather than getting to your expensive service

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

Ah, ok. that clarifies it.