views:

138

answers:

6

Not that I need it, but it was interesting to hear someone speak about their server and protecting it from DOS attack by having a puzzle that the client must solve before the server will do anything (it doesnt do allocations or make a session unless solved).

The person also said puzzles can be made to take a quick amount of time or long. And they are easy to check for correct solutions but difficult to solve.

What are these puzzles? I never heard of one. Can someone give an example (or a link)?

+1  A: 

The P-NP description here is a pretty straightforward example of what you described as "easy to check if it is solve correctly but difficult to solve".

mwilson
A: 

Jeff has a pretty decent blog post about this.

tzaman
sorry i didnt like the blog post.
acidzombie24
+1  A: 

This paper suggests using puzzles as a defense against denial of service attacks:

The puzzle they used was reversing a one-way hash function like MD5. By varying the size of the number to be hashed, they can control how hard it is to do a brute force search to find the original number.

mathmike
A: 

Finding roots of nonlinear equations. It is very easy to check and takes some time to find.

Kirill V. Lyadvinsky
A: 

graph isomorphisms are another interesting one. You can generate an isomorphism from an original graph easily, package it up with other graphs which aren't isomorphic, and ask the user to identify the isomorphism.

tbischel
+1  A: 

Okey, let me tell you the story, Researchers start thinking about What are solutions for the DOS and DDOS attacks ?

after that they find 3 ways for the solution:

  • Prevention, preemption
  • Filtering and Mitigating
  • Tracing and Identification

And after this categorization they start on developing some usefil protocols. So the puzzle is in mitigating DOS or DDOS attacks. How it works? if a server has a doubt about any kind of DDOS or DOS attacks, they send puzzles to the clients (which are mostly Bots/zombies).This puzzles need calculations to understand whether it is human being or any compromised computer used as a bot.

if server understand and sure about the bots, it can send complex puzzles to make the sources work in load as an countermeasure for the attacks.

The captcha is whether in prevention category. Do not confuse about it.

you can read this paper Mitigating Denial of Service Attacks with Password Puzzles

berkay

related questions