From a34fe2f2010c25c7e79b85f5955d47a05c8a4448 Mon Sep 17 00:00:00 2001 From: lou Date: Wed, 9 Sep 2026 18:12:10 +0800 Subject: [PATCH] =?UTF-8?q?tools:=20analyze=5Fcapture=20=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E7=BD=91=E6=AE=B5=E5=88=A4=E5=AE=9A=E9=80=9A=E7=94=A8=E5=8C=96?= =?UTF-8?q?(=E5=8E=BB=E9=99=A4=E9=83=A8=E7=BD=B2=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=85=B7=E4=BD=93=E7=BD=91=E6=AE=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/analyze_capture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/analyze_capture.py b/tools/analyze_capture.py index 3a0c035..86ef8bf 100644 --- a/tools/analyze_capture.py +++ b/tools/analyze_capture.py @@ -9,7 +9,7 @@ 4. 明文 HTTP 出站(应 0, 全被套壳)与 DNS 出站(应 0, 走通道)检查 5. 目标端口/目标 IP Top -"出站"判定: 源 IP 在 192.168.10.0/24(内网)或 192.168.0.0/16。 +"出站"判定: 源 IP 在私有网段(192.168.0.0/16 等)视为内网侧。 """ from __future__ import annotations @@ -22,7 +22,7 @@ from scapy.utils import rdpcap CLOUD_IP = "203.0.113.10" CLOUD_PORT = 8444 -LAN_NETS = ("192.168.10.", "192.168.0.", "172.16.", "10.") +LAN_NETS = ("192.168.", "172.16.", "10.") def _is_lan(ip: str) -> bool: