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
Benjamin Fry
a73fd8ffa6
update ahash for nightly
2024-02-11 12:41:03 -05:00
dependabot[bot]
dd8478059a
Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 15:08:09 -05:00
dependabot[bot]
1f0a7cbbcf
Bump baptiste0928/cargo-install from 2 to 3
...
Bumps [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ) from 2 to 3.
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: baptiste0928/cargo-install
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 11:23:56 -05:00
Benjamin Fry
e81dbec75d
Fix refused test, TCP will get an early close, UDP will error out
2024-02-06 11:23:12 -05:00
Benjamin Fry
aed9dcfb20
change AccessControl denied addresses to not parse the DNS packet
2024-02-06 11:23:12 -05:00
Benjamin Fry
f1b4207154
return boolean in AccessControl rather than Result
2024-02-06 11:23:12 -05:00
Benjamin Fry
414abf7087
remove single add access control methods, only allow slice
2024-02-06 11:23:12 -05:00
Benjamin Fry
27925a8ce7
cleanup evaluation of access lists
2024-02-06 11:23:12 -05:00