mirror of
https://github.com/webmin/webmin.git
synced 2026-06-23 04:20:32 +01:00
Unless firewalld restart Fail2ban bans break and fail to work
This commit is contained in:
@@ -230,8 +230,9 @@ return ($w{'port'}, $w{'proto'}, $w{'toport'}, $w{'toaddr'});
|
||||
# Make the current saved config active
|
||||
sub apply_firewalld
|
||||
{
|
||||
my $out = &backquote_logged("$config{'firewall_cmd'} --reload 2>&1");
|
||||
return $? ? $out : undef;
|
||||
&foreign_require("init");
|
||||
my ($ok, $err) = &init::restart_action($config{'init_name'});
|
||||
return $ok ? undef : $err;
|
||||
}
|
||||
|
||||
# stop_firewalld()
|
||||
|
||||
Reference in New Issue
Block a user