2025年9月18日 星期四

RouterOS Adlist

RouterOS 7.15 版開始,DNS 支援 Adlist,可用 URL 直接載入 hosts,實現類似 Pi-Hole 的功能
預設的 cache-size 2048K 不夠大,
載入時超出限制 Log 中會出現 [adlist] adlist read: max cache size reached
要載入 StevenBlack 的 hosts,至少要 18432K (18M)
hosts 檔還會長大,建議設 30720K (30M)

/ip dns
set cache-size=30720
adlist add ssl-verify=no url=https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

沒有留言:

Copy fail and Dirty Frag

Copy fail 及 Dirty Frag 這兩個漏本地提權(LPE)漏洞,在 2026 年 5 月被揭露, 漏洞已存在很久,幾乎影響所有的 Linux Github 上面已經有很多 POC 程式 暫時解決方案是禁用相關的 Kernel 模組 以下是 for RedHat 系...