V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
KCheshireCat
V2EX  ›  宽带症候群

检查你目前的网络环境是否会干扰 BT-DHT

  •  
  •   KCheshireCat · 2016-05-01 20:42:56 +08:00 · 4307 次点击
    这是一个创建于 3162 天前的主题,其中的信息可能已经有所发展或是发生改变。

    简单说就是 DHT 干扰会返回随机生成的 peers,那么检测方法就相当简单了,把所有有特殊作用的 IP 段都标记出来

    0.0.0.0          -0.255.255.255   ,0,IANA IPv4 Special-Purpose Address Registry
    10.0.0.0         -10.255.255.255  ,0,IANA IPv4 Special-Purpose Address Registry
    100.64.0.0       -100.127.255.255 ,0,IANA IPv4 Special-Purpose Address Registry
    127.0.0.0        -127.255.255.255 ,0,IANA IPv4 Special-Purpose Address Registry
    169.254.0.0      -169.254.255.255 ,0,IANA IPv4 Special-Purpose Address Registry
    172.16.0.0       -172.31.255.255  ,0,IANA IPv4 Special-Purpose Address Registry
    192.0.0.0        -192.0.0.255     ,0,IANA IPv4 Special-Purpose Address Registry
    192.0.2.0        -192.0.2.255     ,0,IANA IPv4 Special-Purpose Address Registry
    192.31.196.0     -192.31.196.255  ,0,IANA IPv4 Special-Purpose Address Registry
    192.52.193.0     -192.52.193.255  ,0,IANA IPv4 Special-Purpose Address Registry
    192.88.99.0      -192.88.99.255   ,0,IANA IPv4 Special-Purpose Address Registry
    192.168.0.0      -192.168.255.255 ,0,IANA IPv4 Special-Purpose Address Registry
    192.175.48.0     -192.175.48.255  ,0,IANA IPv4 Special-Purpose Address Registry
    198.18.0.0       -198.19.255.255  ,0,IANA IPv4 Special-Purpose Address Registry
    198.51.100.0     -198.51.100.255  ,0,IANA IPv4 Special-Purpose Address Registry
    203.0.113.0      -203.0.113.255   ,0,IANA IPv4 Special-Purpose Address Registry
    240.0.0.0        -255.255.255.255 ,0,IANA IPv4 Special-Purpose Address Registry
    224.0.0.0        -224.0.0.255     ,0,Local Network Control Block
    224.0.1.0        -224.0.1.255     ,0,Internetwork Control Block
    224.0.2.0        -224.0.255.255   ,0,AD-HOC Block I
    224.2.0.0        -224.2.255.255   ,0,SDP/SAP Block
    224.3.0.0        -224.4.255.255   ,0,AD-HOC Block II
    224.5.0.0        -224.251.255.255 ,0,RESERVED
    224.252.0.0      -224.255.255.255 ,0,DIS Transient Groups
    225.0.0.0        -231.255.255.255 ,0,RESERVED
    232.0.0.0        -232.255.255.255 ,0,Source-Specific Multicast Block
    233.0.0.0        -233.251.255.255 ,0,AD-HOC Block III
    234.0.0.0        -234.255.255.255 ,0,Unicast-Prefix-based IPv4 Multicast Addresses
    235.0.0.0        -238.255.255.255 ,0,Scoped Multicast Ranges
    239.0.0.0        -239.255.255.255 ,0,Scoped Multicast Ranges
    

    这些 IP 都有各自的特殊用途.

    正常情况下你的 BT 软件是不会去尝试连接这些 IP(内网 IP 除外)的

    而在有 DHT 干扰的网络环境下使用 BT,BT 软件是有很大概率会去尝试连接这些 IP


    测试方法:

    将上面的代码块保存到本地ipfilter.dat文件中

    设置 BT 的 IP 过滤功能

    IP 过滤

    让 BT 跑一会儿任务,等一会回来看计数器

    如果记录显示 BT 有尝试连接除去常见内网网段外的 IP 的话,那么你的网络环境就是有 DHT 干扰的

    结果

    3 条回复    2016-05-02 17:52:24 +08:00
    kttde
        1
    kttde  
       2016-05-01 22:22:18 +08:00
    在海盗湾找了个热门种子,测试了半个小时,没有被发现 ip 被拦截
    arfaWong
        2
    arfaWong  
       2016-05-02 13:15:15 +08:00
    在海盗湾找了个热门种子,下载完了,没有被发现 ip 被拦截
    Jerry5850022
        3
    Jerry5850022  
       2016-05-02 17:52:24 +08:00
    校园网好像都有 DHT 的拦截,但是 CMCC-EDU 没有。没有测试,只是主观上感觉如此!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2823 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:11 · PVG 15:11 · LAX 23:11 · JFK 02:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.