Repository navigation
v1.1.0 — 错峰自动刷新 + 集成三件套
新增 Added
- Fail2ban 集成:
scripts/fail2ban/ipradar.conf—— ban 前先查本地裁决,确认恶意(conf ≥ 70 可调)记入长封名单,CDN/基础设施边缘跳过 ban 免误封- Fail2ban integration (
scripts/fail2ban/ipradar.conf): pre-ban triage consults the local verdict — confirmed-malicious IPs (confidence ≥ 70, tunable) go to a long-ban list, CDN/infra edges are skipped to avoid false bans
- Fail2ban integration (
- Graylog 集成:
integrations/graylog/—— 可导入 content pack(Lookup Table + Pipeline)及 HTTP JSONPath 配置指南,日志富化一步到位- Graylog integration (
integrations/graylog/): importable content pack (lookup tables + pipeline) with an HTTP JSONPath setup guide — one-stop log enrichment
- Graylog integration (
- Wazuh 集成:
integrations/wazuh/custom-ipradar—— 带 IP 告警自动富化为 ECS threat.indicator 跟进告警,本地替代 VirusTotal 集成- Wazuh integration (
integrations/wazuh/custom-ipradar): enriches IP-bearing alerts into ECS threat.indicator follow-on alerts — a local drop-in replacement for the VirusTotal integration
- Wazuh integration (
/api/lookup新增顶层threat汇总字段(verdict/confidence/types/is_cdn),下游集成一句话拿裁决- Top-level
threatsummary field (verdict/confidence/types/is_cdn) in/api/lookupresponses — integrations get the verdict in one field
- Top-level
- 新增 DShield top-attacker 源:免密钥源 24→25,总源数 28→29
- New DShield top-attacker source: keyless sources 24→25, total 28→29
last_seen全管线接通:源采集 → 存储 → 查询 API → 详情面板last_seenwired end-to-end: harvest → storage → lookup API → detail panel
as_domain资产域名槽位,机构行后缀展示as_domainasset slot, displayed as a suffix on the org row
- CSV 导出新增 first_seen / last_seen / as_domain 三列
- CSV export gains first_seen / last_seen / as_domain columns
- 详情面板 extra 值可点击:tweet_url、sbl_id 及裸 URL 自动 linkify
- Extra values in the detail panel are linkified: tweet_url, sbl_id, and bare URLs become clickable links
- 重建进度升级:加载阶段也有进度信号,终态冻结不再回跳,状态条分段渲染百分比/行数
- Rebuild progress overhaul: loading phase now emits progress, final-state fractions freeze instead of snapping back, and the status bar renders per-phase percentages and row counts
变更 Changed
- 后台自动刷新改为每源固定错峰时刻:日更源每天 2 次、周更源每周期 1 次(此前 30 分钟扫描、过期即拉,全源同刻聚集;AbuseIPDB 等配额源被动挨挤);调度器状态新增每源
next_refresh_at- Background refresh moved to fixed per-source staggered slots: daily sources twice a day, weekly sources once per staleness window (previously a 30-minute scan pulled every stale source at the same moment, crowding quota'd feeds like AbuseIPDB); scheduler status now exposes per-source
next_refresh_at
- Background refresh moved to fixed per-source staggered slots: daily sources twice a day, weekly sources once per staleness window (previously a 30-minute scan pulled every stale source at the same moment, crowding quota'd feeds like AbuseIPDB); scheduler status now exposes per-source
- stopforumspam 换用 listed_ip_365_all 数据:带走 total(出现次数)与 last_seen
- StopForumSpam switches to the listed_ip_365_all feed, carrying total (hit count) and last_seen
- proxyscrape 改发 carrier 字段,僵尸 isp 槽位删除
- ProxyScrape now emits carrier; the zombie isp slot is removed
- 死代码清除:ApiSource 基类、在线富化(enricher)链、enrichError/phase 死契约
- Dead code removed: the ApiSource base class, the online-enricher chain, and the unused enrichError/phase contract
修复 Fixed
- 批量更新收敛竞态:终态 done 事件不再出现 done<total;源中途启用 (re-enable) 或调度器刷新与手动全量更新重叠时,total 动态校正,批次不再可能永久停在 running(需重启才能再全量更新)
- Batch-update convergence race: terminal done events no longer report done<total; when a source is re-enabled mid-batch or a scheduler refresh overlaps a manual full update, total is dynamically corrected — a batch can no longer get stuck in running forever (which previously required a restart)
- cn_isp 不再把运营商名写进 as_name;ISP 徽标仅中国 IP 显示
- cn_isp no longer pollutes as_name with carrier names; the ISP badge is shown for CN IPs only
- STIX 导出:Location/AS 对象 id 规范为
<type>--<UUID>;残余 http 源 URL 全部改 https- STIX export: Location/AS object ids normalized to
<type>--<UUID>; remaining http feed URLs switched to https
- STIX export: Location/AS object ids normalized to
- DShield 解析容错:tab 分隔、
-占位归一为 null- DShield parsing hardening: tab-split tolerance;
-placeholders normalized to null
- DShield parsing hardening: tab-split tolerance;
- 进度显示一串修复:resync 后假 0%、rebuild 后取消边界、行数 K/M 晋升格式、loading 计数清零回归、cancelled 灰条
- A run of progress-display fixes: false 0% after resync, cancel boundary after rebuild, K/M row-count formatting, loading-counter zeroing regression, and the cancelled grey bar
内部 Internal
- README:404StarLink banner、新截图、审计修正(链接/警告/venv 引导/刷新口径英文镜像);agent skills 文档接地重写 + 漂移守卫测试;迁移到 pi 作为主 harness;测试加固(monotonic deadline、退避守卫去空洞化)
- README: 404StarLink banner, new screenshots, audit fixes (links/warnings/venv bootstrap/EN mirror of refresh cadence); agent-skills docs rewritten as grounded pointers plus drift-guard tests; migrated to pi as the primary harness; test hardening (monotonic deadlines, de-vacuous backoff guard)
升级 / Upgrade:docker compose up -d --build 即可;无配置迁移。scheduler 槽位按源名哈希自动生效,重启不影响。
No config migration needed — just docker compose up -d --build. Scheduler slots hash by source name and take effect automatically; restart is fine.