9

On the wikipedia page on TCP under Denial of Service the following paragraph is found:

By using a spoofed IP address and repeatedly sending purposely assembled SYN packets, attackers can cause the server to consume large amounts of resources keeping track of the bogus connections. This is known as a SYN flood attack. Proposed solutions to this problem include SYN cookies and cryptographic puzzles.

I am interested in learning more about cryptographic puzzles. I assume that it is some task the server can send back to the client before it will proceed with establishing the tcp connection. This task probably has the property that it takes a lot of resources to find the solution, but it is easy to check if a solution is valid (for the server.) Is this correct? (Kind of like what is proposed for spam-mitigation.)

Where can I read more about cryptographic puzzles? Googling the term does not return anything useful, neither are there any wikipedia pages with that name.

Are there any software libraries readily available for creating and solving these puzzles that I can use?

1 Answer 1

9

Your guess is head-on. Proof of Work may be a more useful search term: http://en.wikipedia.org/wiki/Proof-of-work_system

To my knowledge, there are mainly patent issues that prevent these systems from being used in modern Internet protocols like IPsec/IKE/SSL. I also heard from some researchers that in their practical evaluation, there was basically zero gain from deploying such protocols to prevent DoS on a typical key exchange protocol. But it could be that they had other scalability issues. Would be interesting to see some real-world evaluation.

4
  • Ah, Proof of Work is the search term I was looking for. :) Thanks a lot.
    – bjarkef
    Aug 10, 2012 at 11:13
  • See Bitcoin confirmations for another interesting implementation: en.wikipedia.org/wiki/Bitcoin#Confirmations @bjarkef
    – msanford
    Aug 27, 2012 at 14:28
  • 1
    @msanford: Thanks. Actually I have been looking into bitcoin quite a bit, but somehow I never made the connection that a bitcoin basically is a kind of proof-of-work unit/hashcash. Hashcash is actually quite simple, and really genius. :)
    – bjarkef
    Aug 29, 2012 at 12:32
  • The closest thing I could find to what you are asking for is Friendly CAPTCHA. Even though this is not exactly what you were asking for as it only targets non-targeting spam bots: friendlycaptcha.com
    – T. Salim
    Jan 14, 2021 at 0:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .