Compare commits

...

5 commits

Author SHA1 Message Date
科技lion
377e3c090e
Update fail2ban config file path in kejilion.sh 2025-09-28 10:17:03 +08:00
科技lion
5d8ab0d1c3
Update kejilion.sh 2025-09-28 10:16:22 +08:00
科技lion
f49992dc32
Fix fail2ban SSH rule loading error
修复SSH防御fail2ban加载ssh规则报错的问题。
2025-09-28 10:09:38 +08:00
科技lion
5f475e9fef
Fix fail2ban action and update oci-helper install URL
Updated fail2ban action configuration and modified installation script URL.
2025-09-28 10:07:52 +08:00
科技lion
1f1f51cb6e
Update kejilion.sh 2025-09-28 10:07:08 +08:00
3 changed files with 7 additions and 2 deletions

View file

@ -3063,6 +3063,8 @@ f2b_install_sshd() {
fi

rm -f /path/to/fail2ban/config/fail2ban/jail.d/sshd.conf
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /path/to/fail2ban/config/fail2ban/jail.conf

}

f2b_sshd() {
@ -7766,7 +7768,7 @@ linux_Oracle() {
4)
clear
send_stats "R探长开机脚本"
bash <(wget -qO- https://github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
bash <(wget -qO- ${gh_proxy}github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
;;
5)
clear

View file

@ -3063,6 +3063,8 @@ f2b_install_sshd() {
fi

rm -f /path/to/fail2ban/config/fail2ban/jail.d/sshd.conf
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /path/to/fail2ban/config/fail2ban/jail.conf

}

f2b_sshd() {
@ -7766,7 +7768,7 @@ linux_Oracle() {
4)
clear
send_stats "R探长开机脚本"
bash <(wget -qO- https://github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
bash <(wget -qO- ${gh_proxy}github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
;;
5)
clear

View file

@ -1312,5 +1312,6 @@ k快捷命令增加了 k info 系统信息快速查询。
2025-09-25 v4.1.6
应用市场新增了Syncthing开源的点对点文件同步工具的安装及使用。
甲骨文云合集中增加大佬的R探长开机脚本非常感谢大佬脚本。
又来修复SSH防御fail2ban加载ssh规则报错的问题。
------------------------