通过软路由科学时,安卓客户端访问 V 站异常卡顿

45 天前
 xiaoke

一个小问题困扰了我很久,各位看看问题出在哪里? 使用同一机场前提下: 场景 1:在安卓手机使用 nekobox+“v2ex”客户端时,访问 v 站很丝滑。 场景 2:在软路由端使用 dae (大鹅)科学,手机通过 Wi-Fi 使用 V2EX 访问,首次必然卡顿上十秒才能显示内容,后面打开帖子速度正常,是不是 dae 配置有问题?(作为对比,此时若用手机浏览器直接访问 v 站则很顺畅)

dae 配置文件如下: global { log_level: warn tproxy_port: 12345 allow_insecure: true check_interval: 30s check_tolerance: 50ms lan_interface: ens18 wan_interface: auto udp_check_dns:'dns.google.com:53,8.8.8.8,2001:4860:4860::8888' tcp_check_url: 'http://cp.cloudflare.com,1.1.1.1,2606:4700:4700::1111' dial_mode: domain tcp_check_http_method: HEAD disable_waiting_network: true auto_config_kernel_parameter: true sniffing_timeout: 100ms tls_implementation: tls utls_imitate: chrome_auto tproxy_port_protect: true so_mark_from_dae: 0 }

subscription { my_sub: 'https://机场'

}

dns { ###ipversion_prefer: 4

upstream { googledns: 'tcp://dns.google.com:53' alidns: 'udp://dns.alidns.com:53' } routing { request { qname(geosite:cn) -> alidns qtype(a,aaaa) -> alidns qname(geosite:category-ads-all) -> reject qtype(aaaa) && !qname(geosite:cn) -> reject fallback: googledns } } }

group { proxy { policy: min_moving_avg filter: subtag(my_sub) ###&& name(keyword: '香港',keyword: '新加坡') ###filter: subtag(my_sub) }

}

routing { pname(NetworkManager) -> direct dip(224.0.0.0/3, 'ff00::/8') -> direct dscp(4) -> direct

dip(geoip:private) -> direct

### OpenAI
domain(geosite:openai) -> proxy

### AppleCN
domain(geosite:apple@cn) -> direct

### SteamCN
domain(geosite:steam@cn) -> direct

### telegram
dip(geoip:telegram) -> proxy

### WX DOMAIN
### domain(geosite:tencent) -> direct

### Github
domain(geosite:github) -> proxy

### Docker
domain(geosite:docker) -> proxy

### google
domain(geosite:google) -> proxy

### Youtube
domain(geosite:youtube) -> proxy
domain(suffix: ex.noerr.eu.org) -> proxy

### WX
domain(suffix: qlogo.cn) -> direct
domain(suffix: qq.com) -> direct
domain(suffix: wechat.com) -> direct
domain(suffix: qpic.cn) -> direct
domain(suffix: servicewechat.com) -> direct
domain(geosite:tencent) -> direct

### DIRECT MACHINE
# mac("BC:24:11:XX:XX:XX") -> direct

### Game
domain(geosite: category-games@cn) -> direct

### Write your rules below.
### 如果使用小米路由器,配置放行,避免内存泄露
domain(suffix: miwifi.com) -> direct(must)
### 小米系统更新 CDN
domain(suffix: cdn.pandora.xiaomi.com) -> direct(must)
### 小米电视
domain(suffix: tv.global.mi.com) -> direct(must)

### 禁用 Quic ,避免 CPU 高负载及内存泄露
l4proto(udp) && dport(443) -> block
domain(geosite:geolocation-!cn) -> proxy
dip(geoip:cn) -> direct
domain(geosite:china-list) -> direct
domain(geosite:cn) -> direct

fallback: proxy

}

1047 次点击
所在节点    宽带症候群
2 条回复
kaori
45 天前
没用过 dae ,但是这么慢估计是 dns 相关的问题
xiaoke
45 天前
@kaori YouTube 那些都很快,v 站网页版也很快,唯独用客户端时卡。怀疑是不是客户端有啥协议在尝试直连,一直不成功再 fallback ,但又无从排查起

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

https://ex.noerr.eu.org/t/1160974

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

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

© 2021 V2EX