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

Add TSIG middleware. #380

Merged
merged 154 commits into from
Sep 16, 2024
Merged

Add TSIG middleware. #380

merged 154 commits into from
Sep 16, 2024

Commits on Aug 6, 2024

  1. Add support for (a) indicating to downstream Service impls that a cer…

    …tain number of bytes should be reserved (to make space for post-processing adding EDNS options to the response), and (b) strongly typed passing of arbitrary metadata between middleware that produces a type and middleware that consumes the type (e.g. a TSIG key name).
    ximon18 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ce2c35a View commit details
    Browse the repository at this point in the history
  2. Remove fn accidentally included from the xfr branch but not intended …

    …to be part of this PR branch.
    ximon18 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5f1a647 View commit details
    Browse the repository at this point in the history
  3. Remove fn accidentally included from the xfr branch but not intended …

    …to be part of this PR branch.
    ximon18 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b5e33a7 View commit details
    Browse the repository at this point in the history
  4. Remove changes accidentally included from the xfr branch but not inte…

    …nded to be part of this PR branch.
    ximon18 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    6701131 View commit details
    Browse the repository at this point in the history
  5. Remove changes accidentally included from the xfr branch but not inte…

    …nded to be part of this PR branch.
    ximon18 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a0e1a1d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Update Service RustDocs now that implementing a service impicitly via…

    … a function is no longer possible.
    ximon18 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    a5fcce5 View commit details
    Browse the repository at this point in the history
  2. Cargo fmt.

    ximon18 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    53017f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40eea81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a289e9 View commit details
    Browse the repository at this point in the history
  5. Minor RustDoc fixes.

    ximon18 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    37c35e9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ace9498 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    cb87682 View commit details
    Browse the repository at this point in the history
  2. Remove EDNS fixes that are also dealt with by separate work in branch…

    … fix-edns-middleware / PR #355.
    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    6e7a754 View commit details
    Browse the repository at this point in the history
  3. Clippy.

    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ef0bfd2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2e9e9a View commit details
    Browse the repository at this point in the history
  5. Support adding to a message generated by a client before sending it s…

    …o that a wrapper client (such as a future TSIG client) can augment the message before it gets sent.
    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    d8c8b14 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1376041 View commit details
    Browse the repository at this point in the history
  7. Cargo fmt.

    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1447bfc View commit details
    Browse the repository at this point in the history
  8. Stelline server testing changes:

    - Added a simple UDP client that doesn't interfere with requests before sending (for TSIG testing).
    - Added support for receiving multiple responses (for XFR testing).
    - Added support for connection timeout errors
    - Added support for connection termination errors (for EDNS testing).
    - Added support for specifying the TSIG key to use (for TSIG testing).
    - Added support for $ORIGIN in zone file fragments.
    - Simplified rcode checking and use it instead of the yxrrset BADCOOKIE hack.
    - In memory channel changes:
      - Fixed a trace message that incorrectly referred to client instead of server.
      - Fixed a too-tight connection read loop that was preventing Tokio task switching.
      - Added connection shutdown detection.
    - Fixed incorrect setting of TCP mode to true when UDP mode was requested.
    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5e36a5c View commit details
    Browse the repository at this point in the history
  9. Add net::client::tsig.

    ximon18 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    6aacae9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    67f0f33 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6e72597 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    46cd1bd View commit details
    Browse the repository at this point in the history
  2. Fmt

    Philip-NLnetLabs committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    461c342 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. A bit of cleanup.

    Philip-NLnetLabs committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    911365e View commit details
    Browse the repository at this point in the history
  2. Clippy

    Philip-NLnetLabs committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    767fac4 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

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

Commits on Aug 29, 2024

  1. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes
    ximon18 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    119e7a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

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

