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

TLS CHIPER SUITE #476

Open
PutinEvilRex opened this issue Dec 21, 2022 · 18 comments
Open

TLS CHIPER SUITE #476

PutinEvilRex opened this issue Dec 21, 2022 · 18 comments
Labels
enhancement New feature or request good first issue Good for newcomers network Network layer technical problem

Comments

@PutinEvilRex
Copy link

Hello. Whats up?
I have a problem with your app Intra for dns over https.
I live in Turkmenistan, and here your app is blocked by CLIENT HELLO message. Intra have specefic TLS Fingerprint. My country blocked this fingerprint. I need to change TLS chiper suite of an app. But I am not programmer, I dont know what i need to do. If it is not difficult for you. Please tell me how can I solve this problem. Your help will give us Freedom in internet.

@PutinEvilRex
Copy link
Author

Please help

@bemasc bemasc added enhancement New feature or request network Network layer technical problem labels Jan 3, 2023
@bemasc
Copy link
Contributor

bemasc commented Jan 3, 2023

How were you able to determine that the blocking is based on the TLS fingerprint?

@PutinEvilRex
Copy link
Author

How were you able to determine that the blocking is based on the TLS fingerprint?

I have checked it in Wireshark. Intra sends client hello message but server is not responding with Server Hello.

V2rayng wasn't working with this problem too. But I put Chrome chiper suite in v2rayng app, and it is working now. But I don't know how to do it with Intra.

@bemasc bemasc added the good first issue Good for newcomers label Jan 3, 2023
@bemasc
Copy link
Contributor

bemasc commented Jan 3, 2023

Thanks. This could be done using uTLS but it would require a code change.

@PutinEvilRex
Copy link
Author

Thanks. This could be done using uTLS but it would require a code change.

It is very hard for me. What can I do? Maybe you have another solution?

@bemasc
Copy link
Contributor

bemasc commented Jan 3, 2023

You could try using the Secure DNS support in your platform. Most operating systems and browsers now have built-in support.

@PutinEvilRex
Copy link
Author

You could try using the Secure DNS support in your platform. Most operating systems and browsers now have built-in support.

I've checked it too. It works , but it is not opening YouTube. I have ability to ping YouTube.com. but YouTube is not working.

I've tried analog of Intra app. It was Nebula from Playmarket. I have connection to the DNS over Https server with Nebula but YouTube is not working.

Only intra opening YouTube. Another app do not work with YouTube.

@PutinEvilRex
Copy link
Author

All VPS IP is blocked in our country. Only php shared hosting ip is not blocked here it because government understands that the people haven't ability to create VPN server on shared hosting. And all public DNS over Https servers is blocked too. But I am using shared hosting like proxy for Google DNS. It is very important for us. Only intra helps us to bypass great firewall

@PutinEvilRex
Copy link
Author

If you have some idea what to do. Please tell me. A am not asking only for me, I am asking for my people. If you help us thousands will have ability to watch YouTube for free

@bemasc
Copy link
Contributor

bemasc commented Jan 3, 2023

Could you share a packet capture (i.e. PCAP file) of the Intra traffic from Wireshark? Intra should be splitting the TLS ClientHello into two TCP segments, so I'm interested to see if that is working correctly and is visible in your PCAP.

(Please make sure not to publish any personally identifying information in the PCAP, such as your client IP address.)

@fortuna
Copy link
Contributor

fortuna commented Jan 3, 2023

@PutinEvilRex does your DoH resolver work with other apps like https://github.com/SadeghHayeri/GreenTunnel ?

I tested and it seems that ClientHello splitting still works in Turkmenistan to bypass SNI-based blocking. It's strange that they would reassemble to fingerprint TLS, but not to block by SNI.

Yeah, pcaps would help. If you'd like, you can share with me and we can take a look. You can send it to me via chat on Keybase: https://keybase.io/fortuna.

Or paste an anonymized text output of tshark/tcpdump here.

@PutinEvilRex
Copy link
Author

You can take a look.

@PutinEvilRex
Copy link
Author

Thanks anyway. Thanks for your attention.

@fortuna
Copy link
Contributor

fortuna commented Jan 3, 2023

Thanks for the file.

I see that the server keeps resending the SYN/ACK. That suggests to me that it never sees the client ACK:
image

I'm deleting the posts with the PCAP and IP addresses because those are sensitive information.

@Jigsaw-Code Jigsaw-Code deleted a comment from PutinEvilRex Jan 3, 2023
@Jigsaw-Code Jigsaw-Code deleted a comment from bemasc Jan 3, 2023
@fortuna
Copy link
Contributor

fortuna commented Jan 3, 2023

@bemasc had mentioned that we get a TCP reset. Some examples:
image

image

@fortuna
Copy link
Contributor

fortuna commented Jan 3, 2023

@bemasc also observed that the TTL for the reset (124) is different than that of the SYN/ACK (49):
image
image

@fortuna
Copy link
Contributor

fortuna commented Jan 3, 2023

I noticed that the SYN/ACK retransmissions stop after the TCP RST, which makes me guess that the RST is also sent to the server. Ignoring the RST on the client side would not be enough.

@Ne0xor16
Copy link

Ne0xor16 commented Feb 2, 2024

How were you able to determine that the blocking is based on the TLS fingerprint?

I have checked it in Wireshark. Intra sends client hello message but server is not responding with Server Hello.

V2rayng wasn't working with this problem too. But I put Chrome chiper suite in v2rayng app, and it is working now. But I don't know how to do it with Intra.

А как ты поменял на v2rayng отпечаток?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers network Network layer technical problem
Projects
None yet
Development

No branches or pull requests

4 participants