yum install fail2ban
/etc/fail2ban/jail.conf
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
/etc/fail2ban/jail.conf
原本 security = share 的設定已經不能使用了
會噴出一堆 Ignoring invalid value 'share' for parameter 'security' 的log
最簡單的方式是
security = user map to guest = Bad User