Neil Cook
2d7d6581b4
Ensure netreq->fd is set to -1 after close()/closesocket()
...
If netreq->fd is not set to -1, then multiple functions close the
same socket. This causes major issues in multithread code where the
socket must not be closed multiple times as it may be owned by a
different thread.
2017-07-31 22:48:09 +01:00
Paul Hoffman
c6c1b5cfa2
Make building instructions clearer
...
... and add packages for Ubuntu.
2017-07-16 10:53:56 +02:00
Willem Toorop
e11dc92df1
Hopefully the last warning
2017-07-15 18:38:31 +02:00
Willem Toorop
84430e02cd
Actually working roadblocks and getting validation chains
2017-07-15 17:48:24 +02:00
Willem Toorop
bceb6c8c87
Resubmit netreqs when roadblocks need to be avoided
2017-07-15 11:14:35 +02:00
Willem Toorop
c5acb3769b
Exit with error when answers were bogus
2017-07-06 21:28:34 +02:00
Willem Toorop
d589adf120
Use -V option in transport tests
2017-07-06 12:19:14 +02:00
Willem Toorop
d402603f4a
Merge branch 'develop' of github.com:getdnsapi/getdns into develop
2017-07-06 12:13:30 +02:00
Willem Toorop
4478745955
No output from getdns_query to stdout except the result (unless -V is used)
...
Resolves issue #315
2017-07-06 12:08:09 +02:00
Sara Dickinson
28c41c3495
Move the SYNC/ASYNC response text to after the dict so the dict is the first thing output and can be parsed without stripping this text (request from user).
2017-07-06 12:03:35 +02:00
Willem Toorop
44065bead8
Initial windows work
2017-07-06 00:26:21 +02:00
Willem Toorop
9c78f8ecc8
Merge branch 'develop' into features/zeroconf-dnssec
2017-07-03 22:43:47 +02:00
Willem Toorop
1b731271af
Bump version
2017-07-03 16:23:25 +02:00
Willem Toorop
7151e6fd44
Deal with leaking timeouts (between sync and async loop)
2017-07-01 01:01:17 +02:00
Willem Toorop
11138ff678
Also register application set trust anchors
2017-07-01 01:00:40 +02:00
Willem Toorop
59ff5e8178
0 terminate xml files
2017-07-01 00:45:09 +02:00
Willem Toorop
2b20f35e0e
Write fetched trust anchor
2017-07-01 00:05:20 +02:00
Willem Toorop
8ec1f8eae9
Happy Eyeballs
2017-06-30 22:51:03 +02:00
Willem Toorop
f9bdedbf84
Reconnect on pipelining failure
2017-06-30 22:00:14 +02:00
Willem Toorop
4a5f03ebbe
Anticipate surplus reads
2017-06-30 21:14:02 +02:00
Willem Toorop
77d13f885e
unused function warning
2017-06-30 11:08:20 +02:00
Willem Toorop
61561dd527
Fix warnings & dependencies
2017-06-30 10:45:51 +02:00
Willem Toorop
3e6c5775ff
Fetch and equip context with trust-anchors
2017-06-30 10:18:07 +02:00
Willem Toorop
742588dd6f
Merge branch 'develop' into hackathon/zeroconf-dnssec
2017-06-29 11:09:30 +02:00
Melinda Shore
146638ab94
Modified Dockerfile to check out getdns master and to use unbound-anchor to install dnssec trust root
2017-06-28 22:11:30 -08:00
wtoorop
45884a2dd7
Merge pull request #310 from getdnsapi/features/getdns_context_set_logfunc
...
A configurable log function
2017-06-28 22:55:45 +02:00
Willem Toorop
91ccbcd7df
Typo?
2017-06-28 21:45:54 +02:00
wtoorop
280e72a0fe
Merge pull request #311 from MelindaShore/develop
...
Basic Dockerfile for stubby.
2017-06-28 21:28:31 +02:00
Willem Toorop
78f027aaab
The event loop bugfix
2017-06-28 21:24:35 +02:00
Willem Toorop
19479d4089
Merge branch 'develop' into features/getdns_context_set_logfunc
2017-06-28 21:22:55 +02:00
Willem Toorop
f47606b643
Bump version
2017-06-28 21:21:15 +02:00
Willem Toorop
264135e799
Reintroduct timestamps and replace GETDNS_DAEMON: with STUBBY:
2017-06-28 21:09:40 +02:00
Willem Toorop
8235250fb6
Rename SYSTEM_DAEMON in LOG_UPSTREAM_STATS
2017-06-28 20:57:53 +02:00
Willem Toorop
fb267938c3
Start with fetching root-anchors remotely
...
Also lays the foundation for looking up upstreams by name and DANE authentication of upstreams.
2017-06-28 20:35:30 +02:00
Sara Dickinson
55acf6662c
Fix for outputting the address string in the DAEMON log
2017-06-28 17:58:38 +01:00
wtoorop
101f24a6da
Merge pull request #309 from getdnsapi/bugfix/detect_connection_reset
...
Respond to socket errors
2017-06-28 11:37:14 +02:00
Willem Toorop
195f4c59c8
Fix for the constants declaration issue
2017-06-27 07:49:01 +02:00
Melinda Shore
b0c55d540f
Basic Dockerfile for stubby.
2017-06-26 17:17:16 -08:00
Willem Toorop
04e554086a
A configurable log function
...
Currently used only for DAEMON_DEBUG
2017-06-27 00:23:22 +02:00
Willem Toorop
ce43942cbe
Respond to socket errors
2017-06-26 16:57:23 +02:00
Willem Toorop
ff1ebbf671
Hmmm... this time the warning does make sense
2017-06-22 13:09:45 +02:00
Willem Toorop
2962baa050
Old (not so smart) compiler warns for uninitialized variable
2017-06-22 12:48:22 +02:00
Willem Toorop
69b3f6f558
Remove unnecessary initialization (scan-build)
2017-06-22 12:43:33 +02:00
Willem Toorop
e2f1d3badb
Dependencies
2017-06-22 12:41:01 +02:00
Willem Toorop
4a1008e02c
New deps for anchor.lo
2017-06-22 12:28:07 +02:00
Willem Toorop
7ea3beaa6a
Equip context with xml read trust anchors
2017-06-22 12:27:20 +02:00
Willem Toorop
6b70160659
getdnsify function names, even though they're static
2017-06-22 10:30:13 +02:00
Willem Toorop
a2cf568190
RFC7958 root-anchors.xml parsing
2017-06-22 00:36:26 +02:00
Willem Toorop
631bf3fffc
Copy yxml in distributions too
2017-06-20 16:07:25 +02:00
Willem Toorop
a7ed88fbed
Add yxml as submodule
2017-06-20 16:00:37 +02:00