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:
fe1b4ba
)
add an anti-ddos rule
author
Martin Zobel-Helas
<zobel@debian.org>
Thu, 9 May 2013 19:23:17 +0000
(21:23 +0200)
committer
Martin Zobel-Helas
<zobel@debian.org>
Thu, 9 May 2013 19:23:17 +0000
(21:23 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/named/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/named/manifests/init.pp
b/modules/named/manifests/init.pp
index
1ce12c9
..
a2dde9d
100644
(file)
--- a/
modules/named/manifests/init.pp
+++ b/
modules/named/manifests/init.pp
@@
-16,6
+16,12
@@
class named {
ensure => running,
}
+ @ferm::rule { 'dsa-bind-no-ddos-any':
+ domain => '(ip ip6)',
+ description => 'Allow nameserver access',
+ rule => 'proto udp dport 53 mod string from 32 to 64 algo bm hex-string \'|0000ff0001|\' jump DROP'
+ }
+
@ferm::rule { 'dsa-bind':
domain => '(ip ip6)',
description => 'Allow nameserver access',