Commit Graph

117 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 f506da377a Clean up Challenge.MergeResponse 2015-07-29 12:59:52 -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
Richard Barnes d8a12d8073 Addressing @bifurcation comments 2015-07-21 16:42:23 +02:00
Tom Clegg 0e72f95660 Add mock for syslog. 2015-07-19 05:44:56 -04:00
Tom Clegg 7b3378fcc1 Change "redirecting" log level from Notice to Info. 2015-07-18 22:17:45 -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 3aa6befb0b Review fixes 2015-07-08 20:57:58 +01:00
Roland Shoemaker e3780d3234 Move CNAME call to getCAA 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 dfed747a99 Put LookupHost back, and re-add checks to validateSimpleHTTP and validateDvsni 2015-07-08 20:48:42 +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
Jakub Warmuz 69a0781139
Allow TLS simpleHttp in test mode. 2015-06-28 06:48:40 +00:00
Richard Barnes 04770218ac Remove DNSSEC from simpleHttp and dvsni 2015-06-23 23:33:48 -07:00
Richard Barnes 9a0d4aef0a Fix build problem 2015-06-23 12:02:37 -07:00
Richard Barnes 718920afa3 Enable the VA to send a user-agent header field. 2015-06-23 11:15:51 -07:00
J.C. Jones 4715b4895a Fix #386: `go vet` on VA. 2015-06-22 05:55:57 -07:00
J.C. Jones 2d92fd92d6 Rework per @rolandshoemaker 2015-06-20 13:27:29 -07:00
J.C. Jones ddb4249f18 Fixes #383 - Fix error leg in DNS validation 2015-06-20 10:51:52 -07:00
J.C. Jones d712bcc8a8 Fixes #382: Log more consistently 2015-06-20 10:48:14 -07:00
Roland Shoemaker 1b65434256 Merge master 2015-06-19 20:16:16 +01:00
Roland Shoemaker cd10bd4726 Add DNSSEC check for A/AAAA records to validateSimpleHTTP and validateDvsni 2015-06-19 20:03:27 +01:00