V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wukaige  ›  全部回复第 1 页 / 共 6 页
回复总数  104
1  2  3  4  5  6  
1 天前
回复了 zachariahss 创建的主题 职场话题 关于个人境外收入报税问题
我就想问 4000 刀一个月的境外工作哪里找
1 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@Kinnice #18

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

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

还是不行,dns 能正常解析,就是加载不了数据
1 天前
回复了 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
```
1 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
@huihuimoe

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

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

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

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

手机没有 nft 命令
1 天前
回复了 wukaige 创建的主题 Linux 有了解 iptables 的大佬吗,需要帮助!
6 天前
回复了 syh2 创建的主题 问与答 分享你们的电话卡套餐
联通大王卡:19 月租 + 70G 通用流量 + 30G 定向流量
6 天前
回复了 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 点多就非常困了,可以试试
7 天前
回复了 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  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3157 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 12:25 · PVG 20:25 · LAX 04:25 · JFK 07:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.