[openssl/openssl] 69055b: Add QUIC stateless reset test

Neil Horman noreply at github.com
Wed Jan 31 14:23:33 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 69055b2ceca9e86e536ab17c862e46734c1a61de
      https://github.com/openssl/openssl/commit/69055b2ceca9e86e536ab17c862e46734c1a61de
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  Add QUIC stateless reset test

QUIC supports the concept of stateless reset, in which a specially
crafted frame is sent to a client informing it that the QUIC state
information is no longer available, and the connection should be closed
immediately.  Test for proper client support here

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23384)


  Commit: d2e7855f5bdb2f817f6adb7ce6562505ec244474
      https://github.com/openssl/openssl/commit/d2e7855f5bdb2f817f6adb7ce6562505ec244474
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M ssl/quic/quic_port.c

  Log Message:
  -----------
  Check all frames for stateless reset conditions

In writing the quic stateless reset test we found that the quic rx code
wasn't checking for stateless reest conditions, as the SRT frames were
getting discarded due to failed lcdim lookups.  Move the SRT check above
the lcdim lookup in the rx path to ensure we handle SRT properly in the
client.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23384)


Compare: https://github.com/openssl/openssl/compare/5a25177d1b07...d2e7855f5bdb


More information about the openssl-commits mailing list