Drop traffic from 220.243.135/24 220.243.136/24 on bugs.d.o
authorJulien Cristau <jcristau@debian.org>
Wed, 3 Apr 2019 13:17:22 +0000 (15:17 +0200)
committerJulien Cristau <jcristau@debian.org>
Wed, 3 Apr 2019 13:17:22 +0000 (15:17 +0200)
modules/roles/manifests/init.pp

index 22f9af6..fbd564b 100644 (file)
@@ -39,6 +39,10 @@ class roles {
                        notify  => Exec['service apache2 reload'],
                        key => true,
                }
+               @ferm::rule { 'dsa-bugs-abusers':
+                       prio    => "005",
+                       rule    => "saddr (220.243.135/24 220.243.136/24) DROP",
+               }
        }
        if has_role('bugs_master') {
                ssl::service { 'bugs-devel.debian.org': notify  => Exec['service apache2 reload'], key => true, }