From a60d4d72096b607d073b30dbb2ab466fd4c25117 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 21 Apr 2017 11:25:46 +0200 Subject: [PATCH] Update ips --- blacklist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blacklist b/blacklist index a31beee..ec10c88 100755 --- a/blacklist +++ b/blacklist @@ -10,7 +10,7 @@ my %ip4s = (); my %ip6s = (); my @blrule4s = (); my @blrule6s = (); -my $whitelist = qr/^(?:127.|85.68.182.45|195.25.233.49|94.23.226.160|::1|2001:41d0:2:65a0:)/; +my $whitelist = qr/^(?:127.|5.9.143.173|85.68.182.45|195.25.233.49|::1|2a01:4f8:190:22a6:)/; my @userlist = ('rapsys'); # Extract sshd.service scan @@ -42,8 +42,8 @@ open (my $fh, '<', '/etc/shorewall/blrules') or die "Can't open < /etc/shorewall @blrule4s = map { chomp($_); if (/^#/) { $_; } else { (); } } <$fh>; # Prepend header +push @blrule4s, "WHITELIST\tnet:5.9.143.173\tall"; push @blrule4s, "WHITELIST\tnet:85.68.182.45\tall"; -push @blrule4s, "WHITELIST\tnet:94.23.226.160\tall"; push @blrule4s, "WHITELIST\tnet:195.25.233.49\tall"; # Build blacklist -- 2.41.1