Skip to content

Instantly share code, notes, and snippets.

@WengerK
Last active June 22, 2018 07:32
Show Gist options
  • Save WengerK/3bd15f9f9868d3d96a1d73fb115ae076 to your computer and use it in GitHub Desktop.
Save WengerK/3bd15f9f9868d3d96a1d73fb115ae076 to your computer and use it in GitHub Desktop.
Article Ressources - Flood Control protection in Drupal 8

Article Ressources - Flood Control protection in Drupal 8

This is the Gist repository for my article Flood Control protection in Drupal 8.

Be aware that this article has been wrote for the Blog of Antistatique — Web Agency in Lausanne, Switzerland. A place where I work as Full Stack Web Developer.

Feel free to read it the full article on Medium or check it out on Antistatique.

Content of this Gist :

  • settings.php : Settings overriden manually to tweak the Flood Control
// Number of failur before activating the IP flood prevention.
$config['user.flood']['ip_limit'] = 50;
// Number of seconds before an IP is blocked by flood prevention.
$config['user.flood']['ip_window'] = 3600;
// Number of failur before activating the per-User flood prevention.
$config['user.flood']['user_limit'] = 2;
// Number of seconds before a User is blocked by flood prevention.
$config['user.flood']['user_window'] = 120;
Type 3 caractères 6 caractères 9 caractères
lettres minuscules 17 576 308 915 776 5,4 × 10^12
lettres minuscules et chiffres 46 656 2 176 782 336 1,0 × 10^14
minuscules, majuscules et chiffres 238 328 5,6 × 10^10 1,3 × 10^16
minuscules, majuscules, chiffres & caractères spéciaux 6,98 × 10^13 7,35 × 10^11 6,30 × 10^17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment