ubuntu 20.04 freeswitch 1.10.5 fail2ban 0.11.1 https://github.com/fail2ban/fail2ban 1,先要让恶意访问的警告内容写入freeswitch的日志 修改 /usr/local/freeswitch/conf/sip_profiles/internal.xml <param name="log-auth-failures" value="true"/> 修改 /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml <param name="threaded-system-exec" value="true"/> 改好以后保存,然后重启 freeswitch 或者 reloadxml 2,安装fai