Commit Graph

2716 Commits

Author SHA1 Message Date
0xffffharry
6c2a1e2c23 Make QuicClientStream Clonable 2024-04-10 09:42:39 +02:00
Dirkjan Ochtman
f1ced8a958 Update semver-compatible dependencies 2024-04-09 21:43:08 -04:00
Dirkjan Ochtman
70be0c5aa0 Upgrade rusqlite to 0.31 2024-03-22 08:33:27 -04:00
Dirkjan Ochtman
b7ce4cc292 Upgrade prefix-trie to 0.3 2024-03-22 08:33:27 -04:00
Dirkjan Ochtman
fced74e477 Update semver-compatible dependencies 2024-03-22 08:33:27 -04:00
Dirkjan Ochtman
4ebc33f2f1 Apply clippy suggestions from Rust 1.77 2024-03-22 08:33:27 -04:00
dependabot[bot]
9e8f8c67fb Bump http from 1.0.0 to 1.1.0
Bumps [http](https://github.com/hyperium/http) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 14:36:15 -04:00
dependabot[bot]
e9d7075ed4 Bump extractions/setup-just from 1 to 2
Bumps [extractions/setup-just](https://github.com/extractions/setup-just) from 1 to 2.
- [Release notes](https://github.com/extractions/setup-just/releases)
- [Commits](https://github.com/extractions/setup-just/compare/v1...v2)

---
updated-dependencies:
- dependency-name: extractions/setup-just
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 13:45:38 -04:00
David Lönnhager
d2e64d8d26 Break when socket is unexpectedly shut down 2024-03-16 13:21:54 -04:00
Marcus Butler
da41e4ad06 Update mio to 0.8.11 to fix RUSTSEC-2024-0019 2024-03-04 23:03:01 +01:00
Marcus Butler
3db11773cd Fix formatting issue in crates/proto/src/op/message.rs 2024-03-04 23:02:24 +01:00
Hoe Hao Cheng
f382e96a90 Forward hickory-dns's root cert features to hickory-resolver 2024-03-04 14:39:29 +01:00
situ2001
966bc27c6e fix: not returning the result of a let binding from a block 2024-03-02 13:03:23 -05:00
situ2001
92ff81ca29 test: Header count setting 2024-03-02 13:03:23 -05:00
situ2001
b1e35ad619 chore: add comments 2024-03-02 13:03:23 -05:00
situ2001
a85852ab98 feat: add setter methods for Message struct to improve configurability 2024-03-02 13:03:23 -05:00
Benjamin Fry
cf0f048434 rename proven fields to "require" 2024-03-02 11:43:52 -05:00
Benjamin Fry
32a4118ec0 fix some comment and other review issues 2024-03-02 11:43:52 -05:00
Benjamin Fry
574cb82e47 make Proof must_use, add Proven::into_parts 2024-03-02 11:43:52 -05:00
Benjamin Fry
5c53fbcdad add dnssec lookup to Lookup 2024-03-02 11:43:52 -05:00
Benjamin Fry
494fb8df45 Add proven type to require validation before use 2024-03-02 11:43:52 -05:00
Benjamin Fry
d1da894e37 use find_map instead of filter_map in Lookup 2024-03-02 11:43:52 -05:00
Benjamin Fry
6774fb053e clean up after rrsig changes 2024-03-02 11:43:52 -05:00
Benjamin Fry
ec806ae445 change results of validation to always return records 2024-03-02 11:43:52 -05:00
Benjamin Fry
1d2a1df0ee change to Proofs to rrset validation 2024-03-02 11:43:52 -05:00
Benjamin Fry
9fc8fa5bad Better Proofs for DNSKEY validation 2024-03-02 11:43:52 -05:00
Benjamin Fry
c0f93de61e add DS proof validation 2024-03-02 11:43:52 -05:00
Benjamin Fry
98933eeb85 Remove generic Error from DnsHandle 2024-03-02 11:43:52 -05:00
Benjamin Fry
de0b4605b5 simplify async proof validation and reduce clones 2024-03-02 11:43:52 -05:00
Benjamin Fry
46d30cbec8 cleanup some of the clones of records on verification 2024-03-02 11:43:52 -05:00
Benjamin Fry
a549a35252 add in additionals for validation 2024-03-02 11:43:52 -05:00
Benjamin Fry
14f4f0a4b6 add a test for Secure records 2024-03-02 11:43:52 -05:00
Benjamin Fry
70d8e6fc0f add Proof to resource::Record 2024-03-02 11:43:52 -05:00
Benjamin Fry
c15b91abdf remove unnecessary clones of rrsig in dnssec 2024-03-02 11:43:52 -05:00
Benjamin Fry
8538d68f8d Notes on changes to dnssec proof, and unwrap RRSIG from Record 2024-03-02 11:43:52 -05:00
Benjamin Fry
1723a15260 remove with deprecation 2024-03-02 11:43:52 -05:00
Benjamin Fry
e2c82f6991 change internal usage from set_rr_type to set_record_type 2024-03-02 11:43:52 -05:00
Benjamin Fry
c0c2b2fa89 make dnssec methods more type safe 2024-03-02 11:43:52 -05:00
Benjamin Fry
bc044e89f3 Add Proof to NSEC results 2024-03-02 11:43:52 -05:00
Benjamin Fry
552fa36dc3 Add Proof type for DNSSEC 2024-03-02 11:43:52 -05:00
Ensar Sarajčić
0a2ee2c655 Add test case with multiple options with same code 2024-02-29 09:45:14 -05:00
Ensar Sarajčić
e9eeb6533d Fix clippy errors 2024-02-29 09:45:14 -05:00
Ensar Sarajčić
9a209530f4 Add a note about multiple options with same code 2024-02-29 09:45:14 -05:00
Ensar Sarajčić
8b556a4ff1 Resolve PR comments 2024-02-29 09:45:14 -05:00
Ensar Sarajčić
8b802049d7 Remove println from equality check 2024-02-29 09:45:14 -05:00
Ensar Sarajčić
73fbbf8a15 fix(proto): fix internal representation of OPT
Current implementation of OPT represents options as hash map, which
prevents same `EdnsCode` from appearing more than once. There are
options that may appear more than once
(e.g. EDE https://www.rfc-editor.org/rfc/rfc8914.html).

Unfortunately, this is a breaking change. I haven't figured out a
solution that would not break the API and would not introduce some kind
of overhead.

BREAKING CHANGE: Changes representation of OPT from `HashMap` to a
`Vec`, which means that `as_ref` and `as_mut` also now return `&Vec`
rather than `&HashMap`.
2024-02-29 09:45:14 -05:00
Evan Cameron
a3669bd80f add getter methods to ClientSubnet 2024-02-14 18:00:25 -05:00
Zhang Jingqiang
976ba893d2 update version for http/h2/h3 2024-02-11 12:43:26 -05:00
Benjamin Fry
8154de2b89 fix cleanliness for 1.76 2024-02-11 12:41:03 -05:00
Benjamin Fry
3ad83ddee6 fix tests that were not being run 2024-02-11 12:41:03 -05:00