Jorge Aparicio
3707bdfd3f
Merge pull request #11 from japaric/dns-shark
...
add eavesdrop API & test a RFC requirement with it
2024-02-20 10:23:32 +01:00
Jorge Aparicio
156e005ff2
RFC4035: test EDNS support
2024-02-19 13:22:15 +01:00
Jorge Aparicio
438af31340
Tshark: newtype the json::Value & add some getters
2024-02-19 12:56:40 +01:00
Jorge Aparicio
e77fd41635
add eavesdrop API
...
closes #9
2024-02-19 12:56:38 +01:00
Jorge Aparicio
2abb8268f9
Merge pull request #13 from japaric/sebastian/gh7-docker-network
...
Use network to group all running containers
2024-02-16 15:00:25 +01:00
Sebastian Ziebell
014662d218
Refactor tests to check network state
2024-02-16 14:38:30 +01:00
Sebastian Ziebell
a4ca3d6423
Incorporate feedback
...
* add new type `Network` that holds `Arc`
* adjust network name to use `CARGO_PKG_NAME` env var, process id and
counter
* remove function to remove network
* clone Network in container
* refactor Network tests
2024-02-16 14:38:30 +01:00
Sebastian Ziebell
2289567998
Disconnect all containers before removing network
...
The list of attached containers is determined, all of them are
disconnected from the network, then the network is deleted.
* set net mask in unbound conf template
* expose container id
2024-02-16 14:38:30 +01:00
Sebastian Ziebell
820f1c3447
Pass in Network to containers
2024-02-16 14:38:28 +01:00
Sebastian Ziebell
5630dd79e9
Add Network types
...
Creates & removes the Docker network & reads in the allocated subnet mask.
2024-02-16 14:36:42 +01:00
Evan Cameron
a3669bd80f
add getter methods to ClientSubnet
2024-02-14 18:00:25 -05:00
Jorge Aparicio
f690522111
Merge pull request #12 from japaric/ja-deny-empty-roots
...
resolver: check that the root servers list is not empty
2024-02-14 13:20:04 +01:00
Jorge Aparicio
36f93252a2
resolver: check that the root servers list is not empty
2024-02-12 19:11:59 +01: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
Jorge Aparicio
77150bbca6
Merge pull request #6 from japaric/reorg
...
reorganize tests in modules
2024-02-09 18:22:27 +01:00
Jorge Aparicio
33509f4484
check that ignored tests fail with hickory
2024-02-09 16:48:59 +01:00
Jorge Aparicio
952c346e9e
build hickory in debug mode
2024-02-09 16:42:52 +01:00
Jorge Aparicio
3d73fe3da1
fix CI workflow
2024-02-09 16:38:45 +01:00
Jorge Aparicio
d17e42a679
update CI to run tests against unbound & hickory
2024-02-09 16:37:53 +01:00
Jorge Aparicio
e52980a82f
test NXDOMAIN scenario
2024-02-09 16:35:29 +01:00
Jorge Aparicio
9526338ca7
shorten RecursiveResolver -> Resolver
2024-02-09 16:03:09 +01:00
Jorge Aparicio
04a7190e61
supporty hickory-based Resolver
2024-02-09 15:37:58 +01:00
Jorge Aparicio
3c95b85150
introduce Implementation enum
2024-02-09 14:55:03 +01:00
Jorge Aparicio
362838b41f
update CI config
2024-02-08 19:28:05 +01:00
Jorge Aparicio
5c53ba0899
make Client::delv
work & use it in dnssec tests
2024-02-08 19:23:50 +01:00
Jorge Aparicio
edd6eebe1a
mv tests into conformance-tests package
2024-02-08 18:28:05 +01:00
Jorge Aparicio
1c2d9ec4dc
restructure into a workspace
2024-02-08 18:15:41 +01:00
Jorge Aparicio
1e5aac55e7
bake Dockerfile into the crate
...
to avoid the problem of changes in the `docker` directory affecting the
outcomes of tests. IOW, so that all downstream uses of the crate use the
same docker image
2024-02-08 18:10:49 +01:00
Jorge Aparicio
095b68b887
add API to gracefully terminate name server & resolver
2024-02-08 17:54:35 +01:00
Jorge Aparicio
3e78cfa30e
ensure child process does not outlive its container
2024-02-08 15:30:32 +01:00
Jorge Aparicio
02f5307056
make docker build
less noisy
2024-02-08 15:14:54 +01:00
Jorge Aparicio
11e9c43e19
Merge pull request #5 from japaric/ci
...
enable CI
2024-02-08 15:11:47 +01:00
Jorge Aparicio
c50568c709
enable CI
2024-02-08 15:09:03 +01:00
Jorge Aparicio
b21875b963
Merge pull request #4 from japaric/container-api
...
minimal local network with working resolution
2024-02-08 15:02:08 +01:00
Jorge Aparicio
306ce7a32b
set up DS records and trust anchor to make DNSSEC work
2024-02-07 20:11:09 +01:00
Jorge Aparicio
2bcad2a25c
parse RRSIG record & complete signed NS test
2024-02-07 14:59:15 +01: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
Jorge Aparicio
037cf4f698
ns: sign zone file
2024-02-06 20:05:21 +01:00
Jorge Aparicio
a527ed6218
hardcode chmod used in Container::cp
...
everything uses the same value
2024-02-06 18:53:40 +01:00
Jorge Aparicio
5858309bfa
revise names and module organization
2024-02-06 18:52:30 +01:00
Jorge Aparicio
7f7d9f7ccf
rename Domain -> FQDN
2024-02-06 18:15:05 +01:00
Jorge Aparicio
e29b901bc1
shorten AuthoritativeNameServer -> NameServer
2024-02-06 18:12:22 +01:00
Jorge Aparicio
3e5ef300ce
refactor/ns: build pattern + type state
2024-02-06 18:11:31 +01: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