Git Product home page Git Product logo

Comments (12)

yukinotenshi avatar yukinotenshi commented on May 18, 2024

the same issue persist in Ubuntu-18.04 amd64 using go version 1.8

from utls.

sergeyfrolov avatar sergeyfrolov commented on May 18, 2024

Could be a server issue. Did you take a look at which unexpected message is it in wireshark?

from utls.

yukinotenshi avatar yukinotenshi commented on May 18, 2024

@sergeyfrolov
image

This is what I got in wireshark

from utls.

yukinotenshi avatar yukinotenshi commented on May 18, 2024

Comparison when using CHROME_62
image

from utls.

sergeyfrolov avatar sergeyfrolov commented on May 18, 2024

When I visit https://104.27.159.141 in Chrome 83 I get this:

This site can’t provide a secure connection
104.27.159.141 uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Unsupported protocol
The client and server don't support a common SSL protocol version or cipher suite.

Looks like that server needs to update TLS config and/or implementation.

from utls.

yukinotenshi avatar yukinotenshi commented on May 18, 2024

When I visit https://104.27.159.141 in Chrome 83 I get this:

This site can’t provide a secure connection
104.27.159.141 uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Unsupported protocol
The client and server don't support a common SSL protocol version or cipher suite.

Looks like that server needs to update TLS config and/or implementation.

I got the same exact problem when running on google.com or even facebook as in the example as well, so I believe it's not a server side issue. Also for the problem you mentioned, it's due to the IP owned by cloudflare. You need to enter the hostname so it can resolve it and look if the domain is set with their SSL or not.

from utls.

rod-hynes avatar rod-hynes commented on May 18, 2024

I can confirm this issue with HelloChrome_83 and cloudflare.com:443. I believe this is due to this extension not being implemented:

utls/u_parrots.go

Lines 280 to 282 in ada0bb9

&FakeCertCompressionAlgsExtension{[]CertCompressionAlgo{
CertCompressionBrotli,
}},

When you comment this extension out, the TLS handshake succeeds. Of course, that's no longer Chrome 83.

Fwiw, a fix exists: #22. We cannot merge that here due to license issues.

Perhaps we can develop our own implementation of certificate compression, or check for another one.

from utls.

sergeyfrolov avatar sergeyfrolov commented on May 18, 2024

Perhaps we can.

Or perhaps @Yawning can agree to dual license his uTLS changes so we can pull them here. I am pretty busy right now, since I have a thesis defense next month, so I would really appreciate help with the library.

from utls.

Yawning avatar Yawning commented on May 18, 2024

Or perhaps @Yawning can agree to dual license his uTLS changes so we can pull them here.

I'll need to think about this.

from utls.

yukinotenshi avatar yukinotenshi commented on May 18, 2024

I've resolved some of the issues that I received. It turns out that for some websites (example: www.something.com) I need to put something.com as the ServerName in tls.Config and dial the www.something.com. Putting the www. subdomain in tls.Config will result in handshake error

from utls.

VeNoMouS avatar VeNoMouS commented on May 18, 2024

Confirmed, @Yawning works, UTLS fails with anything using TLS 1.3 with unexpected message on the handshake

from utls.

i542873057 avatar i542873057 commented on May 18, 2024

Confirmed, @Yawning works, UTLS fails with anything using TLS 1.3 with unexpected message on the handshake

I have meet the same problem like you. Do you have any solution?

Any help to me will be appreciated!

from utls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.