X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Fmanifests%2Finit.pp;h=9f1c7f908faee7a6a6a200863eaae1d693f390ea;hb=206524a32e769b40cd66b33b5468d3a64a9b5b4a;hp=1ce12c90778934317edbd658c143f627864a8575;hpb=c4e1f7da82af189fe739c4c28ba78cc2d200a425;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/manifests/init.pp b/modules/named/manifests/init.pp index 1ce12c907..9f1c7f908 100644 --- a/modules/named/manifests/init.pp +++ b/modules/named/manifests/init.pp @@ -16,7 +16,13 @@ class named { ensure => running, } - @ferm::rule { 'dsa-bind': + @ferm::rule { '00-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 { '01-dsa-bind': domain => '(ip ip6)', description => 'Allow nameserver access', rule => '&TCP_UDP_SERVICE(53)'