<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/asofoinlove">ASoasofoFoInLoveasorr illov</a>
commented:
</p>
<div style="">
<p dir="auto">Thanks. Ya.. I understand . But our ISP doing it to some extent , may be for a group of IPs.
I am trying to connect to a HTTPS server ..
I can open it via Browser or my code using JAVA HTTPSURLConnection class .</p>
<p dir="auto">But I fail to connect SAME via GNUTLS C client because I can not properly set ALPN via GNUTLS.
I think ALPN order in CLIENT HELLO message is wrong.</p>
<p dir="auto">I am attaching two PCAP files here.</p>
<p dir="auto">File -1 - Good . It can connect to server ( using CURL command)
File- 2 Bad - It can not connect to SAME server ( C code using GNUTLS 3,2,9 )</p>
<p dir="auto">( please note if I am in different network , the C client using GNUTLS (without settings ALPN) can open the website without any problem. )</p>
<p dir="auto">Can you please check attached PCAPs once.</p>
<p dir="auto">Only difference I see between two is - TLS Record length.
Thank you</p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/82be864227ba0873d4260556addfc357/1-gnutls-alpn-GOOD.pdf" class="gfm">1-gnutls-alpn-GOOD.pdf</a></p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/82ee8f969fe436ad46d0d08688239e4c/2-gnutls-alpn-BAD.pdf" class="gfm">2-gnutls-alpn-BAD.pdf</a>Thank you</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/951#note_301277740">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/ac5163fb6bea79d3699028fdc61fcac2/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/951#note_301277740"}}</script>
</p>
</div>
</body>
</html>