You should make your changes to /etc/fail2ban/jail.local. This keeps package updates from clobbering your changes. Read the documentation.
One can only guess at your configuration unless you provide the jail instance, filter config, and action config you are using for this. Bill On 10/16/2015 5:07 AM, Noel da Costa wrote: > I should add that the place I added the ignoreip address to was > /etc/fail2ban/jail.conf > > > >> On 16 Oct 2015, at 10:46 AM, Noel da Costa <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi, >> >> fail2ban is blocking one of my servers even though I've added it to the >> ignoreip list and restarted the fail2ban service. >> >> I’m not sure if this is expected behaviour but fail2ban only logs the first >> blockage. When I try to connect again from that >> server nothing gets logged. The server trying to connect gets the error: >> >> [0] => ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused >> [1] => fatal: The remote end hung up unexpectedly >> If I reboot the server it works for a while. It also seems to be a bit >> flaky. It reports that I’m logging in with the >> incorrect password even though the password should actually not be required >> because I’m logging in using ssh keys. >> >> All of this is happening via scripts that are executed from my web server. >> It seems to work fine on some vhosts but not on others. >> >> Very confused. >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Fail2ban-users mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Fail2ban-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > ------------------------------------------------------------------------------ _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
