Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make response work with utls #24

Open
3052 opened this issue Aug 31, 2024 · 0 comments
Open

make response work with utls #24

3052 opened this issue Aug 31, 2024 · 0 comments

Comments

@3052
Copy link

3052 commented Aug 31, 2024

currently the response from https://tls.peet.ws/api/all cannot be used with uTLS. with this:

https://pkg.go.dev/github.com/refraction-networking/utls#ClientHelloSpec.FromRaw

it fails because the API does not return the raw data, unlike other options:

https://tlshello.agwa.name/

and with these:

https://pkg.go.dev/github.com/refraction-networking/utls#ClientHelloSpec.ImportTLSClientHello
https://pkg.go.dev/github.com/refraction-networking/utls#ClientHelloSpec.ImportTLSClientHelloFromJSON

it fails because the response is a different format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant