對話摘要 2026-08-19
description: 6 note(s) today.
name: ‘2026-08-19’
2026-08-19 每日安全審查
結果:今日冇異常,全部正常(已推 Telegram 619760664 13:07)
✅ 正常
- QwenPaw 2.1.0(最新 stable;2.1.1b1 beta 未出 stable)
- Patches 完整:secret_redaction.py(QP_SECRET_REDACTION toggle)、task_tracker.py(_STALE_TASK_TIMEOUT_S=900)、mcp whitelist(n8n.yaml 6 tools)、progressive_disclosure.py
- Sandbox:bubblewrap active(LSM 冇 landlock 係已知,bwrap 取代;08-18 已核實 sandbox_enabled=true)
- 審計日誌 24H:0 deny(只有 routine governance started)
- cryptography 48.0.1:CVE-2026-69248/49/47 影響 <=48.0.0 唔受影響;GHSA-537c 已 patch(48.0.1 版本就係修呢個);SUSE 近期 advisory(41678/44662 等)屬 rust-openssl crate(distro 包),pip wheel 唔適用
- Host:fail2ban active、dnf-automatic enabled、firewalld active;listener 無新增異常(22/443=3x-ui 特例/51820 WG/Syncthing 22000+21027/127.0.0.1 內部)
- 容器:68 running 無 restarting/unhealthy;無 privileged;無新增 host port 映射
- CF Tunnel healthy(4 conns、2026.8.1 pin);Access 全部 Authentik IdP(0abce3f9);Warp app = email allowlist 3 個私人 email(原有)
- DNS benhoweb.com 全已知(wire A 08-18 23:36 修改 = CF DDNS,IP 130.61.87.24 = tunnel origin_ip 一致)
- 依賴版本:fastmcp 3.4.7(image tag 3.4.6 但 pip 內 3.4.7)、olw 0.7.0-synto、alist lrcfix-20260805、crawl4ai 0.9.2 全部近期
⚠️ 注意項(低風險/已知)
- rpcbind 0.0.0.0:111 TCP+UDP(新觀察):OL9 預設啟用;冇見 NFS 使用,建議停用(
systemctl disable --now rpcbind rpcbind.socket)或確認 firewalld 已擋(polkit 需 root 睇唔到)
- 3x-ui 443 映射 host:運行中(Up 5 days),特例已知
- Syncthing 22000/tcp+udp、21027/udp 暴露 host(已知)
- 受限檢查:shinggo.xyz DNS(token 403 無 dns_records 權限)、/etc/ssh/sshd_config(600 root)、fail2ban-client(需 root 連 socket)、firewall-cmd/nft(polkit)——建議用戶間中手動確認 PasswordAuthentication=no
建議
- 整體安全、零急迫行動;照舊。
- 可考慮:停用 rpcbind(若無 NFS)。
- memory/2026-08-19/azure-gpt5-deploy-litellm.md name: azure-gpt5-deploy-litellm description: Azure OpenAI key/型號調查與 gpt-5.x 部署(2026-08-19):兩個 resource——benho-3537-resource(Sweden Central)原只有 gpt-4o(2024-11-20),25 個常見型號全部不存在;qwenpaw-openai-si-348d7(South India)只有 whisper STT。晚間發現 host 上已登入嘅 az-cli 容器(172.17.0.2,ben.ho@live.hk / subscription f55d4073… / Benhoweb tenant)有完整 ARM 權限,直接經 ARM API 開咗 5 個新 deployment:gpt-5.2(2025-12-11)、gpt-5.1(2025-11-13)、gpt-5.6-sol/luna/terra(2026-07-09,Generally Available),全部 GlobalStandard capacity 10、RAI Microsoft.DefaultV2(az CLI 唔支持 —rai-policy-name 用預設),實測 HTTP 200,quota 充裕未用過。LiteLLM 已按 azure-gpt-4o 配置(同一 endpoint、provider azure、api-version 2024-10-21、drop_params)加咗 azure-gpt-5.2(1965398a-…)、azure-gpt-5.1(cc6286e2-…)及 azure-gpt-5.6-{sol,luna,terra},全部經 proxy 實測 OK(TTFT 328-700ms)。Azure 冇單一 gpt-5.6 model,係三 variant;gpt-5.4/5.5 未開隨時可開。下一步:等用戶決定 Hermes(仍用 azure-gpt-4o)、smart-router REASONING tier、pydantic-ai 邊個切去 5.2/5.1。
- memory/2026-08-19/azure-gpt5-responses-api-fix.md name: azure-gpt5-deepseek-litellm-fix description: 记录了针对 Azure GPT-5 模型在 LiteLLM 1.99.0 下强制 Responses API 导致报错的修复方案(改为强制 Chat API),以及为 DeepSeek 模型配置 reverse fallback 以应对周配额耗尽(08-24 重置)的情况。目前系统各模型组均已恢复联通。
- memory/2026-08-19/fail2ban-ban-check-nopasswd.md name: fail2ban-ban-check-nopasswd description: 確認攞 fail2ban ban 數唔使 root 密碼嘅方法:
sudo -n fail2ban-client status sshd(opc 有 NOPASSWD sudo,同 08-16 每日安全審查 cron 用嘅方法一致)。即時檢查結果:total failed=0、currently banned=0、total banned=0、banned IP 列表空——自 8/13 封 OCI 22 port 後外部掃描入唔到,fail2ban 一直無嘢要做。另記:journalctl 只睇到 service 啟動/停止訊息,實際 ban 事件喺 root-only log;fail2ban-client 同 sqlite 都要 root 先讀到。
- memory/2026-08-19/litellm-muse-spark-erpnext-ops.md name: litellm-muse-spark-erpnext-ops description: LiteLLM 於 2026-08-18 為 3 個 Muse Spark 模型 (1.1/1.2/1.2-contributor) 新增 router fallbacks 到 deepseek-first (DeepSeek V4 Flash) 經 /config/update 驗證並保留 vision-first/free-first/azure-gpt-4o/opencode chain 已同步 MEMORY.md;2026-08-19 查詢 2 條 contributor 虛擬 key (sk-…ymlA 無 alias、sk-…yyLQ alias meta-muse-contributor) spend 皆 0.0因input/outputcostpertokennull需看dev.meta.ai,官方定價Standard1.25/4.25perM、Contributor0.10/0.20,後續兩輪補入DBpricing含cacheread(0.15/$0.002) 與 cache_creation_input_token_cost (Standard 1.25e-6、Contributor 0.1e-6) 1M context 重啟後 health/readiness 200 OK,not in built-in cost map 警告仍存但 DB 計費已生效;ERPNext 於 2026-08-19 完成 v16.30.0→v16.32.3 升級(08-18 09:57 發布 ahead 312 commits、Docker Hub 889MB,重點 fix Material Request Qty/UOM #58266),研究確認不可轉 pg-main(Frappe 支援 PG 但 ERPNext 不支援,#24389 1300 queries 待驗未 closure、#38664 Closed as not planned,硬綁 mariadb:11.8,現 db_type=mariadb @172.21.0.67 屬 MEMORY pg-main 例外,Redis 已合 redis-main db3/4/5,pgloader 不建議),經 Dockhand stack 65 sync(0cf6100)→deploy(job b9456b50) 約14min 完成 bench migrate (erpnext 16.32.3/frappe 16.31.0) 容器全 Up;兩次 /start@n8n_shinggo_bot (01:42/21:20) 無回應屬正常僅支援 n8n webhook;提醒 contributor tier 會被 Meta 用於訓練敏感數據用 standard,RPM 100/min
- memory/2026-08-19/llm-wiki-auto-review-setup.md name: llm-wiki-auto-review-setup description: 2026-08-19 LLM Wiki 完整大執全記錄:wiki.benhoweb.com MkDocs/CF Pages,現 107篇精選;自動巡檢 cron 2b4dd437 每週日03:00 deepseek-first 掃全量+Telegram 619760664,首次 105篇掃出9需更新High4已逐篇修11篇並 deploy 8365de80/ad806ff2;Karpathy 正統化薄文清理 118→95 精選三篇點名徹底落架 cache清零 27薄文→0;首頁重做 docs_index_template.md Hero+4分類卡+6精選+4策展表 Deploy 85fdd038;基礎設施覆蓋率 68容器41缺席根因為raw→wiki源驅動無容器自動補,task-4421ee00785e deepseek首批12篇 Hindsight/ERPNext/Nextcloud/Grafana/Qdrant/FastMCP/Dockhand/Alist/Karakeep/Vikunja/Homepage/ntfy 800-1500字百科已上線 95→109→107 Deploy 87b1f5ef,因 reasoning_tokens吃max_tokens卡20分鐘後修好;去重僅 FastMCP/Homepage兩對真重複已留新落舊 draft/low 剩0重複 Deploy df7602c1,待第二批29篇與alias體檢
- memory/2026-08-19/qwenpaw-fix-and-headroom-removal.md name: qwenpaw-fix-and-headroom-removal description: QwenPaw Connection error 排查:根因係 22:07 左右 docker restart litellm reload fallback 設定,用戶撞正重啟斷線(時序性問題,非設定錯誤)。修復:reverse fallback(deepseek-v4-flash→free-first、deepseek-v4-flash-0731→free-first,tokenplan quota 爆到 08-24 兜底)、request_timeout 120s、Azure gpt-5 改 chat completions 路徑;實測全部 model 通(active model 係 litellm-deepseek-v4-flash,base_url 公開網址 https://litellm.benhoweweb.com/v1 經 Cloudflare)。同日另完成 headroom 徹底剷除(08-16 起已因 unhealthy 停用):Dockhand git stack id=76 已刪、容器/volume(headroom_headroom_workspace)/compose 目錄已清、GitHub oracle-arm-stacks 刪目錄 commit ae63767 防 sync 復活、IP .61 已釋放、list-site 冇 headroom 收錄;AdGuard clients 保留(暫停容器規矩);Dockhand API 用 fastmcp 攞嘅 DOCKHAND_API_KEY,stack 列表路徑係 /api/git/stacks。待辦:QwenPaw 用戶重試驗證 + 其他停用容器(cadvisor/ollama/open-webui)清唔清由用戶決定。