1 |
diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo |
2 |
--- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo 2017-10-27 14:34:58.000000000 +0200 |
3 |
+++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo 2019-07-19 05:27:39.867424267 +0200 |
4 |
@@ -2,6 +2,7 @@ |
5 |
|
6 |
my $status = $sogod{'status'} || 'disabled'; |
7 |
my $f2b = $sogod{'Fail2Ban'} || 'enabled'; |
8 |
+return "\n#Sogo not available" unless ( -f "/var/log/sogo/sogo.log" ); |
9 |
return "" if (($status ne 'enabled') || ($f2b ne 'enabled')); |
10 |
my @ports = (); |
11 |
push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80'); |
12 |
diff -Nur smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm |
13 |
--- smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-07-19 05:16:09.830566001 +0200 |
14 |
+++ smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-07-19 05:26:47.372430806 +0200 |
15 |
@@ -38,7 +38,7 @@ |
16 |
"ftp" => 'enabled', |
17 |
"lemonldap" => 'enabled', |
18 |
"ejabberd" => 'enabled', |
19 |
- "sogod" => 'enabled', |
20 |
+ "sogod" => 'disabled', |
21 |
"wordpress" => 'disabled', |
22 |
|
23 |
) ; |