News for hackers. Stuff that matters.
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.