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

Enable DoT connection reuse while requests are in flight #269

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Sep 17, 2022

  1. Put the connection right back in to allow the connection to be reused…

    … while requests are in flight
    kosekmi committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    17fe860 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. upstream: DoT: Add proper handling of out-of-order responses

    When processing multiple queries through a single DoT upstream, we might get
    a DNS ID mismatch if responses are received out of order (cf. PR AdguardTeam#269).
    
    We fix this by storing all responses with unknown IDs in a map from
    which they can be retrieved later on.
    42SK committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    06c0556 View commit details
    Browse the repository at this point in the history
  2. upstream: DoT: Match QNAME, QCLASS, and QTYPE fields from response to…

    … query
    
    In order to deal with response reordering, RFC 7766 [1] requires that we
    match the QNAME, QCLASS, and QTYPE fields in the response to the query.
    
    [1] https://www.rfc-editor.org/rfc/rfc7766#section-7
    42SK committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    51583cb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from 42SK/dot-inflight-connection-reuse

    DoT inflight connection reuse with handling for out-of-order responses as specified by RFC 7766
    kosekmi authored Sep 30, 2022
    Configuration menu
    Copy the full SHA
    1c0e0ef View commit details
    Browse the repository at this point in the history