Commit Graph

634 Commits

Author SHA1 Message Date
Benjamin Fry
69de3ffb93 revert Cargo.lock back to version in main 2023-06-05 08:41:46 -07:00
Benjamin Fry
cae2e99549 add audit task 2023-06-05 08:41:46 -07:00
Benjamin Fry
13a84c51ca create default rules for justfile 2023-06-05 08:41:46 -07:00
Benjamin Fry
710d562de0 prepare 0.23.0-alpha.3 2023-06-02 23:09:04 +02:00
Matthias Seitz
555e0ceebc
chore: upgrade enum-as-inner 0.6 (#1948) 2023-05-31 14:58:51 +02:00
dAxpeDDa
0589e7460b Bump log to v0.4.18 2023-05-29 15:29:44 -07:00
dAxpeDDa
a10b0b1a64 Replace lazy_static with once_cell 2023-05-24 21:52:09 +02:00
dAxpeDDa
6423eff862 Use default-features = false for quinn 2023-05-22 09:45:35 +02:00
Zhang Jingqiang
41b6e33c51 remove the direct dependency to quinn-udp 2023-05-17 05:17:49 -07:00
Daniel McCarney
2b78a1fb0b deps: update rustls, tokio-rustls, quinn, webpki, webpki-roots.
This commit updates the Rustls dependency to the recently released
0.21.0 tag, and to update tokio-rustls to 0.24.0 to use the same rustls
release. It also updates webpki-roots to 0.23.0, and to use rustls' fork
of webpki instead of the original.

A couple of small upstream API changes are addressed to ensure the build
and tests pass.
2023-05-15 16:59:08 +02:00
Benjamin Fry
86667d7ce6
update release to 0.23.0-alpha.1 2023-05-12 11:29:47 -07:00
Benjamin Fry
c41d280954 update h2 to fix audit failure 2023-05-12 20:02:05 +02:00
Benjamin Fry
80f81f205d Update cargo.lock for release 2023-05-12 20:02:05 +02:00
Benjamin Fry
a6cdc4773f downgrade locked time for 1.64 compat 2023-05-10 22:55:38 +02:00
Benjamin Fry
cab9ab3979 upgrade socket2 2023-05-10 22:55:38 +02:00
Benjamin Fry
3a099742fa cleanup workspace features 2023-05-10 22:55:38 +02:00
Benjamin Fry
efeeeec3ba update h2 dependency due to vuln warning 2023-05-10 22:55:38 +02:00
Benjamin Fry
f7383806a8 update version to 0.23-alpha.1 2023-05-10 22:55:38 +02:00
Benjamin Fry
481d40752d update changelog for 0.23 2023-05-10 22:55:38 +02:00
Zhang
c551ebb45a remove use of time in recursor and client 2023-04-13 11:37:29 -07:00
YISH
6ef52b3798 Fix audit, upgrade openssl 2023-03-27 12:55:47 -07:00
YISH
d6b2e8bfcf Remove feature flags from workspace dependencies 2023-03-20 11:36:21 -07:00
YISH
590b47a3f2 Introduce central crate version management 2023-03-20 11:36:21 -07:00
XOR-op
8c77d19908 deps: upgrade tempfile 3.3.0 -> 3.4.0 2023-03-06 07:39:22 +01:00
XOR-op
53bf976f00 WIP: many underlying type except mdns 2023-03-04 11:03:13 -08:00
dependabot[bot]
65513f6078 Bump toml from 0.5.9 to 0.7.1
Bumps [toml](https://github.com/toml-rs/toml) from 0.5.9 to 0.7.1.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/commits/toml-v0.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 15:48:37 -08:00
Benjamin Fry
b5e0b3dcb1 update Tokio soundness warning: RUSTSEC-2023-0005 2023-02-06 09:25:04 -08:00
Dirkjan Ochtman
532dca3bd9 Move client code used by server code down into proto 2023-02-06 09:25:04 -08:00
Daniel McCarney
d65f45a236 deps: upgrade bumpalo 3.11.0 -> 3.11.1
This commit updates the `Cargo.lock` file with the output produced by
`cargo update -p bumpalo --precise 3.11.1`, updating a transitive
dependency on the `bumpalo` crate from 3.11.0 to 3.11.1.

Notably this resolves RUSTSEC-2022-0078[0], which was previously flagged
in CI by `cargo audit`.

[0]: https://rustsec.org/advisories/RUSTSEC-2022-0078
2023-01-18 07:39:06 +01:00
Daniel McCarney
77e02ae92a deps: upgrade Tokio 1.21.0 -> 1.24.1
This commit updates the `Cargo.lock` file with the output produced by
`cargo update -p tokio`, updating Tokio from 1.21.0 to 1.24.1.

Notably this resolves RUSTSEC-2023-0001, which was previously flagged in
CI by `cargo audit`.
2023-01-10 06:17:35 +01:00
Axel Viala
e045743b88 Fix #1835 RUSTSEC-2021-0145 Update clap to 4.0.29.
Remove `atty` dependancy in favor of `is-terminal` crate.
2022-12-05 05:49:49 -08:00
Dirkjan Ochtman
da6bdca577 proto: upgrade to Quinn 0.9 2022-11-28 15:06:23 -08:00
dependabot[bot]
7052656011 Bump clap from 3.2.18 to 4.0.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 4.0.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v4.0.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 14:53:28 -08:00
Axel Viala
328242316a Fix #1767 Update tracing-subscriber to 0.3.16.
Removes `ansi_term` provide `nu-ansi-term`
https://github.com/nushell/nu-ansi-term

Done with `cargo update -p tracing-subscriber --precise 0.3.16`
2022-10-17 09:45:38 +02:00
Nate Hurley
edfcc3be4c Fix formatting issues 2022-10-10 15:37:08 -07:00
Nate Hurley
887b4656dc Order name servers by SRTT
Calculates the smoothed round-trip time (SRTT) using an exponentially weighted moving average and orders the name servers by the value. The implemented algorithm is similar to what was discussed in #1702.

Fixes #1702
2022-10-10 15:37:08 -07:00
Jeff Hiner
19ab9e41b2 Require tokio 1.21 2022-09-13 08:46:56 -07:00
David Bürgin
1670ada489 Update idna and url dependencies 2022-09-10 10:29:56 -07:00
Benjamin Fry
379469a979 prepare 0.22.0 release 2022-09-02 12:21:49 +02:00
Benjamin Fry
ed957b722f update dependencies for 0.22.0 release 2022-09-02 12:21:49 +02:00
Benjamin Fry
91ccabaec6 mark recursive resolution as experimental 2022-08-24 15:20:43 -07:00
Benjamin Fry
6c0edd9411 merge-with-main 2022-08-24 15:20:43 -07:00
Benjamin Fry
11cc91a17e initial set of tests for the recursor 2022-08-24 15:20:43 -07:00
Benjamin Fry
057d25f8a2 fix recursor and resolver features when disabled 2022-08-24 15:20:43 -07:00
Benjamin Fry
d8f91b52ce fix recursor build for 1.54 2022-08-24 15:20:43 -07:00
Benjamin Fry
aed3defda7 fix the build 2022-08-24 15:20:43 -07:00
Benjamin Fry
4ceec91e0a add initial RecursiveAuthority 2022-08-24 15:20:43 -07:00
Benjamin Fry
25861da44e add NS search method 2022-08-24 15:20:43 -07:00
Benjamin Fry
28ffe0e8b6 initial layout of recursor 2022-08-24 15:20:43 -07:00
Benjamin Fry
5b929d71d7 declare initial recursive lookup 2022-08-24 15:20:43 -07:00
Benjamin Fry
0ef848fff3 add the recursor crate 2022-08-24 15:20:43 -07:00
Benjamin Fry
10fffc4d19 ignore RUSTSEC-2021-0139 unmaintained ansi_term 2022-08-23 10:13:46 -07:00
Dirkjan Ochtman
ca000eaaf9 Update dependencies 2022-08-03 07:11:22 -07:00
dependabot[bot]
32df013911 Bump rusqlite from 0.27.0 to 0.28.0
Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.27.0...v0.28.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 11:25:48 +02:00
Benjamin Fry
334198e28c cleanup code after rust 1.61 release 2022-05-28 22:29:32 +02:00
Benjamin Fry
2539264bce updates from PR review for tracing 2022-05-09 10:33:19 -07:00
Benjamin Fry
03d10d312d cleanup transition to tracing 2022-05-09 10:33:19 -07:00
Erik Hollensbe
e20b05b166 Move util subpackage to tracing package
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-09 10:33:19 -07:00
Erik Hollensbe
77a821f52b Move log to tracing package
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-09 10:33:19 -07:00
Dirkjan Ochtman
26043f259b Move logger setup code into binary 2022-04-26 23:17:13 -07:00
dependabot[bot]
be14c9f72c Bump rustls-pemfile from 0.3.0 to 1.0.0
Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 0.3.0 to 1.0.0.
- [Release notes](https://github.com/rustls/pemfile/releases)
- [Commits](https://github.com/rustls/pemfile/compare/v/0.3.0...v/1.0.0)

---
updated-dependencies:
- dependency-name: rustls-pemfile
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 16:05:18 +02:00
Benjamin Fry
79fe3035d7 add color to cli in util 2022-04-10 11:35:24 -07:00
Benjamin Fry
9da9cc2712 add tls protocol impl to dns client 2022-04-10 11:35:24 -07:00
dependabot[bot]
5d57ba08ff Bump quinn from 0.8.1 to 0.8.2
Bumps [quinn](https://github.com/quinn-rs/quinn) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/quinn-rs/quinn/releases)
- [Commits](https://github.com/quinn-rs/quinn/commits)

---
updated-dependencies:
- dependency-name: quinn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 13:57:59 -07:00
Benjamin Fry
c2e1adb74a quic client impl up to connect 2022-04-07 13:23:18 -07:00
Benjamin Fry
eb61a9b296 api for quic client streams implemented 2022-04-07 13:23:18 -07:00
Benjamin Fry
f91b45f410 prepare 0.21.2 for release 2022-03-30 10:53:42 -07:00
Benjamin Fry
41373b7a41 fix audit regex failure 2022-03-08 14:27:15 -08:00
Benjamin Fry
e06497876a
remove old crates (#1655)
* move old crates out of the crates path

* delete all old crates

* remove old-crates from cargo.toml
2022-03-05 11:38:26 -08:00
dependabot[bot]
8515a4321f Bump rusqlite from 0.26.2 to 0.27.0
Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.26.2 to 0.27.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.26.2...v0.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 21:41:29 +01:00
Benjamin Fry
7e4f9b2661 prepare 0.21.1 release 2022-02-27 20:00:03 -08:00
Benjamin Fry
0d577f128a bump enum-as-inner to 0.4 2022-02-26 05:07:30 -08:00
Benjamin Fry
cca5155317 prepare 0.21.0 for release 2022-02-26 05:07:30 -08:00
Benjamin Fry
e22a7e7c8d remove structopt dependency 2022-02-25 20:57:47 +01:00
dependabot[bot]
5aab3c0a6c Bump rustls-pemfile from 0.2.1 to 0.3.0
Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/rustls/pemfile/releases)
- [Commits](https://github.com/rustls/pemfile/compare/v/0.2.1...v/0.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 13:40:40 -08:00
Benjamin Fry
3becddb54b prepare 0.21.0-alpha.5 2022-02-08 13:52:20 +01:00
Benjamin Fry
0513fb3ec7 remove fuzz from the workspace 2022-02-08 00:58:14 +01:00
Benjamin Fry
64ce3fee6a update crossbeam in cargo.lock file 2022-02-08 00:58:14 +01:00
Benjamin Fry
043f018be6 custom matching rules in fuzzer for special case record data 2022-02-08 00:58:14 +01:00
dependabot[bot]
0d3b25ed84 Bump parking_lot from 0.11.1 to 0.12.0
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.1...0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 15:39:21 +01:00
Benjamin Fry
f9861c9add update clap to 3.0 2022-01-21 13:36:40 -08:00
Sebastian Urban
6ef9b4ec4a Configuration of bind address for resolver.
Allows configuration of the local address that is used by the resolver.
This is useful if the system has multiple active network connections
and it is desirable to specify which interface is used for name
resolution.
2022-01-04 14:57:50 -08:00
Benjamin Fry
2dc3d8d754 upgrade to rusqlite 0.26.2 2021-12-11 12:03:53 -08:00
dependabot[bot]
cc9169c0b9 Bump ipconfig from 0.2.2 to 0.3.0
Bumps [ipconfig](https://github.com/liranringel/ipconfig) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/liranringel/ipconfig/releases)
- [Commits](https://github.com/liranringel/ipconfig/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 06:31:06 -08:00
dependabot[bot]
a657c36bac Bump console from 0.14.1 to 0.15.0
Bumps [console](https://github.com/mitsuhiko/console) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/console/compare/0.14.1...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 06:48:06 +01:00
Emīls
169ba61b12 Upgrade tokio to 1.14.0
This is a mitigation for https://rustsec.org/advisories/RUSTSEC-2021-0124
2021-11-17 20:02:10 -08:00
Dirkjan Ochtman
57d0c8c0fb Update to rustls 0.20 2021-10-30 10:18:32 -07:00
Benjamin Fry
a775484ead bump minimum version of Rust to 1.51 2021-10-27 21:02:46 -07:00
Benjamin Fry
7b2e1eb235 Remove Chrono dependency 2021-10-27 21:02:46 -07:00
Benjamin Fry
63fdb84333 prepare 0.21.0.alpha.4 2021-10-13 16:08:14 -07:00
dependabot[bot]
f9afed813c Bump rusqlite from 0.25.3 to 0.26.0
Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.25.3 to 0.26.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.25.3...v0.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 16:01:59 +02:00
Benjamin Fry
837f65057e prepare 0.21.0-alpha.3 2021-09-28 08:47:26 -07:00
Benjamin Fry
f7465c9917 require Authority to have interior mutability 2021-09-20 12:05:58 -07:00
Benjamin Fry
b8ad0d68ca Move to async-trait for server to simplify function calls 2021-09-20 12:05:58 -07:00
Benjamin Fry
057735a1dc prepare 0.21.0-alpha.2 2021-08-29 17:20:38 -07:00
Max von Forell
49e64f4ffc make trust_dns_proto::rr::Record serializable 2021-08-26 09:11:15 -07:00
Benjamin Fry
d4ee9d5d7b ensure that request codes are properly set on responses 2021-08-22 10:30:31 -07:00
dependabot[bot]
705524af26 Bump env_logger from 0.8.3 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.3 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 16:14:24 +02:00
Trinity Pointard
9b46575f52 update tokio following RustSec advisory
see https://rustsec.org/advisories/RUSTSEC-2021-0072
2021-07-12 17:33:51 +02:00
Benjamin Fry
6c0ef23315 use ring and openssl instead of new deps on hmac and sha2 2021-06-05 18:43:51 -07:00