<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "Menlo"), DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, -apple-system),BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: var(--default-regular-font, -apple-system),BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1429#note_1219572941">discussion</a>:
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I wrote:</p>
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1.5rem; box-shadow: inset 4px 0 0 0 #dcdcde; border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: 0.5rem 0;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">Anyway I think I was able to reproduce it partially with gnutls-serv/gnutls-cli:</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Actually this only happens with KTLS enabled on the system.</p>
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1.5rem; box-shadow: inset 4px 0 0 0 #dcdcde; border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: 0.5rem 0;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">export GNUTLS_NEXT_CLI=gnutls-cli</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">It looks like GNUTLS_NEXT_SERV also needs to be set (otherwise the complete test case is skipped).</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">With this, I cannot reproduce the issues: the server responds with Server Hello in the second handshake without HRR, and thus there is no chance that the client sends Client Hello twice.</p>
<p dir="auto" style="color: #333238; margin: 0;" align="initial">I'm attaching the logs (<a href="https://gitlab.com/gnutls/gnutls/uploads/5f5d1bcdb1b3072b92b89e774a380192/o-cli-1.log" data-canonical-src="/uploads/5f5d1bcdb1b3072b92b89e774a380192/o-cli-1.log" data-link="true" class="gfm" style="margin-top: 0;">o-cli-1.log</a> and <a href="https://gitlab.com/gnutls/gnutls/uploads/c602c589e548cb19c171417b069598ba/o-srv-1.log" data-canonical-src="/uploads/c602c589e548cb19c171417b069598ba/o-srv-1.log" data-link="true" class="gfm">o-srv-1.log</a>) and <a href="https://gitlab.com/gnutls/gnutls/uploads/9a201c808cbdd0c282a3593fe7a19655/hrr.pcapng" data-canonical-src="/uploads/9a201c808cbdd0c282a3593fe7a19655/hrr.pcapng" data-link="true" class="gfm">hrr.pcapng</a>. Could you take a look?</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1429#note_1219572941">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/b142e0bc03ef4c8223670fa97e0ceef7/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1429#note_1219572941"}}</script>
</p>
</div>
</body>
</html>