/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed May 15 04:00:41 2019 UTC (5 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-4_el6_sme, smeserver-fail2ban-0_1_18-6_el6_sme, smeserver-fail2ban-0_1_18-5_el6_sme, smeserver-fail2ban-0_1_18-7_el6_sme, smeserver-fail2ban-0_1_18-9_el6_sme, smeserver-fail2ban-0_1_18-8_el6_sme, smeserver-fail2ban-0_1_18-10_el6_sme, HEAD
Error occurred while calculating annotation data.
* Tue May 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-4.sme
- fix missing sfail2ban exec [SME: 10775]
- Apply locals

1 diff -Nur smeserver-fail2ban-0.1.18.old/root/usr/bin/sfail2ban smeserver-fail2ban-0.1.18/root/usr/bin/sfail2ban
2 --- smeserver-fail2ban-0.1.18.old/root/usr/bin/sfail2ban 1969-12-31 19:00:00.000000000 -0500
3 +++ smeserver-fail2ban-0.1.18/root/usr/bin/sfail2ban 2019-05-14 23:56:29.540000000 -0400
4 @@ -0,0 +1,6 @@
5 +#!/bin/bash
6 +for SERVI in $(fail2ban-client status|grep 'Jail list'|cut -d':' -f2|sed 's/, / /g'| sed -e 's/^[ \t]*//')
7 +do
8 +fail2ban-client status $SERVI |grep -E 'IP list|Status for the jail'|sed 'N;s/\n/:/'|cut -d: -f2,4
9 +done
10 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed