Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
ddos.js
readme.md

readme.md

Installation

  • download and copy ddos.js into the /modules/ directory or create a definition with:
var options = {};

// Maximum requests for IP
// options.maximum = 1000;

// Ban timeout
// options.minutes = 5;

INSTALL('module', 'https://modules.totaljs.com/latest/ddos.js', options);
// UNINSTALL('module', 'ddos');

Instance

var ddos = MODULE('ddos');

## Additional features

Reset all bans: ddos.reset()