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

移动 ISP 能判断协议选择性限速?

  •  
  •   molezznet · 19 天前 · 2884 次点击

    最近发现从 nas 上 smb 下载速度总是不稳定, 开始能有几 M/s ,很快就下滑,过段时间又好。但是网页测速又都是正常。 今天研究了下,好像是不同协议下的情况。 用 iperf3 , 上传开始几 M ,很快就限制了,但是同时用 librespeed 这种 http 的速度则仍然正常。同一个服务器 iperf(也测试过 5 线程)和 librespeed 结果如下。同一个服务器部署了 iperf3 和 librespeed-go iperf3 -c xxx

    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec   646 KBytes  5.29 Mbits/sec   29   16.3 KBytes       
    [  5]   1.00-2.00   sec   125 KBytes  1.02 Mbits/sec    0   19.0 KBytes       
    [  5]   2.00-3.00   sec   250 KBytes  2.05 Mbits/sec    0   16.3 KBytes       
    [  5]   3.00-4.00   sec   125 KBytes  1.02 Mbits/sec   37   16.3 KBytes       
    [  5]   4.00-5.00   sec   250 KBytes  2.05 Mbits/sec    5   16.3 KBytes       
    [  5]   5.00-6.00   sec   125 KBytes  1.02 Mbits/sec   15   10.9 KBytes       
    [  5]   6.00-7.00   sec   125 KBytes  1.02 Mbits/sec    2   16.3 KBytes       
    [  5]   7.00-8.00   sec   250 KBytes  2.05 Mbits/sec    0   16.3 KBytes       
    [  5]   8.00-9.00   sec   125 KBytes  1.02 Mbits/sec   19   16.3 KBytes       
    [  5]   9.00-10.00  sec   125 KBytes  1.02 Mbits/sec    0   16.3 KBytes       
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec  2.09 MBytes  1.76 Mbits/sec  107             sender
    [  5]   0.00-10.00  sec  1.94 MBytes  1.63 Mbits/sec                  receiver
    

    librespeed-cli --local-json speed.json --server 7 --duration 5 --no-download

    Using local JSON server list: speed.json
    Selected server: 7
    You're testing from: xxx - 
    Ping: 10.27 ms  Jitter: 0.47 ms
    Download test is disabled
    Upload rate:    117.31 Mbps
    
    36 条回复    2025-07-17 19:53:40 +08:00
    wy315700
        1
    wy315700  
       19 天前
    现在都有基于 DPI 的精准限速了。
    molezznet
        2
    molezznet  
    OP
       19 天前
    @wy315700 不能愉快的 nas 传文件了
    wy315700
        3
    wy315700  
       19 天前
    @molezznet
    试试 SSH 协议,很多地方 DPI 对 SSH 不限速的
    a9k1n9
        4
    a9k1n9  
       19 天前
    [ ID] Interval Transfer Bitrate
    [ 5] 0.00-1.00 sec 512 KBytes 4.19 Mbits/sec
    [ 5] 1.00-2.00 sec 5.50 MBytes 46.1 Mbits/sec
    [ 5] 2.00-3.00 sec 5.62 MBytes 47.2 Mbits/sec
    [ 5] 3.00-4.00 sec 6.00 MBytes 50.3 Mbits/sec
    [ 5] 4.00-5.00 sec 6.50 MBytes 54.5 Mbits/sec
    [ 5] 5.00-6.00 sec 6.88 MBytes 57.7 Mbits/sec
    [ 5] 6.00-7.00 sec 8.25 MBytes 69.2 Mbits/sec
    [ 5] 7.00-8.00 sec 7.50 MBytes 62.9 Mbits/sec
    [ 5] 8.00-9.00 sec 7.00 MBytes 58.7 Mbits/sec
    [ 5] 9.00-10.00 sec 5.62 MBytes 47.2 Mbits/sec
    [ 5] 10.00-11.00 sec 4.25 MBytes 35.7 Mbits/sec
    [ 5] 11.00-12.00 sec 4.50 MBytes 37.7 Mbits/sec
    [ 5] 12.00-13.00 sec 6.62 MBytes 55.6 Mbits/sec
    [ 5] 13.00-14.00 sec 4.00 MBytes 33.6 Mbits/sec
    [ 5] 14.00-15.00 sec 6.25 MBytes 52.4 Mbits/sec
    [ 5] 15.00-16.00 sec 5.50 MBytes 46.1 Mbits/sec
    [ 5] 16.00-17.00 sec 6.50 MBytes 54.5 Mbits/sec
    [ 5] 17.00-18.00 sec 6.62 MBytes 55.6 Mbits/sec
    [ 5] 18.00-19.00 sec 6.88 MBytes 57.7 Mbits/sec
    [ 5] 19.00-20.00 sec 6.75 MBytes 56.6 Mbits/sec
    [ 5] 20.00-21.00 sec 5.50 MBytes 46.1 Mbits/sec
    [ 5] 21.00-22.00 sec 5.25 MBytes 44.0 Mbits/sec
    [ 5] 22.00-23.00 sec 5.38 MBytes 45.0 Mbits/sec
    [ 5] 23.00-24.00 sec 6.00 MBytes 50.4 Mbits/sec
    [ 5] 24.00-25.00 sec 4.50 MBytes 37.7 Mbits/sec
    [ 5] 25.00-26.00 sec 5.25 MBytes 44.0 Mbits/sec
    [ 5] 26.00-27.00 sec 7.12 MBytes 59.8 Mbits/sec
    [ 5] 27.00-28.00 sec 7.00 MBytes 58.7 Mbits/sec
    [ 5] 28.00-29.00 sec 6.88 MBytes 57.7 Mbits/sec
    [ 5] 29.00-30.00 sec 5.12 MBytes 43.0 Mbits/sec
    [ 5] 30.00-31.00 sec 6.75 MBytes 56.6 Mbits/sec
    [ 5] 31.00-32.00 sec 6.25 MBytes 52.4 Mbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval Transfer Bitrate Retr
    [ 5] 0.00-32.23 sec 190 MBytes 49.6 Mbits/sec 3566 sender
    [ 5] 0.00-32.00 sec 189 MBytes 49.4 Mbits/sec receiver

    iperf Done.


    本地 G 口,对端 G 口,没上过 20MB/s ,连 15MB/s 都很难稳住~

    美西 CMIN2
    molezznet
        5
    molezznet  
    OP
       19 天前
    @a9k1n9 不, 我的意思是国内的节点之间, 倒不是为了梯子的速度
    molezznet
        6
    molezznet  
    OP
       19 天前
    @wy315700 那我试试用 sftp 测试
    traffic
        7
    traffic  
       19 天前
    请用 https://ex.noerr.eu.org/t/1135702

    我这里某地移动,测试下来只要伪装是 https 就能跑起来,伪装什么网站不影响
    molezznet
        8
    molezznet  
    OP
       19 天前
    @traffic 谢谢,原来是真的, 已经有人发现了
    jayhuuu
        9
    jayhuuu  
       19 天前 via iPhone
    上海移动,前段时间移机后发现 jellyfin 放大概 10s 左右就开始卡了,群晖网页上下载一开始能跑满上传,过几秒就卡到几百 k/s 。这个时候测速上传也只有 5-6Mbps/s ,是不是和 OP 情况一样?
    xcodeghost
        10
    xcodeghost  
       19 天前
    我们公司防火墙都可以根据不同协议进行限速,运营商估计更加厉害
    CloudyKumori
        11
    CloudyKumori  
       19 天前
    我 NAS 也是一样,不管是 easytier 还是 zerotier 还是 tailscale 都是限速限得很明显
    molezznet
        12
    molezznet  
    OP
       19 天前
    https://ex.noerr.eu.org/t/1118730
    @jayhuuu 对, 我也是上海移动, 看到帖子了, 就是精准限制上传了,一般是 7M 带宽,狠点就是 1M 带宽,非常精确不是波动


    @CloudyKumori 对,v6 直连也限速

    不能愉快的玩 nas 了,只能消费白名单网盘
    @xcodeghost 是啊, 但是技术用在这吃相太难看, 花钱就买了个下行带宽 ……
    rulagiti
        13
    rulagiti  
       19 天前
    跨地域跨运营商了没
    molezznet
        14
    molezznet  
    OP
       19 天前
    @rulagiti 没有, 都是本地的移动
    Ipsum
        15
    Ipsum  
       18 天前
    西南电信实测,https ,tls 不限速,其他 tcp ,udp ,http 均限速 5m 。wg 类的 udp 组网已死。现在同城组网,全靠 ovpn 的 tcp 苟活着。op 可以试试。
    molezznet
        16
    molezznet  
    OP
       18 天前
    @Ipsum 用的 tailscale 组网, 现在是强制走 derp 还能勉强用用。
    sinycn1
        17
    sinycn1  
       18 天前
    @Ipsum openvpn 是不是也是 5M ?我走的 TCP 6443 端口
    thereone
        18
    thereone  
       18 天前
    当然可以,不要太简单了这个是城域网必须有的设备,我自己都可以搭建一个

    还有做异地互联,现在 udp 控制的异常严格的情况下我最推荐的总是 softether ,只要有 ipv6 就可以直连使用纯 tcp 走 https ssl 协议。基本不会遇到限速。我这里 100m 上传跑满没有任何问题还是跨省的。
    thereone
        19
    thereone  
       18 天前


    molezznet
        20
    molezznet  
    OP
       18 天前
    @thereone 图片看不到,softether 很久不用了, 难道现在又有用武之地了
    Ipsum
        21
    Ipsum  
       18 天前
    @sinycn1 不是,我现在就靠 openvpn 跑满。端口默认的 1194 tcp 。
    stella
        22
    stella  
       18 天前
    尝试给你被限速的连接搞个 http 头,host 带 speedtest 字样?
    molezznet
        23
    molezznet  
    OP
       18 天前
    @thereone 只能试试看 softether 加密了, 现在 v6 纯直连 iperf3 这些 tcp 测试肯定是限速的
    user100saysth
        24
    user100saysth  
       18 天前
    @Ipsum #15 老哥 https tls 可解除限速吗,我开了 tls 和 https 还是不行,能描述一下你的配置吗
    Ipsum
        25
    Ipsum  
       18 天前
    @user100saysth 你不如先描述你的配置。自签的证书用天翼云的域名
    user100saysth
        26
    user100saysth  
       17 天前
    @Ipsum #25 老哥,借一步说话行不,base64 czEzMzk4NDAyNjM0
    slowmist
        27
    slowmist  
       17 天前
    @thereone 这是什么监控设备?
    molezznet
        28
    molezznet  
    OP
       17 天前
    https://imgur.com/rwuaWHi

    softether 支持 家宽 ipv6:5555 直连咯?
    thereone
        29
    thereone  
       17 天前
    @slowmist #27 Panabit_NTM 流量回溯用的,要部署一个也很简单个人用用没有什么大问题。
    thereone
        30
    thereone  
       17 天前
    @molezznet #28 又没有封禁过,不是用来过墙使用没有任何问题。
    molezznet
        31
    molezznet  
    OP
       17 天前
    @traffic 上海移动, 试了架设 webdav tls 。https , 还是会有限速 。wget https://speedtest.123213.xyz/1.mp4 只有 1M/s , 不过 axel 多线程倒是能跑道 10M/s

    @jayhuuu 上海移动
    molezznet
        32
    molezznet  
    OP
       17 天前
    @thereone 我去在 nas 部署试试看咯
    onion83
        33
    onion83  
       17 天前
    《 5G-A 时代智慧大脑——智算板》 https://mp.weixin.qq.com/s/z3mIaO5nqrc-rMUCjIHM_A
    molezznet
        34
    molezznet  
    OP
       16 天前
    @Ipsum 打开了思路, 我在 webdav https 里用 migu 作为一个子域名,似乎也有点用,可以跑满了
    cjydawn
        35
    cjydawn  
       16 天前
    山东联通也发现了这个问题。回老家想连一下家里 nas ,发现上传速度很慢,限制在 3Mbps 还一直丢包。测来测去只有是标准端口的 https 才行,而且不能用 http3 的 udp 协议。
    molezznet
        36
    molezznet  
    OP
       15 天前
    @cjydawn udp 别想了, 还是要靠 tcp 了
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2620 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:59 · PVG 12:59 · LAX 21:59 · JFK 00:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.