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

56 天前
 molezznet

最近发现从 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
3299 次点击
所在节点    宽带症候群
36 条回复
wy315700
56 天前
现在都有基于 DPI 的精准限速了。
molezznet
56 天前
@wy315700 不能愉快的 nas 传文件了
wy315700
56 天前
@molezznet
试试 SSH 协议,很多地方 DPI 对 SSH 不限速的
a9k1n9
56 天前
[ 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
56 天前
@a9k1n9 不, 我的意思是国内的节点之间, 倒不是为了梯子的速度
molezznet
56 天前
@wy315700 那我试试用 sftp 测试
traffic
56 天前
请用 https://www.v2ex.com/t/1135702

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


@CloudyKumori 对,v6 直连也限速

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

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


molezznet
55 天前
@thereone 图片看不到,softether 很久不用了, 难道现在又有用武之地了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1144916

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX