Commit Graph

68 Commits

Author SHA1 Message Date
Richard Barnes bef0dbf99a Address @jcj comments on #497 2015-07-30 16:24:07 -04:00
Richard Barnes 7e3058d099 More deterministic token control 2015-07-29 15:35:52 -04:00
Richard Barnes 2ecdd056de Re-add tests removed during rebase. 2015-07-29 15:03:12 -04:00
Richard Barnes 4f95f66f98 Remove AcmeJWS and move everything over to LE fork of go-jose 2015-07-29 12:44:39 -04:00
Richard Barnes 9e87cef807 Further test fixes 2015-07-29 12:20:00 -04:00
Richard Barnes de5c50739a Mostly fixed tests 2015-07-29 12:19:12 -04:00
Richard Barnes e60df240d8 Update DVSNI and DNS challenges 2015-07-29 12:19:12 -04:00
Richard Barnes 4cac9da9fd Refactor simpleHttp challenge 2015-07-29 12:18:09 -04:00
Tom Clegg 8ec9723166 Do not test CAA lookup behavior for "CNAME+CAA both exist." 2015-07-27 21:51:14 -04:00
Tom Clegg a843772736 Follow CNAME and DNAME during CAA lookups, cf. RFC 6844. 2015-07-26 01:25:30 -04:00
Tom Clegg d30ea8a4b6 Distinguish between "lookup failed" and "CNAME does not exist" in LookupCNAME. 2015-07-25 05:47:15 -04:00
Tom Clegg a6a1e27ac7 Remove useless test function. 2015-07-21 21:40:20 -04:00
Tom Clegg 2583ce55a5 Verify logs were generated. 2015-07-21 21:37:34 -04:00
Tom Clegg e09f9eebf1 Merge remote-tracking branch 'upstream/master' into 414-va-log-redirects
Conflicts:
	va/validation-authority_test.go
2015-07-21 21:32:50 -04:00
Jacob Hoffman-Andrews 99c339f850 Merge pull request #498 from tomclegg/490-mock-logs
Add mock for syslog.
2015-07-21 17:40:06 -07:00
Tom Clegg 2d0be62966 Use mock syslog in test suites (except core and log). Drop SwitchLog(). 2015-07-21 17:06:39 -04:00
Richard Barnes 55d5488b49 Merge branch 'master' into dnssec-cleanup 2015-07-21 17:14:41 +02:00
Tom Clegg 0e72f95660 Add mock for syslog. 2015-07-19 05:44:56 -04:00
Tom Clegg d94860b6cb Log redirects encountered during HTTP validation. Fixes #414 2015-07-16 22:26:11 -04:00
Jeff Hodges ef54dda46a add debug http server to services
Currently, the debug http server in every service contains just the
net/http/pprof handlers. This allows us to get CPU, blocking, and memory
profiling remotely.

Along the way, remove all the places we use http.DefaultServeMux (which
includes use of http.Handle and http.HandlerFunc) and use a NewServeMux
for each place.

Fixes #457
2015-07-14 01:28:18 -07:00
Roland Shoemaker d403a4224b Remove another timeout catcher 2015-07-08 22:24:50 +01:00
Roland Shoemaker e50ad76edd Change tests to indicate testing SERVFAIL not DNSSEC 2015-07-08 22:18:38 +01:00
Roland Shoemaker 0cea5dffd0 Remove dangling timeout workarounds 2015-07-08 22:11:56 +01:00
Roland Shoemaker 720fc2450d Remove timeout catching in preparation for #438 2015-07-08 20:57:58 +01:00
Roland Shoemaker 34bd2a2915 Review fixes 2015-07-08 20:56:59 +01:00
Roland Shoemaker cb1ddfaf78 Add parseDNSError method and use it to provide better problem detail, also add test workaround for timeouts until #401 is fixed 2015-07-08 20:52:40 +01:00
Roland Shoemaker 2d339651d7 Remove LookupDNSSEC and LookupHosts methods, and their usage, log SERVFAIL from resolver and query type it came from, ignore SERVFAIL from LookupCAA 2015-07-08 20:47:46 +01:00
Roland Shoemaker 294a313974 Cleanup rebase/merge artifact 2015-07-07 22:35:39 +01:00
Roland Shoemaker 624581518d Consistent domain usage, DNSResolver comment, and empty CAA test 2015-07-07 22:31:44 +01:00
Roland Shoemaker 5b092db5c7 Actually add mock file, and remove unused commented tests 2015-07-07 22:31:44 +01:00
Roland Shoemaker f6248ef279 Flesh out DNS mock methods, and move them to their own sub-module instead of under test/ to avoid import loop, Add Loopback DNS resolver for core/dns_test.go 2015-07-07 22:31:44 +01:00
J.C. Jones e4055e4646 WIP 2015-07-07 22:31:43 +01:00
Jakub Warmuz c48f6dfecf
Address review comments. 2015-06-30 06:13:38 +00:00
Jakub Warmuz cebd1eee49
Update tests for TLS simpleHttp. 2015-06-28 09:04:09 +00:00
Brad Warren 93ff18b365 Finished addinig validation errors 2015-06-18 14:10:24 -07:00
Brad Warren f19cad3a04 Additional cleanup of error handling 2015-06-18 10:08:59 -07:00
Brad Warren 6fac234036 Updated error messages and internal error handling 2015-06-17 10:56:46 -07:00
J.C. Jones 41f5788c77 Correct most `go lint` warnings. (274 -> 5) 2015-06-16 22:18:28 -05:00
J.C. Jones b24f6b23fe Moved to `miekg/dns` for the VA.
- Created some helper methods to run DNSSEC and reduce code reuse
- Support multiple DNS servers, but not in the Config file (yet)
- Fix typo; r=@rolandshoemaker
2015-06-16 19:37:15 -05:00
J.C. Jones fcaa6b9530 Issue #11: Add tests 2015-06-16 09:03:03 -05:00
J.C. Jones cc97492a54 Issue #11: Basic DNS Challenge support 2015-06-16 09:03:03 -05:00
Brad Warren 3ca3d9b283 Finished adding basic errors 2015-06-15 19:30:11 -07:00
Roland Shoemaker f4ee29d1d3 Change all references from SimpleHTTPS -> SimpleHTTP 2015-06-12 11:22:04 -07:00
Roland Shoemaker ef3adda09b Switch TLS to pointer 2015-06-11 22:08:38 -07:00
Roland Shoemaker c301125e93 Add TLS field to core.Challenge per spec 2015-06-11 17:12:50 -07:00
Roland Shoemaker 6c0127d1b0 Add some comments, clean up RFC 6844 query order 2015-06-10 17:27:08 -07:00
Roland Shoemaker 7029124c75 Add checking for DNSSEC failure at the resolver 2015-06-10 15:50:17 -07:00
Roland Shoemaker 0265b6f5d0 Merge upstream/master and fix conflicts 2015-06-10 12:43:11 -07:00
Roland Shoemaker 050887bff6 Ignore closed connection errors from httpsServer.Serve 2015-06-08 13:29:29 -07:00
Roland Shoemaker 3e43e05553 Don't write to dead simpleSrv/dvsniSrv connections 2015-06-08 12:54:38 -07:00