Skip to content

Conversation

@rp-hello
Copy link
Contributor

@rp-hello rp-hello commented Mar 31, 2024

Chromium will send SVCB/HTTPS type dns query, which cause dns leak.

To prvent dns leak,

  • If the dns query type is not implemented, should return NOTIMP error, not just send data to original destination.
  • If the dns query has wrong format domain, should return FORMERR error, not send data to original destination.

@rp-hello
Copy link
Contributor Author

rp-hello commented Mar 31, 2024

Here is similar issue XTLS/Xray-core#3006.
Could we just introduce nonIPQuery option?

  • when nonIPQuery=drop, just return NOTIMP, and this is default behavior
  • when nonIPQuery=skip, follow the original chain, call connWriter.WriteMessage

@github-actions
Copy link
Contributor

It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

@xiaokangwang
Copy link
Contributor

I think it would be better if we guard this new behavior behind a flag or option, otherwise it would take significantly longer time decide if a regression is justified.

@xiaokangwang xiaokangwang added the Extensive Review Required Require an extensive review from organization owner, cannot be merged without owner approval label Aug 19, 2024
@rp-hello
Copy link
Contributor Author

rp-hello commented Dec 13, 2024

@xiaokangwang Please approve GitHub actions on this PR.

@xiaokangwang
Copy link
Contributor

xiaokangwang commented Jan 18, 2025

Sadly I didn't see a place where I can approve it. Let's me have a try... Done.

@github-actions
Copy link
Contributor

It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

local and others added 5 commits July 3, 2025 17:13
```
$ go generate
...
proto.go
fork/exec ../Cellar/protobuf/28.3/bin/protoc: no such file or directory
exit status 1
proto.go:5: running "go": exit status 1
context_test.go
functions_test.go
v2ray_test.go
$ ls -l `which protoc`
lrwxr-xr-x 1 local admin 34 Nov  1 13:56 /opt/homebrew/bin/protoc -> ../Cellar/protobuf/28.3/bin/protoc
```
@xiaokangwang xiaokangwang merged commit ccedd48 into v2fly:master Jul 3, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Extensive Review Required Require an extensive review from organization owner, cannot be merged without owner approval planned

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants