An open API service indexing awesome lists of open source software.

https://github.com/blockstarter/bs-ddos

Blockstarter DDOS protection
https://github.com/blockstarter/bs-ddos

ddos ico protection

Last synced: 4 months ago
JSON representation

Blockstarter DDOS protection

Awesome Lists containing this project

README

          

Blockstarter's DDOS Protection

Install

```
npm i bs-ddos
```

Use

```Livescript

require! {
\express
\ddos
}

app = express!

app.use ddos { static: 1000, api: 1000, ban: 10 * 1000 }

app.listen 80

```

Params

* api - limit requests in ms for /api/... requests
* static - limit requests in ms for all other requests
* ban - ban user in ms when he was rejected 4 times