-
If sniffing is enabled on a Socks inbound, rather than using the SNI just for routing, it seems that the IP the packet is sent to is ignored, and a DNS resolution is used for the sniffed domain. I did not expect this. Is this desired or a bug?! P.S. I'm not using FakeDNS. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
It is legacy code. There was a pull request #1271 for this but did not get merged. |
Beta Was this translation helpful? Give feedback.
-
Always 600 for all dns. https://github.com/v2fly/v2ray-core/blob/master/app/dns/dnscommon.go#L196
2024年6月9日 23:47:17 r3a1d3a1 ***@***.***>:
…
Btw, do you know what's the TTL for FakeDNS responses? I can't find where it's set in the code[https://github.com/v2fly/v2ray-core/blob/master/app/dns/fakedns/fake.go].
—
Reply to this email directly, view it on GitHub[#2994 (reply in thread)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AMCYAJXBK2VZ4GSU7TYBLU3ZGR2ILAVCNFSM6AAAAABHF4PEPSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOMJZG44TS].
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
#1528
need to add new mothods
2024年6月9日 23:47:17 r3a1d3a1 ***@***.***>:
…
Btw, do you know what's the TTL for FakeDNS responses? I can't find where it's set in the code[https://github.com/v2fly/v2ray-core/blob/master/app/dns/fakedns/fake.go].
—
Reply to this email directly, view it on GitHub[#2994 (reply in thread)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AMCYAJXBK2VZ4GSU7TYBLU3ZGR2ILAVCNFSM6AAAAABHF4PEPSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOMJZG44TS].
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
It is legacy code. There was a pull request #1271 for this but did not get merged.