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:
c6f2fb3
)
snapshot - drop traffic from 61.69.254.110
author
Peter Palfrader
<peter@palfrader.org>
Thu, 5 Jul 2018 11:09:42 +0000
(13:09 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 5 Jul 2018 11:22:07 +0000
(13:22 +0200)
modules/roles/manifests/snapshot_web.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/snapshot_web.pp
b/modules/roles/manifests/snapshot_web.pp
index
b4d6703
..
6a6414f
100644
(file)
--- a/
modules/roles/manifests/snapshot_web.pp
+++ b/
modules/roles/manifests/snapshot_web.pp
@@
-2,6
+2,13
@@
class roles::snapshot_web {
include apache2
include apache2::rewrite
+ # snapshot abusers
+ # 61.69.254.110 - 20180705, mirroring with wget
+ @ferm::rule { 'dsa-nat-snapshot-varnish-v4':
+ prio => "000",
+ rule => "saddr (61.69.254.110) DROP",
+ }
+
ensure_packages ( [
"libapache2-mod-wsgi",
], {