Skip to content

Releases

CF-ASNIP v2.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 08:29

从 ASN 到可用节点,一条命令

ASN → CIDR → masscan → CF 指纹粗筛 → proxyip 精筛 → CSV

快速开始(WSL2 / Linux)

curl -fsSL https://raw.githubusercontent.com/shawun2026/CF-ASNIP/main/install.sh | bash
asnip 209242
asnip doctor          # 环境自检:os / wsl / cpu / 提权 / masscan

本版内容

  • 扫描只走 masscan:CIDR 直接 -iL,不再 prips 展开成百万行 IP;不预检抓包驱动,失败时回显 masscan stderr 并分类提示
  • 粗筛:TLS 握手 + server: cloudflare / cf-ray / cf-cache-status / __cf_bm 指纹;边缘机房直接读 cf-ray 尾部(...-NRT → NRT)
  • 精筛:proxyip.wasmer.app 批量校验(默认 50,实测上限 200),429/5xx 退避重试,整批失败二分降级定位
  • 输出:CSV 带 UTF-8 BOM、有效优先按响应时间排序;失败原因写在 状态 列
  • 下载:临时服务只复制并暴露这一个 CSV,其它路径一律 404;WSL 下自动用 localhost 链接
  • 安装:自动补 Go(≥1.22,多镜像)与 masscan,注册 asnip 命令并自动 sudo;支持 install / update / uninstall / doctor
  • 续跑:中间产物为 append-only JSONL,中断后 -stages verify,out 接着跑

二进制(CI 构建,Linux amd64 / arm64 / Windows amd64)

文件 平台
asnip-linux-amd64 Linux x86_64 / WSL2
asnip-linux-arm64 Linux arm64
asnip-windows-amd64.exe Windows 10/11(需自备 masscan.exe + 管理员)

校验和见 SHA256SUMS.txt(与 GitHub 记录的 asset digest 一致)。

注意

proxyip.wasmer.app 判定「有效」= 该 ip:port 能当 ProxyIP 用,不是「这是不是 Cloudflare 的 IP」;
CF 官方 anycast 段通常会被判无效,属接口语义而非筛选 bug。只对自己有权测试的 ASN/网段执行扫描。