News for hackers. Stuff that matters.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by AlexAndScripts on Friday September 10, 2021 @05:45PM (#28487245)
I actually much prefer this. Its only a small amount of CPU, negligible to your electricity bill, but it doesn't involve clicking every traffic light.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by EGreg on Friday September 10, 2021 @06:09PM (#28487465)
This is practically useless, since desktop computers doing some work can be easily eclipsed by a specialized hardware doing it for spammers and sybil attackers.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by sneak on Friday September 10, 2021 @05:59PM (#28487377)
It fails to be an automated test to tell computers and humans apart, as computers are more than capable of solving proofs of work without human intervention.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by jacoblambda on Friday September 10, 2021 @06:06PM (#28487439)
This is true but so are the existing captchas. Existing captchas are just harvesting training data for Google's self driving vehicles at this point.

With a PoW captcha, it doesn't matter how smart you make your algorithm, it's still going to be slow. With existing systems I'd argue it's probably a lot slower for people than for machines, especially since it's people guessing what a machine thinks people would classify an image as.

This is an easy solution for rate limiting low trust/high risk connections and better software isn't going to magically make it any faster. This has always been what captchas aim to accomplish.

Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by Pxtl on Friday September 10, 2021 @07:22PM (#28487963)
Because we're accepting failure on that front. Instead, it's providing rate-limiting.

Hell, charge me one penny per refresh and a dime per tweet and login attempt. Then let the bots run freely if they're willing to pay that rate.

Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by itake on Friday September 10, 2021 @06:57PM (#28487802)
I'd be curious how well this performs on an older mobile device vs new CPU.

Seems like this might exclude users lower-end electronics that might be low-income.

Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by forestjohnson on Friday September 10, 2021 @09:56PM (#28488816)
Hi, developer here, there is a table showing hashes per second on various devices at the bottom of the readme. My laptop (thinkpad t480s) = 70h/s, my phone (motorolla g7) = 12h/s. Its not so bad on the phone. The site owner can tweak the difficulty for whatever lowest common denominator they want.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by ReactiveJelly on Friday September 10, 2021 @07:25PM (#28487979)
If it automatically scales based on current traffic, that might not matter.

You can have it turn itself off during a normal "1 request per minute" day on a small blog and then crank up to "A new CPU needs 2 seconds" during a DDOS.

Use token bucket or leaky bucket or whatever so a few normal users clicking around for 10 minutes won't trigger it, but after a while the server runs out of patience if they keep making requests faster.