<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libssl/tls13_record_layer.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libssl/tls13_record_layer.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libssl/tls13_record_layer.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-01T19:51:31Z</updated>
<entry>
<title>Split the handling of post handshake handshake messages into its</title>
<updated>2020-06-01T19:51:31Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-06-01T19:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0cd4ba86ab5d745b33a197e3095e6b002b211606'/>
<id>urn:sha1:0cd4ba86ab5d745b33a197e3095e6b002b211606</id>
<content type='text'>
own recv function. This simplifies tls13_recod_layer_read_internal()
greatly and makes the phh handling easier to reason about since the
code is no longer glued to the right hand edge of the terminal.

ok jsing
</content>
</entry>
<entry>
<title>Add a mechanism to set an alert in those parts of the read half of</title>
<updated>2020-06-01T07:59:49Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-06-01T07:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4c4033b4c5ffdc65b411c3e48abfe7488dec53c9'/>
<id>urn:sha1:4c4033b4c5ffdc65b411c3e48abfe7488dec53c9</id>
<content type='text'>
the record layer that don't do I/O themselves. Use this mechanism
to send a record overflow alert for messages that have overlong
plaintext or inner plaintext.

Fixes most of the remaining record-layer-limits failures of tlsfuzzer.

ok jsing
</content>
</entry>
<entry>
<title>Handle the case where we receive a valid 0 byte application data record.</title>
<updated>2020-05-29T17:54:58Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-29T17:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d69bc5b96c0ed03c35613c574f6f043725708ed7'/>
<id>urn:sha1:d69bc5b96c0ed03c35613c574f6f043725708ed7</id>
<content type='text'>
In this situation we cannot return zero bytes, as that signals EOF. Rather
we need to return TLS13_IO_WANT_POLLIN so tell the caller to call us again,
at which point we'll pull up the next record.

ok tb@
</content>
</entry>
<entry>
<title>Add additional length checks for TLSv1.3 plaintext and inner plaintext.</title>
<updated>2020-05-26T16:54:50Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-26T16:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8d0f08c23e55ba46334df26224d928ad096671e2'/>
<id>urn:sha1:8d0f08c23e55ba46334df26224d928ad096671e2</id>
<content type='text'>
Reminded by and ok beck@
</content>
</entry>
<entry>
<title>Provide the option to retry or return after post-handshake messages.</title>
<updated>2020-05-23T11:57:41Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-23T11:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3aebe4407e38a64005589dab70bb15ce7f7f5243'/>
<id>urn:sha1:3aebe4407e38a64005589dab70bb15ce7f7f5243</id>
<content type='text'>
In TLSv1.3 post-handshake handshake messages are used for key updates and
session tickets. These are in-band and mean that when the upper layer goes
to read application data, we can end up reading and having to process
handshake messages - this option changes whether we retry and read the
next TLS record, or if we return, signalling that we want more data to
be available.

ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>Revert 1.43 - this fix for PHH in blocking mode breaks SSL_accept and</title>
<updated>2020-05-20T14:58:33Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2020-05-20T14:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3a2e4416b54dfa6e39eb82ed91a930265a05305f'/>
<id>urn:sha1:3a2e4416b54dfa6e39eb82ed91a930265a05305f</id>
<content type='text'>
SSL_connect in blocking mode.

While this will probably need a rethink, until we land on a solution
for PHH in blocking mode, the breakage this causes is visible in
real things, and we've only managed to hit the PHH breakage in
a test case.

ok tb@
</content>
</entry>
<entry>
<title>Return TLS13_IO_WANT_POLLIN after processing post-handshake messages.</title>
<updated>2020-05-16T18:00:29Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-16T18:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=acf76599022d9cc260c6327bc31fd213ff8d5b58'/>
<id>urn:sha1:acf76599022d9cc260c6327bc31fd213ff8d5b58</id>
<content type='text'>
After post-handshake handshake messages have been processed, we need to
return TLS13_IO_WANT_POLLIN rather than TLS13_IO_WANT_RETRY. The latter
will cause us to try to read another TLS record, when there may not be
any data available - this will then block in the case of a blocking read.

This reverts part of r1.25.

Issue noticed by inoguchi@

ok beck@ tb@
</content>
</entry>
<entry>
<title>Remove a no longer relevant XXX comment.</title>
<updated>2020-05-13T17:54:26Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-13T17:54:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=de3b0c62e8ee2769d7c826e00c63bec870d1cf45'/>
<id>urn:sha1:de3b0c62e8ee2769d7c826e00c63bec870d1cf45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Propagate record overflows to the record layer and alert.</title>
<updated>2020-05-11T18:08:11Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-11T18:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6423e56fc083c24af016f600b9cd71874970c5a3'/>
<id>urn:sha1:6423e56fc083c24af016f600b9cd71874970c5a3</id>
<content type='text'>
ok beck@ tb@
</content>
</entry>
<entry>
<title>Add record version checks.</title>
<updated>2020-05-11T18:03:51Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-05-11T18:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=204f36c2801813e90c79fe8b14e633e73b4bb770'/>
<id>urn:sha1:204f36c2801813e90c79fe8b14e633e73b4bb770</id>
<content type='text'>
When legacy version is below TLSv1.2 ensure that the record version is
SSL3/TLS, however when the legacy version is set to TLSv1.2 require this
specifically.

ok beck@ tb@
</content>
</entry>
</feed>
