Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/fail2ban/examples/ |
Upload File : |
#! /bin/sh # # ZZZzzz|fail2ban.rul # # Ultima modifica: 20060112 <Nauta@G-B.it> Creazione # Ultima modifica: 20071205 <Nauta@G-B.it> Verifica sia in esecuzione # # Riconfigura le regole di filtraggio relative a fail2ban alla fine # dell'inizializzazione delle regole. # Solo all'avvio del sistema mostra la (ri)esecuzione dello script _NAME=fail2ban _INITSCRIPT=/etc/init.d/$_NAME _CONFIG="/etc/$_NAME/$_NAME.local /etc/$_NAME/$_NAME.conf" if [ -s $_INITSCRIPT ]; then SOCKFILE=`sed -n -e '/^[^#]*socket\s*=/{ s/.*socket\s*=\s*\(\S\+\).*/\1/p;q}' $_CONFIG 2>/dev/null` [ -z "$SOCKFILE" ] && SOCKFILE="/tmp/$_NAME.sock" if [ -S "$SOCKFILE" ]; then # Is daemon running ? if [ "$SHOWRULES" = "yes" ]; then echo "#: Reinitializing $_NAME" echo $_INITSCRIPT force-reload else [ ! $runlevel ] && HIDEOUTPUT=true fi if [ "$NOACT" != "yes" ]; then eval $_INITSCRIPT force-reload ${HIDEOUTPUT:+\>/dev/null 2\>&1} fi fi # SOCKFILE is a socket fi # _INITSCRIPT exist