$V2EX
Solana
Give SOL to Copy Address
使用 SOL 向 WAHSUN 打赏,数额会 100% 进入 WAHSUN 的钱包。
 WAHSUN's recent timeline updates
WAHSUN

WAHSUN

少即是多
V2EX member #267878, joined on 2017-11-18 12:45:51 +08:00
Per WAHSUN's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
WAHSUN's recent replies
2 days ago
Replied to a topic by webfamer 信息安全 阿里云被人暴力破解了
在服务器中安装一个 Hermes ,让它给系统做安全加固,系统安全审计等工作,每天封禁封禁恶意 ip 。




---

3 層防禦

第 1 層:iptables 預設 DROP

任何未明確允許的連線直接丟棄,並記錄到 /var/log/kern.log 。

iptables-DROPPED: ... SRC=1.2.3.4 ...


第 2 層:fail2ban ( SSH 監控)

監控 SSH 日誌,有暴力嘗試就封鎖。不過因為密碼登入已關閉,目前累計 0 封鎖。

第 3 層:auto-ban-ips.sh ✅ 已修復

⏰ 排程****
• 內容: 每天 04:00

📄 讀取來源****
• 內容: /var/log/kern.log + kern.log.1

🎯 門檻****
• 內容: 累計 10 次以上 DROP 記錄的 IP

🔧 動作****
• 內容: iptables -A INPUT -s IP -j DROP

💾 持久化****
• 內容: iptables-save > /etc/iptables/rules.v4

📧 通知****
• 內容: 寄信到 [email protected]

今天日誌裡已經有 10 個超過門檻的 IP 待處理(最高一個打了 397 次),明天凌晨就會自動 ban 掉它們。
这种优化需求为什么不让 Ai 来做呢?你告诉它你的需求,剩下的交给它完成即可,我的 Linux 服务器/macOS 系统都交给它( hermes )来优化系统!
可行,已经测试过了,使用 Github+Cloudflare+Hermes ,自己生成网站内容/建立仓库并部署/部署到 cloudflare Page ,只需要其他给 Agent 提供操作权限的 API Token 即可。
恭喜恭喜🎉
Jun 11
Replied to a topic by OwO233 Telegram telegram 真的有客服吗?
Apr 29
Replied to a topic by addou 健康 国内哪家医院治疗抑郁症效果好
与其医院治疗,还不如让 AI 帮助自己。
Apr 28
Replied to a topic by Myst 生活 你们会孤独吗?
@X0V0X +1
Apr 24
Replied to a topic by Dewchame 问与答 你每天用的最多的 app 是啥?
Threads
Apr 18
Replied to a topic by catvoo 生活 今天结婚了☺️☺️☺️
恭喜恭喜
Apr 13
Replied to a topic by Crimson47 VPS 大家的 Reality 都是偷谁家的域名呢?
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2953 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 14:29 · PVG 22:29 · LAX 07:29 · JFK 10:29
♥ Do have faith in what you're doing.