chore(servers): 离线探针复测重写 servers.json,并给探针工具补 --discover
servers.json(真数据复测 2026-09-21,两轮零漂移) - 剔除历史脏记录 s1;刷新 status/latency/checked_at/checked_date/fast_pool - 可达 25/33:standard 9 台、mac 22 台、ex 4 台(旧文件 mac 只标了 10 台) - 关键发现:14 台服务器 0x010C 标准 K 线已成空响应(回 2 字节空壳), 但同端口同主机的 0x122E MAC 帧正常 → 据实测把 protocols 由 standard/mac 收窄为 mac - 8 台不可达:华林 4 台(218.106.92.182/183, 220.178.55.71/86)、159.75.55.232、 117.34.114.13/14/30 → status=fail - 117.34.114.17 实测 standard+mac 均通(此前只申报 standard) server_probe.py - 新增 --discover:三种协议全测并据实修正 protocols(顺带剔除 ip 非法记录) - 失败重试一次再判定不支持(单次抖动会误删协议,且收窄后不会自动恢复) - EX 握手模式申报错时换另一种再试(login <=> setup) - 补写 checked_date / fast_pool / 顶层 version·note,入池规则与运行时缓存一致 验证:164 passed;servers.json 跑测前后 sha 不变;check_docs.py + mkdocs --strict 通过
This commit is contained in:
1 parent
7e830c7579
commit
d422385877
4 files changed
+375
-192
No files matched your search
+113
-39
@@ -3,28 +3,43 @@
|
||||
读 servers.json → 并发探测每台可用性与延时(标准/MAC用7709、EX用7727)→ 写回状态。
|
||||
|
||||
用法:
|
||||
python -m pytdxdata.server_probe # 全量探测
|
||||
python -m pytdxdata.server_probe --group ex # 只测EX
|
||||
python -m pytdxdata.server_probe --refresh # 重新探测(status=ok的)
|
||||
python -m pytdxdata.server_probe # 按申报协议全量探测
|
||||
python -m pytdxdata.server_probe --discover # 额外测【每种协议】并据实修正 protocols
|
||||
python -m pytdxdata.server_probe --group ex # 只测EX
|
||||
python -m pytdxdata.server_probe --refresh # 只重测status=ok的
|
||||
|
||||
写回的字段
|
||||
----------
|
||||
``status`` / ``latency`` / ``checked_at`` / ``checked_date`` / ``fast_pool``
|
||||
以及顶层 ``checked_date`` / ``note``。其中 ``fast_pool`` 与运行时缓存里的 ``fast``
|
||||
用同一套规则(整体延迟前 10 名,或延迟 < 200ms),供"还没有当日缓存时"的冷启动排序。
|
||||
|
||||
``--discover`` 会顺带剔除 ip 非法的脏记录(如历史遗留的 ``"s1"``)。
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
import json
|
||||
import sys
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
from .config import is_valid_host
|
||||
from .models import Adjust, KlinePeriod
|
||||
from .pool.connection import TdxConnection
|
||||
from .pool.ex_connection import ExTdxConnection
|
||||
from .protocol.commands.ex_proto import GetExInstrumentBarsCmd
|
||||
from .protocol.commands.kline import GetSecurityBarsCmd
|
||||
from .protocol.commands.mac import MacKlineCmd
|
||||
from .protocol.commands.ex_proto import GetExInstrumentBarsCmd
|
||||
from .models import KlinePeriod, Adjust
|
||||
|
||||
SERVERS_FILE = Path(__file__).resolve().parent / "servers.json"
|
||||
|
||||
# 与 pool/probe_cache.py 保持同一套入池规则
|
||||
FAST_POOL_TOP_N = 10
|
||||
FAST_POOL_MAX_LATENCY = 0.2
|
||||
|
||||
ALL_PROTOCOLS = ("standard", "mac", "ex")
|
||||
|
||||
|
||||
def load_servers() -> dict:
|
||||
if not SERVERS_FILE.exists():
|
||||
@@ -41,7 +56,7 @@ async def probe_standard(ip: str, timeout: float = 5.0) -> tuple[bool, float]:
|
||||
t0 = time.monotonic()
|
||||
try:
|
||||
await conn.connect()
|
||||
bars = await conn.execute(GetSecurityBarsCmd(1, "600000", 5, 0, 100))
|
||||
bars = await conn.execute(GetSecurityBarsCmd(1, "600000", KlinePeriod.DAY, 0, 100))
|
||||
return (bool(bars), time.monotonic() - t0)
|
||||
except Exception:
|
||||
return (False, time.monotonic() - t0)
|
||||
@@ -75,25 +90,51 @@ async def probe_ex(ip: str, handshake: str, timeout: float = 5.0) -> tuple[bool,
|
||||
await conn.close()
|
||||
|
||||
|
||||
async def probe_one(server: dict, timeout: float) -> dict:
|
||||
async def probe_proto(proto: str, ip: str, handshake: str, timeout: float) -> tuple[bool, float]:
|
||||
"""按协议分派到具体探针。"""
|
||||
if proto == "ex":
|
||||
return await probe_ex(ip, handshake, timeout)
|
||||
if proto == "mac":
|
||||
return await probe_mac(ip, timeout)
|
||||
return await probe_standard(ip, timeout)
|
||||
|
||||
|
||||
async def probe_one(server: dict, timeout: float, discover: bool = False) -> dict:
|
||||
ip = server["ip"]
|
||||
protocols = server.get("protocols", [])
|
||||
best_lat = None
|
||||
ok = False
|
||||
# 逐协议探测(一台多协议: standard/mac同端口可复用连接——简化逐协议测)
|
||||
for proto in protocols:
|
||||
declared = server.get("protocols", [])
|
||||
handshake = server.get("handshake") or "setup"
|
||||
# discover: 三种协议全测(EX 先按申报握手,失败再试另一种);
|
||||
# 默认: 只测申报的协议(保持原行为,避免误改人工裁剪的清单)
|
||||
targets = list(ALL_PROTOCOLS) if discover else list(declared)
|
||||
|
||||
per: dict[str, float | None] = {}
|
||||
for proto in targets:
|
||||
if proto == "ex":
|
||||
r, lat = await probe_ex(ip, server.get("handshake", "setup"), timeout)
|
||||
elif proto == "mac":
|
||||
r, lat = await probe_mac(ip, timeout)
|
||||
ok, lat = await probe_ex(ip, handshake, timeout)
|
||||
if not ok and discover:
|
||||
# 握手模式申报错的节点:换一种再试(login <-> setup)
|
||||
alt = "setup" if handshake == "login" else "login"
|
||||
ok, lat = await probe_ex(ip, alt, timeout)
|
||||
else:
|
||||
r, lat = await probe_standard(ip, timeout)
|
||||
if r:
|
||||
ok = True
|
||||
best_lat = lat if best_lat is None else min(best_lat, lat)
|
||||
server["status"] = "ok" if ok else "fail"
|
||||
server["latency"] = round(best_lat, 3) if best_lat is not None else None
|
||||
server["checked_at"] = time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
ok, lat = await probe_proto(proto, ip, handshake, timeout)
|
||||
if not ok and discover:
|
||||
# discover 会据结果**收窄 protocols**,单次抖动就会误删协议 → 失败重试一次
|
||||
ok, lat = await probe_proto(proto, ip, handshake, timeout)
|
||||
if ok:
|
||||
per[proto] = lat
|
||||
|
||||
if discover and per:
|
||||
# 据实测结果修正申报协议(保序:standard / mac / ex)
|
||||
server["protocols"] = [p for p in ALL_PROTOCOLS if p in per]
|
||||
|
||||
server["status"] = "ok" if per else "fail"
|
||||
server["latency"] = round(min(per.values()), 3) if per else None
|
||||
now = time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
server["checked_at"] = now
|
||||
server["checked_date"] = now[:10]
|
||||
server.setdefault("fast_pool", False)
|
||||
# 供表格打印用,不落盘
|
||||
server["_per_proto"] = {p: (round(v, 3) if v is not None else None) for p, v in per.items()}
|
||||
return server
|
||||
|
||||
|
||||
@@ -102,10 +143,21 @@ async def main() -> None:
|
||||
ap.add_argument("--group", choices=["standard", "mac", "ex"], default=None)
|
||||
ap.add_argument("--timeout", type=float, default=5.0)
|
||||
ap.add_argument("--refresh", action="store_true", help="只重测status=ok的")
|
||||
ap.add_argument("--discover", action="store_true",
|
||||
help="三种协议全测并据实修正 protocols(同时剔除 ip 非法的脏记录)")
|
||||
args = ap.parse_args()
|
||||
|
||||
cfg = load_servers()
|
||||
servers = cfg["servers"]
|
||||
all_servers = cfg["servers"]
|
||||
|
||||
# --- 清理:ip 不合法的脏记录(历史遗留,如 "s1") ---
|
||||
junk = [s.get("ip") for s in all_servers if not is_valid_host(s.get("ip"))]
|
||||
if junk:
|
||||
cfg["servers"] = [s for s in all_servers if is_valid_host(s.get("ip"))]
|
||||
all_servers = cfg["servers"]
|
||||
print("已剔除 ip 非法记录: %s" % ", ".join(map(str, junk)))
|
||||
|
||||
servers = all_servers
|
||||
if args.group:
|
||||
servers = [s for s in servers if args.group in s.get("protocols", [])]
|
||||
if args.refresh:
|
||||
@@ -114,33 +166,55 @@ async def main() -> None:
|
||||
print("没有待探测的服务器")
|
||||
return
|
||||
|
||||
print("=" * 90)
|
||||
print("探测 %d 台服务器 (标准/MAC:7709, EX:7727)..." % len(servers))
|
||||
print("=" * 90)
|
||||
print("=" * 96)
|
||||
print("探测 %d 台服务器 (标准/MAC:7709, EX:7727)%s..." % (
|
||||
len(servers), " [discover: 全协议]" if args.discover else ""))
|
||||
print("=" * 96)
|
||||
t0 = time.time()
|
||||
results = await asyncio.gather(*[probe_one(s, args.timeout) for s in servers])
|
||||
results = await asyncio.gather(
|
||||
*[probe_one(s, args.timeout, args.discover) for s in servers]
|
||||
)
|
||||
elapsed = time.time() - t0
|
||||
|
||||
# 写回
|
||||
updated = {s["ip"]: s for s in results}
|
||||
# --- 入池标记:与运行时缓存同一规则(前N名 或 <200ms) ---
|
||||
ok_list = [s for s in results if s["status"] == "ok"]
|
||||
ok_list.sort(key=lambda s: s["latency"])
|
||||
fast_ips = {s["ip"] for i, s in enumerate(ok_list)
|
||||
if i < FAST_POOL_TOP_N or s["latency"] < FAST_POOL_MAX_LATENCY}
|
||||
for s in ok_list:
|
||||
s["fast_pool"] = s["ip"] in fast_ips
|
||||
fail_list = [s for s in results if s["status"] == "fail"]
|
||||
for s in fail_list:
|
||||
s["fast_pool"] = False
|
||||
|
||||
# --- 写回(剔除内部诊断字段) ---
|
||||
today = time.strftime("%Y-%m-%d")
|
||||
updated = {s["ip"]: {k: v for k, v in s.items() if not k.startswith("_")} for s in results}
|
||||
for s in cfg["servers"]:
|
||||
if s["ip"] in updated:
|
||||
s.update(updated[s["ip"]])
|
||||
cfg["checked_date"] = today
|
||||
cfg["version"] = today # 清单基线日期(无代码读取,仅标注本次复测时间)
|
||||
cfg["note"] = "离线探针复测(%s %s): 可达=%d/%d, 入池fast_pool=%d台" % (
|
||||
today, time.strftime("%H:%M"), len(ok_list), len(results), len(fast_ips))
|
||||
save_servers(cfg)
|
||||
|
||||
ok_list = [s for s in results if s["status"] == "ok"]
|
||||
ok_list.sort(key=lambda s: s["latency"])
|
||||
fail_list = [s for s in results if s["status"] == "fail"]
|
||||
print("\n可用: %d/%d (%.1fs)" % (len(ok_list), len(results), elapsed))
|
||||
print("-" * 90)
|
||||
print("\n可用: %d/%d (%.1fs) 入池: %d台" % (len(ok_list), len(results), elapsed, len(fast_ips)))
|
||||
print("-" * 96)
|
||||
for s in ok_list:
|
||||
print(" [OK] %-16s %-14s %-28s %.3fs %s" % (
|
||||
s["ip"], "/".join(s.get("protocols", [])), s["name"],
|
||||
s["latency"], s.get("handshake") or ""))
|
||||
per = s.get("_per_proto", {})
|
||||
detail = " ".join(
|
||||
"%s=%s" % (p, ("%.3fs" % v) if v is not None else "-")
|
||||
for p, v in per.items()
|
||||
) or "/".join(s.get("protocols", []))
|
||||
print(" [OK] %-16s %-24s %-24s %.3fs %s%s" % (
|
||||
s["ip"], "/".join(s.get("protocols", [])), s["name"], s["latency"],
|
||||
"★" if s["fast_pool"] else " ", detail))
|
||||
if fail_list:
|
||||
print("\n不可用: %d台" % len(fail_list))
|
||||
for s in fail_list:
|
||||
print(" [X] %-16s %s" % (s["ip"], "/".join(s.get("protocols", []))))
|
||||
print(" [X] %-16s %-24s %s" % (
|
||||
s["ip"], "/".join(s.get("protocols", [])), s["name"]))
|
||||
print("\n已写回 %s" % SERVERS_FILE)
|
||||
|
||||
|
||||
|
||||
+236
-150
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "2026-08-12",
|
||||
"note": "当日全量测速入库(2026-09-08): 入池=9台 (排名前10或延迟<200ms)",
|
||||
"version": "2026-09-21",
|
||||
"note": "离线探针复测(2026-09-21 19:03): 可达=25/33, 入池fast_pool=10台",
|
||||
"servers": [
|
||||
{
|
||||
"ip": "139.9.52.158",
|
||||
@@ -11,11 +11,15 @@
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": null,
|
||||
"checked_at": "2026-08-21 11:23:14",
|
||||
"latency": 0.22,
|
||||
"checked_at": "2026-09-21 19:03:04",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-21"
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.226,
|
||||
"mac": 0.22
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "103.251.85.94",
|
||||
@@ -25,42 +29,50 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.481,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.366,
|
||||
"checked_at": "2026-09-21 19:03:04",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.396,
|
||||
"mac": 0.366
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "58.67.221.146",
|
||||
"name": "中信短线宝21",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.254,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.257,
|
||||
"checked_at": "2026-09-21 19:03:09",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.257
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "59.36.5.11",
|
||||
"name": "安信",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.254,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.248,
|
||||
"checked_at": "2026-09-21 19:03:04",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.248
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "103.221.142.82",
|
||||
@@ -71,12 +83,17 @@
|
||||
"ex"
|
||||
],
|
||||
"handshake": "setup",
|
||||
"status": "slow",
|
||||
"latency": 0.487,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.221,
|
||||
"checked_at": "2026-09-21 19:03:00",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.399,
|
||||
"mac": 0.414,
|
||||
"ex": 0.221
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "218.106.92.182",
|
||||
@@ -85,27 +102,30 @@
|
||||
"standard"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.371,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:20",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "60.12.136.251",
|
||||
"name": "中信短线宝22",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.37,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.363,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.363
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "218.106.92.183",
|
||||
@@ -114,42 +134,47 @@
|
||||
"standard"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.377,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:20",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "60.12.136.250",
|
||||
"name": "中信短线宝26",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.373,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.344,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.344
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "115.238.90.170",
|
||||
"name": "中信短线宝23",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.482,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.404,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.404
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "220.178.55.86",
|
||||
@@ -158,12 +183,13 @@
|
||||
"standard"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.479,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:24",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "220.178.55.71",
|
||||
@@ -172,87 +198,98 @@
|
||||
"standard"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.47,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:21",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "180.153.18.170",
|
||||
"name": "中信短线宝1",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.438,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.376,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.376
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "115.238.90.165",
|
||||
"name": "杭州J4",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.476,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.377,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.377
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "60.191.117.167",
|
||||
"name": "杭州J1",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.362,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.401,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.401
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "218.75.126.9",
|
||||
"name": "杭州J3",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.481,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.42,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.42
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "115.238.56.198",
|
||||
"name": "杭州J2",
|
||||
"protocols": [
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.362,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"latency": 0.401,
|
||||
"checked_at": "2026-09-21 19:03:10",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"mac": 0.401
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.16",
|
||||
@@ -262,12 +299,16 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 1.575,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.485,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.485,
|
||||
"mac": 0.605
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "159.75.55.232",
|
||||
@@ -276,26 +317,32 @@
|
||||
"standard"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.244,
|
||||
"checked_at": "2026-09-08 10:05:12",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:04",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": true,
|
||||
"checked_date": "2026-09-08"
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.17",
|
||||
"name": "国泰君安",
|
||||
"protocols": [
|
||||
"standard"
|
||||
"standard",
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 1.573,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.444,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.444,
|
||||
"mac": 0.903
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.14",
|
||||
@@ -305,12 +352,13 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.508,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:15",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.15",
|
||||
@@ -320,12 +368,16 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.636,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.435,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.463,
|
||||
"mac": 0.435
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.13",
|
||||
@@ -335,12 +387,13 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.608,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-09-21 19:03:14",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.27",
|
||||
@@ -350,12 +403,16 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 1.138,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.482,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.482,
|
||||
"mac": 0.579
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.18",
|
||||
@@ -365,12 +422,16 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.969,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.609,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.946,
|
||||
"mac": 0.609
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.20",
|
||||
@@ -380,12 +441,16 @@
|
||||
"mac"
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "slow",
|
||||
"latency": 0.526,
|
||||
"checked_at": "2026-08-19 15:37:35",
|
||||
"status": "ok",
|
||||
"latency": 0.46,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19"
|
||||
"checked_date": "2026-09-21",
|
||||
"_per_proto": {
|
||||
"standard": 0.46,
|
||||
"mac": 0.521
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "117.34.114.30",
|
||||
@@ -396,8 +461,11 @@
|
||||
"handshake": null,
|
||||
"status": "fail",
|
||||
"latency": null,
|
||||
"checked_at": "2026-08-12 18:36:21",
|
||||
"source": "probe-2026-08-12"
|
||||
"checked_at": "2026-09-21 19:03:24",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": false,
|
||||
"_per_proto": {}
|
||||
},
|
||||
{
|
||||
"ip": "121.37.207.165",
|
||||
@@ -407,9 +475,14 @@
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.249,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
"latency": 0.271,
|
||||
"checked_at": "2026-09-21 19:03:04",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": true,
|
||||
"_per_proto": {
|
||||
"mac": 0.271
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "121.36.248.138",
|
||||
@@ -419,9 +492,14 @@
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.436,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
"latency": 0.375,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": false,
|
||||
"_per_proto": {
|
||||
"mac": 0.375
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "123.60.47.136",
|
||||
@@ -431,9 +509,14 @@
|
||||
],
|
||||
"handshake": null,
|
||||
"status": "ok",
|
||||
"latency": 0.476,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
"latency": 0.424,
|
||||
"checked_at": "2026-09-21 19:03:05",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": false,
|
||||
"_per_proto": {
|
||||
"mac": 0.424
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "116.205.135.205",
|
||||
@@ -443,9 +526,14 @@
|
||||
],
|
||||
"handshake": "login",
|
||||
"status": "ok",
|
||||
"latency": 0.192,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
"latency": 0.176,
|
||||
"checked_at": "2026-09-21 19:03:08",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": true,
|
||||
"_per_proto": {
|
||||
"ex": 0.176
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "121.37.232.167",
|
||||
@@ -455,9 +543,14 @@
|
||||
],
|
||||
"handshake": "login",
|
||||
"status": "ok",
|
||||
"latency": 0.194,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
"latency": 0.148,
|
||||
"checked_at": "2026-09-21 19:03:08",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": true,
|
||||
"_per_proto": {
|
||||
"ex": 0.148
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip": "116.205.143.214",
|
||||
@@ -467,22 +560,15 @@
|
||||
],
|
||||
"handshake": "setup",
|
||||
"status": "ok",
|
||||
"latency": 0.192,
|
||||
"checked_at": "2026-08-12 18:36:17",
|
||||
"source": "probe-2026-08-12"
|
||||
},
|
||||
{
|
||||
"ip": "s1",
|
||||
"name": "s1",
|
||||
"protocols": [
|
||||
"standard"
|
||||
],
|
||||
"status": "unknown",
|
||||
"latency": null,
|
||||
"fast_pool": false,
|
||||
"checked_date": "2026-08-19",
|
||||
"checked_at": "2026-08-19 15:34:45"
|
||||
"latency": 0.166,
|
||||
"checked_at": "2026-09-21 19:03:08",
|
||||
"source": "probe-2026-08-12",
|
||||
"checked_date": "2026-09-21",
|
||||
"fast_pool": true,
|
||||
"_per_proto": {
|
||||
"ex": 0.166
|
||||
}
|
||||
}
|
||||
],
|
||||
"checked_date": "2026-09-08"
|
||||
"checked_date": "2026-09-21"
|
||||
}
|
||||
Reference in new issue
Block a user