EasyOne

About EasyOne Phalanx™

What is this?

EasyOne Phalanx™ is a mechanism that uses a proof of work mechanism to prevent abnormal traffic.
It mitigates DDoS traffic primarily by exploiting the difference in computation between the server and the client.
Inspired by RuiSiang/PoW-Shield

How does it work?

EasyOne Phalanx™ works in the following way:

1. The client sends a request to the server.
2. The server converts the client's ip address and randomly generated prefix into a json web token (jwt) format and signs it with a short expiration date.
3. The client receives the jwt and prefix and performs a computation on its browser to find the nonce corresponding to the prefix.
4. The server receives the nonce and jwt, checks the signature on the jwt, verifies the validity of the nonce, and approves the client.

Finding the nonce requires several seconds of computation, but checking the nonce is instantaneous.

Is this useful?

Idk.

This is a project I created to understand the concept of proof of works and the concept of json web token.
It is not meant to be anything more than that.