projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca3cf68
)
snapshot: allow 6 requests per minute even to clients that we think are excessive
author
Peter Palfrader
<peter@palfrader.org>
Fri, 1 Jun 2018 18:12:06 +0000
(20:12 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 1 Jun 2018 18:12:06 +0000
(20:12 +0200)
modules/apache2/manifests/dynamic.pp
patch
|
blob
|
history
diff --git
a/modules/apache2/manifests/dynamic.pp
b/modules/apache2/manifests/dynamic.pp
index
5df01a1
..
b39e559
100644
(file)
--- a/
modules/apache2/manifests/dynamic.pp
+++ b/
modules/apache2/manifests/dynamic.pp
@@
-60,6
+60,7
@@
class apache2::dynamic {
description => 'http subchain',
chain => 'http',
rule => '
+ mod hashlimit hashlimit-name HTTPDOSPRE hashlimit-mode srcip hashlimit-burst 10 hashlimit 6/minute jump ACCEPT;
mod recent name HTTPDOS update seconds 900 jump log_or_drop;
mod hashlimit hashlimit-name HTTPDOS hashlimit-mode srcip hashlimit-burst 200 hashlimit 30/minute jump ACCEPT;
mod recent name HTTPDOS set jump log_or_drop'