2024-04-21 07:45:51 +02:00
|
|
|
if [ $BANUNBAN = "fail2ban" ]; then
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "Fail2Ban Mystic integration" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "A Fail2ban Systemd service override has been installed so tha the unprivileged user mystic can add and remove " >> ${DBP_INFO}
|
|
|
|
echo "IP's to the fail2ban system" >> ${DBP_INFO}
|
2024-05-11 08:46:10 +02:00
|
|
|
echo "to activate the fail2ban integration you will have to enable it in the ${MYSTIC_DIR}/dbp.ini file" >> ${DBP_INFO}
|
2024-04-21 07:45:51 +02:00
|
|
|
echo " for this to work correctly you wil have to change the firewall Line in the Event Editor to the suggested" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "==============================================================================================================" >> ${DBP_INFO}
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $BANUNBAN = "ipban" ]; then
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "" >> ${DBP_INFO}
|
|
|
|
echo "==============================================================================================================" >> ${DBP_INFO}
|
|
|
|
fi
|