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

Support QUIC with the msg_callback and -trace in s_client #20914

Closed
wants to merge 26 commits into from

Commits on May 18, 2023

  1. Add initial QUIC support for the msg_callback

    At this stage we just support msg_callback on receipt of a datagram.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    f2cc537 View commit details
    Browse the repository at this point in the history
  2. Support trace for QUIC datagrams

    Extend SSL_trace so that it knows how to dump information about the
    receipt of a QUIC datagram.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    cdd23bb View commit details
    Browse the repository at this point in the history
  3. Support trace for QUIC Packets

    We enable SSL_trace support for when we receive QUIC Packets. This is
    called after header protection is removed, but before the packet is
    decrypted.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    15bcc1e View commit details
    Browse the repository at this point in the history
  4. Support trace for QUIC Frames

    Extend the existing QUIC tracing capability for frames.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    a05f30d View commit details
    Browse the repository at this point in the history
  5. Extend tracing of frames to transmitted frames

    Previously we were only doing tracing of frames received from the peer.
    Now we do that for transmitted frames as well.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    f8c0974 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    827c96e View commit details
    Browse the repository at this point in the history
  7. Enable tracing of datagrams we have sent

    Extend the tracing capability to also trace when we have a datagram to the
    peer.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    46dac8f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    741d10a View commit details
    Browse the repository at this point in the history
  9. Add more trace details for the remaining frame types

    Prior to this commit we were just printing the fact that we had received
    or sent a frame of a particular type. We now provide more details about
    those frames.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    6baf7dc View commit details
    Browse the repository at this point in the history
  10. Update the msg_callback documentation

    We provide information about the new QUIC support related to the
    msg_callback. We also document SSL_trace() which was previously missing
    from the man pages.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    8808f36 View commit details
    Browse the repository at this point in the history
  11. Fix an SSL_trace bug

    Ensure that SSL_trace can print certificate data even with a non-default
    libctx.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    df47f74 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e82e8fa View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7b2768e View commit details
    Browse the repository at this point in the history
  14. Create setter functions for the msg_callback and msg_callback_arg

    We create setter functions for the msg_callback and msg_callback_arg so
    that these values can be properly propagated to the QRX/QTX/TXP even
    after the channel has been created.
    mattcaswell committed May 18, 2023
    Configuration menu
    Copy the full SHA
    1daebdf View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    4afae1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a30b72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da0cb7c View commit details
    Browse the repository at this point in the history
  4. Use the %llu format specifier for uint64_t

    We change to use %llu when printing uint64_t types for consistency with
    what we've done elsewhere.
    mattcaswell committed May 22, 2023
    Configuration menu
    Copy the full SHA
    dd7118e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c711bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0190d2a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ad6aa7c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c9f80b1 View commit details
    Browse the repository at this point in the history
  9. Create internal/ssl.h

    We create the internal/ssl.h header file and move the typedef for
    ossl_msg_cb. This is needed by both the QUIC code (which generally doesn't
    include ssl_local.h) and the rest of libssl.
    mattcaswell committed May 22, 2023
    Configuration menu
    Copy the full SHA
    2f3b6c5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5fc5736 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ce22275 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    65152c0 View commit details
    Browse the repository at this point in the history