Repository navigation
Direct/Freedom outbound: Skip domain resolution and finalRules when using sockopt.dialerProxy - #6742
Conversation
…ialerProxy #6058 (comment) When using dialerProxy, the target domain should not be resolved to an IP. Also, with dialerProxy freedom is no longer the final outbound, which makes finalRules invalid, so finalRules should not be applied at all.
|
据说下游会在 freedom 自己搞一个 dialerProxy |
|
@patterniha 话说其它出站有没有这问题?
比如说下一棒是 VLESS,那是代理协议,dial 到哪个 IP 完全取决于 VLESS address,跟上一棒 Freedom 拿到的域名没任何关系 |
|
当时大概是说 v2rayNG 可能会在 freedom 用到 dialerProxy |
|
如果是 freedom + dialerProxy VLESS 并且 AsIs 那么就会 DNS 泄露 |
|
v2rayNG 那个用法是 dialerProxy 到 Freedom 以吃到 fragment/noise,不是反过来 我看了下我以前说的 #6058 (comment) #6058 (comment) #6058 (comment) 重复说放过 dialerProxy, @Meo597 你看下他这个 PR 可以合了吗 |
? In other outbounds, the domain is directly passed to the dialer and is not resolved, It is also the same in freedom without finalRules, but with finalRules, the domain is resolved twice, while it should only be resolved in the dialer. |
now v2rayNG supports finalMask. |
|
@patterniha 那没事了我就是确认下,等 @Meo597 看过这个 PR 没问题就行了,话说禁掉了很多奇怪的配置,尽快更新文档 Freedom 的 fragment/noise 快被删了,不过 v2rayNG 那个是它自定义了 dialer,而不是 dialerProxy,可能 @Meo597 想岔了 FinalRules 目前在客户端的作用主要是只放行 VLESS reverse 访问授权网段,先考虑跑裸 core,在 v2rayNG 上得自定义配置 @2dust 有兴趣的话可以看一下 |
我之前理解成反过来,自动脑补成 NG 那边的 freedom 必须要搞点花活才能用,闹了个乌龙
解析两次不是啥问题有 cache
这样的话就没问题了可以合并,DNS 泄露的问题解决了 |
|
文档正在弄,天黑前可以搞定 |
确实是自定义了 dialer 但不是 dialerProxy, 至于自定义配置跑 VLESS Reverse,这个只能 |
No, the dialer may be on another server, Also, applying finalRules is not guaranteed because the domain may be resolved to a blocked-IP in the dialer, but not in current server (unless we pass the resolved ip instead of domain) |
|
我意思是这个问题已经不存在了,但仍然会解析两次,有缓存,finalRules 不会导致变慢 |
finalRules when using sockopt.dialerProxy
#6058 (comment)
When using dialerProxy, the target domain should not be resolved to an IP. Also, with dialerProxy freedom is no longer the final outbound, which makes finalRules invalid, so finalRules should not be applied at all.