Subversion Repositories ALCASAR

Rev

Rev 2521 | Rev 2668 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2521 Rev 2530
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-iptables.sh 2521 2018-04-02 19:46:16Z armand.ito $
2
# $Id: alcasar-iptables.sh 2530 2018-04-20 14:21:35Z lucas.echard $
3
# Script de mise en place des regles du parefeu d'Alcasar (mode normal)
3
# Script de mise en place des regles du parefeu d'Alcasar (mode normal)
4
# This script writes the netfilter rules for ALCASAR
4
# This script writes the netfilter rules for ALCASAR
5
# Rexy - 3abtux - CPN
5
# Rexy - 3abtux - CPN
6
#
6
#
7
# Reminders
7
# Reminders
Line 494... Line 494...
494
 
494
 
495
#############################
495
#############################
496
#          FAIL2BAN         #
496
#          FAIL2BAN         #
497
#############################
497
#############################
498
# Reload Fail2Ban
498
# Reload Fail2Ban
-
 
499
if systemctl -q is-active fail2ban; then
499
/usr/bin/fail2ban-client ping &>/dev/null && /usr/bin/fail2ban-client -q reload
500
	/usr/bin/fail2ban-client ping &>/dev/null && /usr/bin/fail2ban-client -q reload
-
 
501
fi