Re: faI2ban detecting and banning but nothing happens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/29/19 1:44 AM, Gary Stainburn wrote:
and the lines are still appearing.  Here is my jail.local. (I did also try directly editing jail.conf to update the port commands).


[exim]
port    = 0:65535


If that's all that's in jail.local, then the jail shouldn't be enabled.  They're off by default.  I'd suggest that you remove fail2ban completely.  Remove the packages, and then delete /etc/fail2ban, and start again.

When you're done, look at the output of "iptables -n -L INPUT_direct":

# iptables -n -L INPUT_direct
Chain INPUT_direct (1 references)
target     prot opt source               destination
REJECT     tcp  --  0.0.0.0/0            0.0.0.0/0 match-set fail2ban-sshd src reject-with icmp-port-unreachable


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux