]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
NOTRACK for bind traffic
authorStephen Gran <steve@lobefin.net>
Mon, 21 Jan 2013 11:16:18 +0000 (11:16 +0000)
committerStephen Gran <steve@lobefin.net>
Mon, 21 Jan 2013 11:16:34 +0000 (11:16 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/named/manifests/init.pp

index 28a666b5a1b5ce2f78f467de98f09adc478fda64..83647911b5d671358e2eb1e8787c9fa679ad2701 100644 (file)
@@ -16,6 +16,14 @@ class named {
                rule        => '&TCP_UDP_SERVICE(53)'
        }
 
+       @ferm::rule { 'dsa-bind-notrack':
+               domain      => '(ip ip6)',
+               description => 'NOTRACK for nameserver traffic',
+               table       => 'raw',
+               chain       => 'PREROUTING',
+               rule        => 'proto (tcp udp) dport 53 jump NOTRACK'
+       }
+
        file { '/var/log/bind9':
                ensure => directory,
                owner  => bind,