Hello, I am currently running Fedora 27 linux, and have noticed that when I start fail2ban the relevant chains are not added to iptables. This used to work fine with Fedora 26 (and before). I only have one jail configured, the provided 'sshd' jail.
If I remotely access to the ssh port (with an invalid userid), then I can see the attempts being made via journalctl, and upon 5 attempts the chain is then added (and the IP address blocked). I have disabled the use of firewalld completely, so nothing should be interfering with iptables other than fail2ban. The problem is that one of our regular server checks is to check the iptables output (iptables -nL) and look for the 'f2b-' chain(s). If the chain is not present then a message is issued to the sysadmin saying that iptables is running but fail2ban is not. The servers are running fail2ban 0.9.7, and the chains are added when fail2ban is started, so no problems for now. However, I run the same check on my Fedora PC, and get a regular notice that fail2ban is not running because the chain is not added to iptables despite restarting fail2ban. Anyone any thoughts about this? Fail2ban version is 0.10.0. Thanks, John. -- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK ________________________________ [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass> This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fail2ban-users mailing list Fail2ban-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fail2ban-users