cat <<EOF >> /etc/fail2ban/jail.local[DEFAULT]ignoreip = 127.0.0.1bantime = 86400maxretry = 3findtime = 1800[ssh-iptables]enabled = truefilter = sshdaction = iptables[name=SSH, port=ssh, protocol=tcp]logpath = /var/log/securemaxretry = 5findtime = 3600bantime = 1EOF
相关推荐
lpruoyu19 小时前
【Android第一行代码学习笔记】Android架构_四大组件_权限_持久化_通知_异步_服务wdfk_prog19 小时前
[Linux]学习笔记系列 -- [drivers][mmc][mmc_sdio]果果燕19 小时前
今日学习笔记:双向链表、循环链表、栈觉醒大王19 小时前
AI写的青基中了明月醉窗台20 小时前
qt使用笔记六之 Qt Creator、Qt Widgets、Qt Quick 详细解析Hello_Embed1 天前
libmodbus 移植 STM32(USB 串口后端篇)张祥6422889041 天前
RTKLIB源码和理论结合分析笔记三日更嵌入式的打工仔1 天前
0欧电阻作用wdfk_prog1 天前
[Linux]学习笔记系列 -- [drivers][I2C]I2C觉醒大王1 天前
哪些文章会被我拒稿?