https://bugs.koozali.org/show_bug.cgi?id=12453
Jesper Holck <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Jesper Holck <[email protected]> ---
diff -U3 /etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP
/etc/e-smith/templates-custom/etc/fail2ban/jail.conf/05IgnoreIP
--- /etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP 2022-07-30
05:36:26.000000000 +0200
+++ /etc/e-smith/templates-custom/etc/fail2ban/jail.conf/05IgnoreIP
2024-03-01 21:06:51.061933970 +0100
@@ -28,6 +28,7 @@
# Add a local whitelist
foreach (split /[,;]/, ($fail2ban{'IgnoreIP'} || '')){
my $addr = $_;
+ next unless (length $addr);
$addr .= '/32' unless ($addr =~ m/\/\d{1,2}$/);
my ($ip,$bits) = Net::IPv4Addr::ipv4_parse("$addr");
push @ip, "$ip/$bits";
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/