Commit Graph

143 Commits

Author SHA1 Message Date
YISH
590b47a3f2 Introduce central crate version management 2023-03-20 11:36:21 -07:00
Benjamin Fry
0ef848fff3 add the recursor crate 2022-08-24 15:20:43 -07: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
Benjamin Fry
0513fb3ec7 remove fuzz from the workspace 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
Benjamin Fry
4c408e3307 moved fuzz to a top-level-directory 2022-02-08 00:58:14 +01:00
Benjamin Fry
524871769b reexport proto impls and deprecate old crates 2021-04-26 12:16:02 -07:00
Benjamin Fry
ca1ba2150b move openssl into proto 2021-04-26 12:16:02 -07:00
Benjamin Fry
b41bcbb1f4 move native-tls into proto 2021-04-26 12:16:02 -07:00
Benjamin Fry
332c378a65 move https impls into proto 2021-04-26 12:16:02 -07:00
Benjamin Fry
4e5655d6de move rustls crate into proto 2021-04-26 12:16:02 -07:00
messense
f797a11f74 Upgrade to tokio v1.0 2020-12-27 14:59:11 -08:00
Benjamin Fry
1b535dfd3b temporary implementation of trust-dns-https for Tokio 0.3 2020-11-28 20:38:00 -08:00
Benjamin Fry
30f2b44986 upgrade proto crate to Tokio 0.3 2020-11-28 20:38:00 -08:00
Benjamin Fry
fd356c258b port over all tests 2020-04-11 13:51:52 -07:00
Benjamin Fry
87efb45bf1 add separate crate for AsyncStd 2020-04-11 13:51:52 -07:00
Benjamin Fry
66eb9daa7d fix publish task 2019-12-22 14:01:05 -08:00
Benjamin Fry
7a285ca5ad Add support for cargo-make, and Makefile.toml 2019-12-14 15:02:10 -08:00
Benjamin Fry
cd7ffa5885
prepare 0.18-alpha.2 (#945)
* prepare 0.18-alpha.2

* sleep between publishes to let crates.io catch up
2019-12-06 08:47:09 -08:00
Benjamin Fry
3eaf3043d7
update to tokio 0.2 release (#932)
* update to tokio 0.2 release

* update to h2 0.2.0

* fix compilation errors

* server await JoinHandles from spawn

* fix integration tests using different Runtimes

* cleanup named test output

* fix openssl tests

* cleanup code from review

* refactor server_future for JoinHandle, also fix Udp deadlock
2019-12-06 00:00:00 -08:00
Benjamin Fry
30f6254deb move named to trust-dns bin crate 2019-10-25 15:05:07 -07:00
Benjamin Fry
4363bfd744
Clean up directory structure of crates (#589)
* Move all public crates into crates/

Integration tests into tests/

* move test certs into tests/test-data

* fix benches

* fix compatibility tests
2018-10-22 08:22:58 -07:00
Benjamin Fry
6f002159c0 initial HttpsClientStream impl 2018-07-09 00:12:01 -07:00
Benjamin Fry
424b2c0bc7 create the trust-dns-proto crate 2017-10-13 07:46:48 -07:00
Brian Smith
f1750b0964 Factor out tokio-openssl support to new trust_dns_openssl crate. 2017-10-01 23:45:03 -07:00
Brian Smith
7a7dbcaa1d Split dnskey_to_pem.rs out into its own util crate.
Move the utility programs into their own crate that complements the main
TRust-DNS crate. This will allow their dependencies to evolve separately
from the main crate. In particular, this is a step towards getting the
fully-DNSSEC-capable client working using only *ring*, because it moves
OpenSSL-specific code out of the client.
2017-09-22 20:59:15 -07:00
Benjamin Fry
0b4939ade2 add integration test crate 2017-09-17 09:03:33 -07:00
Benjamin Fry
22b137e333 add a synchronous resolver 2017-06-26 09:29:21 -07:00
Benjamin Fry
9c020c3b1d init resolver 2017-06-26 09:29:21 -07:00
Benjamin Fry
ea7d81804b WIP: upgrade ring to 0.9.x (#133)
* add PublicKey and pkcs8 generate

* add hash, and Verifier, cleanup DNSKEY usage

* cleanup key_format

* server compiling, all tests passing

* cleanup warnings in standard build

* Cleanup unneeded functions

* fix --no-default-features

* update changelog

* fix rustls build

* update ring

* temporary patch for updated tokio-rustls

* prepare for 0.10.2 release
2017-05-17 12:31:32 -07:00
Benjamin Fry
63c473ff78 sig0 compatibility tests (#121)
Adds the beginning of a compatibility test suite. Currently only works with Bind.
2017-05-02 06:02:23 -07:00
Benjamin Fry
803e08bf4d rustls client support 2017-04-21 20:23:50 -07:00
Benjamin Fry
9525de22e5 scripts etc and tests for native-tls 2017-04-06 00:08:43 -07:00
Benjamin Fry
1e38d34bad Prepare 0.10 release (#99)
* make mtls default off

* comment out the overrides

* fix no-default-features

* remove mtls as option

* clean up unwraps in pkcs12 gen

* update dependencies

* update documentation and readme

* 0.10.0 release

* fix changelog for 0.10.0
2017-03-09 23:23:06 -08:00
Benjamin Fry
baf9c1ce50 mv tls_stream tests to tests/ 2017-02-19 00:35:02 -08:00
Benjamin Fry
0db72c51c3 updating to newer native-tls and openssl versions 2017-02-12 10:44:20 -08:00
Benjamin Fry
d409317e88 linux support for DNS over TLS 2017-02-09 00:35:44 -08:00
Benjamin Fry
d4bd9927f8 tls working! 2017-01-22 23:55:39 -08:00
Benjamin Fry
2b705dc300 Bfry/split client server (#68)
* initial split of server

* split client and server crates

* create scripts for running tests across crates

* fix target location in tests

* trying different travis settings for getting kcov working

* fix directory change in kcov setup

* fixing for loop for the kcov tests

* added some env config for config tests

* adding back sudo settings, and additional coveralls merging config

* fix exclude paths

* merging coverage reports

* fixing results kcov paths
2016-11-08 21:28:51 -08:00
Benjamin Fry
061938e401 fixes rustc 1.11 compies, #66 2016-11-03 19:30:58 -07:00
Benjamin Fry
f53a84de3a Update Cargo.toml for 0.8.0 2016-11-03 00:12:50 -07:00
Benjamin Fry
6689453051 update to futures 0.1.2 2016-10-20 21:42:01 -07:00
Benjamin Fry
3b16acfaa0 Bfry/upgrade openssl 0.8 (#54)
* all coded updated, error in DNSEC validation tests

* reverted ROOT_ANCHOR back to string: #50

* extra debug info

* fixed overzealous usage of try!()
2016-10-19 22:17:46 -07:00
Benjamin Fry
85c6b8ebe7 Bfry/futures state machine (#46)
* partial udp client with futures

* fix a comment

* udp_client_stream compiling

* all log compiling

* confusing mismatched types

* compiling, not working

* client stream working

* working futures

* future for random socket

* final version of futures impl for udp #32

* switch to published module versions

* fix docker test execution

* tcp stream mostly done, only sends once

* progress made: dirty ready bit on tcp.poll_read()

* tcp state machine impl

* less one tcp state

* generic client_future over TCP and UDP

* additional debug messages

* fixed state machine

* cleaning up TCP sending

* adding park().unpark() to next udp socket

* minor resiliency changes for parking

* non-network tests for ClientFuture

* tests passing for ClientFuture::create

* ClientFuture::append

* ClientFuture::compare_and_swap

* ClientFuture::delete*
2016-10-01 07:03:06 -07:00
Benjamin Fry
b64db9fefa update documentation links to docs.rs 2016-08-27 22:27:00 -07:00
Benjamin Fry
43f9348bbb fix some doc issues: #37, #39 2016-08-26 21:51:06 -07:00
Benjamin Fry
d572b4247c Merge branch 'master' into 0.7.3_name_patch 2016-08-12 23:57:32 -07:00
Benjamin Fry
fb82133b4c fixes case issues with rollernet described in #27 2016-08-11 23:19:06 -07:00
Benjamin Fry
389e6004d1 Merge branch 'master' into 0.7.2_patch 2016-08-10 22:12:08 -07:00
Benjamin Fry
57488aee1f fixes #28: wildcard names in dnssec signing and validation 2016-08-10 22:02:33 -07:00
Benjamin Fry
121bd1943a Merge branch 'master' into 0.7.1_patch 2016-08-09 00:46:58 -07:00
Benjamin Fry
9acbd9b676 fixes #27: remove implicit case conversion of labels 2016-08-09 00:36:56 -07:00
Benjamin Fry
20b7b4fbdd randomize ports and query_id, #23 2016-06-28 23:36:15 -07:00
Benjamin Fry
58865b25e6 version bump to 0.7.0 2016-06-20 23:57:18 -07:00
Benjamin Fry
407c7df0e1 converted all ftests to use ignore annotation 2016-06-20 23:38:34 -07:00
Benjamin Fry
b91f1f01c6 zone private keys loading 2016-06-20 23:28:34 -07:00
Benjamin Fry
ef6e27f54c migrated to error-chain for all error types 2016-06-19 22:51:01 -07:00
Benjamin Fry
85d71ca83e Persistence (#18)
* initial SQLite integration

* iterable Journal

* journal recovery validated

* validation of journaling adds and deletes

* journal recovery in named

* updated journal documentation
2016-06-16 23:53:29 -07:00
Benjamin Fry
32f0bff0a3 version bump 2016-06-01 23:24:25 -07:00
Benjamin Fry
896ab32dd2 added error location to all ClientErrors 2016-05-28 02:07:52 -07:00
Benjamin Fry
aad3e1e8fc updated description for crates.io 2016-05-21 13:02:20 -07:00
Benjamin Fry
99827a57a9 updated mio to 0.5.1 2016-05-02 21:54:35 -07:00
Benjamin Fry
a4b61ff540 update to 0.5.3 2016-04-07 23:54:25 -07:00
Benjamin Fry
351fddb5fa update version to 0.5.2 2016-04-04 21:37:30 -07:00
Benjamin Fry
0bcce7aa0f upgraded mio to 0.5.0 2016-04-04 21:25:29 -07:00
Benjamin Fry
bf3a7582ce updated dependencies 2016-03-30 23:40:05 -07:00
Benjamin Fry
ba7da2aae3 version bumped to 0.5.1 2016-03-30 23:20:11 -07:00
Benjamin Fry
4c62e0349a fixed nsec3 hashing and base32hex encoding 2016-03-30 21:25:18 -07:00
Benjamin Fry
70829a260e updated to current openssl bindings 2016-03-22 21:47:41 -07:00
Benjamin Fry
8f053e618b 0.5.0 release 2016-03-22 21:36:17 -07:00
Benjamin Fry
901701afc8 Full chain validation back to root, need to install root cert 2016-03-08 07:15:26 -08:00
Benjamin Fry
01270fd699 Merge pull request #7 from cmr/master
Relicense to dual MIT/Apache-2.0
2016-02-21 14:42:40 -08:00
Benjamin Fry
bb952b0343 DNSKEY validation of RRSIG records working. 2016-02-21 14:28:13 -08:00
Corey Richardson
24a793f20d Relicense to dual MIT/Apache-2.0
Closes https://github.com/bluejekyll/trust-dns/issues/6
2016-01-11 02:45:43 -05:00
Benjamin Fry
80832978dd edns query support and max datalength support 2015-12-31 22:17:43 -08:00
Benjamin Fry
9b3d9b09ee initial SIG0 signing done, still need tests 2015-12-07 21:39:47 -08:00
Benjamin Fry
f0792d77a0 hashing and pkey signing working 2015-11-15 20:57:59 -08:00
Benjamin Fry
f2d55a7340 Version upped to 0.4.0 2015-10-17 20:20:37 -07:00
Benjamin Fry
9d32e98584 upped version to 0.3.1 2015-10-04 16:12:05 -07:00
Benjamin Fry
9cee7d59c2 Binary server is ready. 2015-09-28 22:08:47 -07:00
Benjamin Fry
2690f74122 Configuration file support 2015-09-27 00:11:42 -07:00
Benjamin Fry
e6da0adcdd feature flagged off ftests (can't run on travis) 2015-09-17 07:41:16 -07:00
Benjamin Fry
a7810f1b24 mio server, has only run_once at the moment 2015-09-13 23:55:59 -07:00
Benjamin Fry
f8908ce7ff initial changes for binary and dig tests 2015-09-12 22:28:58 -07:00
Benjamin Fry
940d511992 updating version for dev 2015-09-07 22:39:23 -07:00
Benjamin Fry
033dfb84e3 fixed keywords for crates.io 2015-09-07 22:38:13 -07:00
Benjamin Fry
b2fd665436 updated Cargo information 2015-09-07 22:32:12 -07:00
Benjamin Fry
aec63c5dfe parsing example rfc1035 master file, bug in escaped dots in names 2015-09-01 23:53:44 -07:00
Benjamin Fry
179be5618e Cleaning up the lexer a bit. 2015-08-29 13:55:42 -07:00
Benjamin Fry
28f38c6425 Lexer for text files 2015-08-25 23:15:37 -07:00
Benjamin Fry
9999d706b5 Copyright update 2015-08-21 17:29:00 -07:00
Benjamin Fry
5b9c046a77 Refactored serialization into encoder/decoder 2015-08-21 11:21:20 -07:00
Benjamin Fry
488961b8ad start of resource records 2015-08-07 19:55:03 -07:00