Commits on Sep 2, 2024

  1. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes.
    
    Update Stelline based server tests to work with new multiple response capable
    Rust types and alternate stream end detection mechanism.
    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    26b87cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc7b039 View commit details
    Browse the repository at this point in the history
  3. Import used type.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    1d7c952 View commit details
    Browse the repository at this point in the history
  4. Remove outdated comment.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    bf79aba View commit details
    Browse the repository at this point in the history
  5. Remove commented out code.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    326207d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0bea63d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    649836a View commit details
    Browse the repository at this point in the history
  8. Simplify comment.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    80752e8 View commit details
    Browse the repository at this point in the history
  9. Minor RustDoc improvement.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    f8c58a1 View commit details
    Browse the repository at this point in the history
  10. Minor RustDoc improvement.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9aa5795 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    efe4972 View commit details
    Browse the repository at this point in the history
  12. Clippy.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9f44750 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'service-request-metadata-and-byte-reservation' into ser…

    …vice-request-metadata-and-byte-reservation-net-client
    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    b06d978 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes
    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    6be66f7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ab63edd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7c26d76 View commit details
    Browse the repository at this point in the history
  17. Remove outdated comment.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    88d7087 View commit details
    Browse the repository at this point in the history
  18. Replace incorrect conversion (as it will return Error::FormError for …

    …XFR query types) by explicit RequestMessageMulti support.
    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    18da3ee View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b99e6f7 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    024b1d1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0d2a488 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d6d5794 View commit details
    Browse the repository at this point in the history
  23. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes
    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ab633ef View commit details
    Browse the repository at this point in the history
  24. Remove outdated comment.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    8018663 View commit details
    Browse the repository at this point in the history
  25. More TSIG client RustDoc.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    88b5c75 View commit details
    Browse the repository at this point in the history
  26. Minor code simplification.

    ximon18 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ca3cccf View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Fix example.

    Philip-NLnetLabs committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    119ab45 View commit details
    Browse the repository at this point in the history
  2. Rename Message::is_stream to Message::is_xfr. Remove is_stream from

    ComposeRequest and ComposeRequestMulti.
    Philip-NLnetLabs committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    6adac7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2b57c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2caa383 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d424e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b957161 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7db22c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    45400d0 View commit details
    Browse the repository at this point in the history
  9. Minor RustDoc improvement.

    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    fe588d1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    331b247 View commit details
    Browse the repository at this point in the history
  11. Clippy.

    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    a10b8f4 View commit details
    Browse the repository at this point in the history
  12. Remove outdated comment.

    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    84761e0 View commit details
    Browse the repository at this point in the history
  13. More TSIG client RustDoc.

    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    ad432ac View commit details
    Browse the repository at this point in the history
  14. Minor code simplification.

    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    af467d6 View commit details
    Browse the repository at this point in the history
  15. - Add TSIG response signing middleware.

    - Add TSIG Stelline test recipe.
    - Update Stelline server integration tests to use the new TSIG middleware.
    - Remove unnecessary Unpin bounds in net::server::message::Request.
    - Tsig module changes:
      - Derive Clone for Key.
      - Added Key::compose_len() for determining how many response bytes to reserve.
      - Added From<ServerTransaction<K>> for ServerSequence<K>.
      - Altered KeyStore blanket impls to avoid conflict with additional impl on Arc<KeyStore>.
      - Various minor RustDoc improvements.
      - Made tsig::ServerError::unsigned() public.
    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    4bfef52 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7c3bbbf View commit details
    Browse the repository at this point in the history
  17. Replace incorrect conversion (as it will return Error::FormError for …

    …XFR query types) by explicit RequestMessageMulti support.
    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    55ce155 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cba3daf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    113fabd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0a1c866 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5720e2b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    31a083c View commit details
    Browse the repository at this point in the history
  23. Fix example.

    Philip-NLnetLabs authored and ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    d2c0d51 View commit details
    Browse the repository at this point in the history
  24. Rename Message::is_stream to Message::is_xfr. Remove is_stream from

    ComposeRequest and ComposeRequestMulti.
    Philip-NLnetLabs authored and ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    04533e7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    3319395 View commit details
    Browse the repository at this point in the history
  26. Make Time48 obey mock (predictable and controllable) time so that TSI…

    …G signing uses mock time during Stelline tests.
    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    dcd1f1a View commit details
    Browse the repository at this point in the history
  27. Don't set the AA flag on test service responses as (a) actual zone se…

    …rving doesn't do this yet and this still needs fixing, and (b) it violates the expectations of the TSIG Stelline test that verifies at a byte level the TSIG response signature.
    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    9e78310 View commit details
    Browse the repository at this point in the history
  28. Strip the TSIG Stelline server test down to what can be tested withou…

    …t the upcoming XFR support.
    ximon18 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    27533bd View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    90f6f21 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b3818bc View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    3a10fc7 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ba48bc1 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    41f0992 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes
    ximon18 committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    29f7bcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4861af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    685294c View commit details
    Browse the repository at this point in the history
  5. Docs

    Philip-NLnetLabs committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1bc196a View commit details
    Browse the repository at this point in the history
  6. Cleanup.

    Philip-NLnetLabs committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e98bfa4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b89d1e View commit details
    Browse the repository at this point in the history
  8. Docs

    Philip-NLnetLabs committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    523fe1d View commit details
    Browse the repository at this point in the history
  9. Docs

    Philip-NLnetLabs committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    dc7e3c2 View commit details
    Browse the repository at this point in the history
  10. Update src/net/client/request.rs

    Co-authored-by: Ximon Eighteen <[email protected]>
    Philip-NLnetLabs and ximon18 committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    33b5089 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f02f773 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'service-request-metadata-and-byte-reservation-net-clien…

    …t' into stelline-server-testing-changes
    ximon18 committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    bf781f8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3c3c19d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8ae1749 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c1de8ac View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cfe20f6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e1357c6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b93422c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    108deec View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    e99f021 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aeb3c80 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d2c3db9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f4e464 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc037f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. - Merge TsigClient and TsigClientMulti.

    - Ensure .done() is called.
    ximon18 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    76c2b43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebe0d2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b309a13 View commit details
    Browse the repository at this point in the history
  4. Fold RequestMulti into Request and RequestStateMulti into RequestStat…

    …e. Split common functionality out into handle_result() and relax bounds to make existing code usable in both single and multi contexts.
    ximon18 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6886079 View commit details
    Browse the repository at this point in the history
  5. Cargo fmt.

    ximon18 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    aec32d4 View commit details
    Browse the repository at this point in the history
  6. Small simplification.

    ximon18 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    a033102 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ea5dfda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7f328c9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    59cc56d View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. - More RustDocs.

    - Renamed AuthenticatedRequestMessage to RequestMessage to be consitent with src::net::client::request and to shorten the name (as it is scoped by the module so is still unique).
    - Renamed UpstreamSender to Forwarder as it's shorter and (I thnk) better.
    - Replaced HandleResponseResult by Option.
    - Renamed handle_response() to validate_response() and simplified the option/error handling a little.
    - Moved some impls around in the file to be nearer the type they affect.
    ximon18 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c8c577a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    352c522 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    386b2df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7040044 View commit details
    Browse the repository at this point in the history
  5. Merge fix.

    ximon18 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e5d86bc View commit details
    Browse the repository at this point in the history
  6. Add TSIG client tests.

    ximon18 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    67bb521 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aea337d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    008574b View commit details
    Browse the repository at this point in the history
  9. Resolve cargo doc issues.

    ximon18 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    22d8c62 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bc7baca View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    85a2455 View commit details
    Browse the repository at this point in the history
  12. Fix test compilation failure after merging with main including revers…

    …ion of tsig mod KeyStore changes which is good anyway as they would have been breaking changes to stable interfaces.
    ximon18 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    35937a9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f782927 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    88665d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    c4a0afe View commit details
    Browse the repository at this point in the history
  2. - More RustDoc.

    - Don't pass the key store around, we  need only the signer when post-processing.
    - Get tid of the mutex, we don't need it.
    - Don't clone metadata when invoking a stream post-processing callback.
    - Add key_wrapper() fn to ServerTransaction, ServerSequence and SigningContext to allow access to the key by its original type (which might e.g. be Arc<Key> allowing the Arc to be cloned rather than a deep copy being made).
    ximon18 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    5174a48 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    226d311 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf977f7 View commit details
    Browse the repository at this point in the history
  5. Document known limitation.

    ximon18 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    f29b8d4 View commit details
    Browse the repository at this point in the history
  6. - Handle TSIG response truncation using the existing ServerSequence i…

    …f available, via a new TruncationContext type.
    
    - Truncate for TCP as well as UDP.
    - Return ServiceError::InternalError if truncation fails.
    - Implement handling of ServiceError in DgramServer and stream::Connection.
    - Break DgramServer and stream::Connection dispatch to service code out into helper RequestDispatcher types.
    - Terminate the response stream if ServiceError::InternalError occurs.
    ximon18 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    41cebe0 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

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

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    9fbcf22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cef732f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5679724 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b41774 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    73d7d7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf7b77f View commit details
    Browse the repository at this point in the history
  3. Update src/net/server/middleware/tsig.rs

    Co-authored-by: Terts Diepraam <[email protected]>
    ximon18 and tertsdiepraam committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    a3af7e5 View commit details
    Browse the repository at this point in the history
  4. Update src/net/server/middleware/tsig.rs

    Co-authored-by: Terts Diepraam <[email protected]>
    ximon18 and tertsdiepraam committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    8509a68 View commit details
    Browse the repository at this point in the history
  5. Update src/net/server/middleware/tsig.rs

    Co-authored-by: Terts Diepraam <[email protected]>
    ximon18 and tertsdiepraam committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    df0499a View commit details
    Browse the repository at this point in the history
  6. Comment correction.

    ximon18 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    d9c04b4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    749721e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3df2f22 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c175bd9 View commit details
    Browse the repository at this point in the history