News for hackers. Stuff that matters.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by kazinator on Friday September 10, 2021 @09:43PM (#28488751)
Another excellent point! A correct implementation of proof of work means that we can hand off some (relatively) cheaply generated cookie and then maintain no state in relation to that while the answer is being calculated on the other end.

This stateless principle is implemented in TCP SYN cookies for warding off SYN flood attacks, for instance.

Thank you, also.

Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by 10000truths on Saturday September 11, 2021 @03:47AM (#28490157)
An 8-byte timestamp is not a lot of state. You could have a million concurrent connections and use only 8 MB for a file descriptor -> timestamp lookup table. The TCP send/receive buffers will exhaust your system memory long before the timestamps do.