V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wukaige  ›  全部回复第 2 页 / 共 7 页
回复总数  125
1  2  3  4  5  6  7  
26 天前
回复了 zzerd 创建的主题 推广 自已家的赣南脐橙开卖,给 v 友抽几箱
观世音菩萨保佑
28 天前
回复了 zachariahss 创建的主题 职场话题 关于个人境外收入报税问题
我就想问 4000 刀一个月的境外工作哪里找
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Kinnice #18

注释掉所有 udp 规则后,还是不行,并且原来能正常上网的 欧易 也出问题了
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Kinnice #15

有一个奇怪的情况,我开启 wifi ,然后设置 wifi 的代理为 127.0.0.1:7890 ,可以正常访问 youtueb app ,关闭 wifi 后,还是能正常访问,过一天后(可能是 dns 缓存失效时间),就访问不了了
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Kinnice #15

还是不行,dns 能正常解析,就是加载不了数据
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Kinnice

佬,我加了几行配置:

```
{
"query_type": "HTTPS",
"server": "dns_block"
},
...

{
"protocol": "quic",
"outbound": "REJECT"
},

```

YouTube 提示 “你没有联网,请检查网络连接”

sing-box log:
```
00 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;34m776360169 [0m 0ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 0ms] inbound/tun[tun-in]: inbound packet connection from 172.18.0.1:20204
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 0ms] inbound/tun[tun-in]: inbound packet connection to 120.80.80.80:53
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 0ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;79m2750227519 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50334
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;99m1486284115 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50340
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;79m2750227519 [0m 2ms] inbound/mixed[mixed-in]: inbound connection to youtubei.googleapis.com:443
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;99m1486284115 [0m 0ms] inbound/mixed[mixed-in]: inbound connection to i.ytimg.com:443
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;79m2750227519 [0m 4ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;79m2750227519 [0m 4ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to youtubei.googleapis.com:443
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;99m1486284115 [0m 6ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;99m1486284115 [0m 7ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to i.ytimg.com:443
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 137ms] dns: exchanged youtubei.googleapis.com A youtubei.googleapis.com. 48 IN A 142.250.198.74
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 137ms] dns: exchanged youtubei.googleapis.com A youtubei.googleapis.com. 48 IN A 142.250.77.10
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 137ms] dns: exchanged youtubei.googleapis.com A youtubei.googleapis.com. 48 IN A 142.250.196.202
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 137ms] dns: exchanged youtubei.googleapis.com A youtubei.googleapis.com. 48 IN A 142.250.204.42
+0800 2024-11-20 10:59:09 [36mINFO [0m [ [38;5;49m3105964833 [0m 137ms] dns: exchanged youtubei.googleapis.com OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0030, udp: 512 SUBNET: 1.0.1.0/32/24
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;150m2746803334 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50366
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;44m2308182003 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50372
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;150m2746803334 [0m 0ms] inbound/mixed[mixed-in]: inbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;44m2308182003 [0m 0ms] inbound/mixed[mixed-in]: inbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;80m2529361728 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50388
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;150m2746803334 [0m 3ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;44m2308182003 [0m 3ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;150m2746803334 [0m 4ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;44m2308182003 [0m 3ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;80m2529361728 [0m 3ms] inbound/mixed[mixed-in]: inbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;80m2529361728 [0m 5ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;80m2529361728 [0m 5ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to redirector.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;170m2162216858 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50390
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;170m2162216858 [0m 0ms] inbound/mixed[mixed-in]: inbound connection to rr1---sn-i3belne6.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;145m3191687809 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50404
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;145m3191687809 [0m 1ms] inbound/mixed[mixed-in]: inbound connection to rr5---sn-i3b7knsl.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;48m2237773047 [0m 0ms] inbound/mixed[mixed-in]: inbound connection from 127.0.0.1:50408
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;48m2237773047 [0m 2ms] inbound/mixed[mixed-in]: inbound connection to rr4---sn-i3b7kns6.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;170m2162216858 [0m 9ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;145m3191687809 [0m 8ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;170m2162216858 [0m 9ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to rr1---sn-i3belne6.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;145m3191687809 [0m 8ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to rr5---sn-i3b7knsl.googlevideo.com:443
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;48m2237773047 [0m 9ms] router: found package name: com.google.android.youtube
+0800 2024-11-20 10:59:11 [36mINFO [0m [ [38;5;48m2237773047 [0m 9ms] outbound/shadowsocks[🇭🇰 香港-A-02]: outbound connection to rr4---sn-i3b7kns6.googlevideo.com:443
```
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@huihuimoe

那 dns 配置怎么改比较好,指导一下
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@youtoshell

box for root 我试过了,一样的问题,不知道是不是我的 dns 配置有问题,我的 iptables 规则就是参考 box for root 项目的
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@wukaige #10

浏览器
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Beebird

手机里面能访问 youtube 和 google play 的网页版,就是 app 有问题
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@zealot0630

手机没有 nft 命令
28 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
33 天前
回复了 syh2 创建的主题 问与答 分享你们的电话卡套餐
联通大王卡:19 月租 + 70G 通用流量 + 30G 定向流量
33 天前
回复了 bigbugbag 创建的主题 程序员 macOS 中有 Oh My Zsh 的上位替代么?
@bigbugbag #103

可以的,开启 zmodload zsh/zprof 后,在 zsh 里面按几次回车键,再运行 zprof ,会显示函数调用次数与耗时,类似于下面这种:

2) 10 397.99 39.80 14.63% 397.99 39.80 14.63% _atuin_preexec
早上 5 点起床,晚上 8 点多就非常困了,可以试试
34 天前
回复了 bigbugbag 创建的主题 程序员 macOS 中有 Oh My Zsh 的上位替代么?
```
# zsh boot time report
start=$(date +%s.%N)
zmodload zsh/zprof

...

zprof | head -n 20; zmodload -u zsh/zprof
echo "Runtime was: $(echo "$(date +%s.%N) - $start" | bc)"
```

用 zprof 看看耗时的是哪些插件,然后着手优化就像,之前 zsh shell 启动需要 1s 左右,砍掉大部分耗时插件再用 zinit 延迟加载,现在只要 0.1 s 左右。
学 rust ,赌一个未来。
想赚快钱去直播吧,我弟大一,一天直播几个小时能拿几百。
1  2  3  4  5  6  7  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1328 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 23:42 · PVG 07:42 · LAX 15:42 · JFK 18:42
Developed with CodeLauncher
♥ Do have faith in what you're doing.