Willem Toorop
df2997d9b7
Eliminate compiler warnings in tests
2021-05-26 15:44:24 +02:00
Willem Toorop
1184f2b8ea
Update components from Unbound
2021-05-26 15:43:40 +02:00
Willem Toorop
55be327f69
Fix wrong extension names from merge
2021-05-26 15:42:35 +02:00
Willem Toorop
d934b4129f
Merge branch 'banburybill-feature/installdlls' into develop
2021-05-26 15:13:11 +02:00
Willem Toorop
3966459fdb
Merge branch 'feature/installdlls' of https://github.com/banburybill/getdns into banburybill-feature/installdlls
2021-05-26 15:12:59 +02:00
Willem Toorop
c1b6903e58
Merge pull request #472 from cohall-2020/develop
...
Skip check_c_source_runs when cross-compiling.
2021-05-26 11:21:43 +02:00
Willem Toorop
8abc3b62b8
Merge pull request #468 from renaudallard/develop
...
Added checks for LibreSSL and OpenBSD
2021-05-26 11:18:20 +02:00
Willem Toorop
63e4d1a1ef
Merge pull request #474 from banburybill/feature/blocking-select
...
Observe blocking flag in select run_once.
2021-05-26 11:17:20 +02:00
Willem Toorop
291e001881
Merge pull request #497 from har-riz/develop
...
Fix typo in cmakeconfig.h.in files
2021-01-27 13:40:26 +01:00
har-riz
0a13e4dbd3
Fix typo in cmakeconfig.h.in files
...
Fix typo in CMAKE included files, so Stubby can use TLS v1.3 with chipersuites options ON.
This solve issue that's written in here :
https://github.com/getdnsapi/stubby/issues/240
2021-01-27 18:29:22 +07:00
Jim Hague
7fe308f718
Merge pull request #492 from fcelda/fix-lib-naming
...
Fix naming of extension libraries
2020-11-04 10:13:10 +00:00
Jim Hague
4440a24352
Merge pull request #489 from fcelda/fix-lib-exports
...
Fix exporting symbols for extension libraries
2020-11-04 10:04:43 +00:00
Willem Toorop
ebeff97192
Merge pull request #486 from elindsey/eli
...
only check for and process read/write events if status is success
2020-10-05 12:34:28 +02:00
Jan Vcelak
03fc32984e
build: fix naming of extension libraries
2020-10-05 12:23:27 +02:00
Jan Vcelak
6507e4c469
build: fix exporting symbols for extension libraries
2020-09-18 14:02:30 +02:00
Eli Lindsey
71521626d9
only check for and process read/write events if status is success
2020-09-10 10:59:12 -04:00
Willem Toorop
bda845ce43
Issue #430 listeners reply returned wireformat
...
So that proxies based on `getdns_set_listen_addresses()` reply with compression from the original response.
2020-08-04 00:05:04 +02:00
Willem Toorop
fc4eb466b9
Merge pull request #478 from banburybill/feature/static-openssl
...
Add system libraries when checking OpenSSL functions.
2020-06-25 12:18:15 +02:00
Jim Hague
c9072b2526
Add system libraries when checking OpenSSL functions.
...
If OpenSSL is a static library, linking the test programs will require
system libraries.
2020-06-24 22:07:29 +01:00
Jim Hague
1c97459ec3
Install the DLLs when installing on Windows.
2020-06-24 14:36:30 +01:00
Willem Toorop
7c767b1a5f
Merge pull request #476 from elindsey/develop
...
register only a single poll_t with libuv
2020-06-19 10:24:17 +02:00
Eli Lindsey
2673a5736c
register only a single poll_t with libuv
...
Most of the time we only need a read _or_ a write callback registered
with libuv - for example, on a UDP request a write callback is
registered, when executed the write callback performs the write,
deregisters itself, and registers a read callback.
However there is one case where getdns registers both read and write
callbacks: when a backlog of TCP requests is going to the same upstream
resolver, we use a single fd and queue the requests. In this instance we
want to listen for both read (to get responses for requests we've
already sent) and write (to continue to send our pending requests).
libuv, like most event libraries, only allows one callback to be
registered per fd. To get notification for both reads and writes, you
should examine the event flags and have appropriate conditional logic
within the single callback. Today getdns incorrectly tries to register
two separate poll_t with libuv, one for read and one for write - this
results in a crash (internal libuv assertion guaranteeing that only a
single poll_t is registered per fd).
Testing was done by using flamethrower
(https://github.com/DNS-OARC/flamethrower ) to toss queries at a program
that embeds getdns.
Note that a higher qps trigger a _different_ getdns/libuv crashing bug
that occurs when the TCP backlog grows so large that requests start to
time out. That crash is not addressed in this PR, and will be more
involved to fix.
2020-06-18 17:31:34 -04:00
Jim Hague
8a95f3d279
Observe blocking flag in select run_once.
...
Currently run_once always blocks.
2020-06-12 10:49:47 +01:00
Willem Toorop
f020cca206
Merge pull request #473 from rogers0/PR/fix_cmake
...
Fix install path for cmake build since we use GNUInstallDirs
2020-05-27 17:42:24 +02:00
Roger Shimizu
7c6188c53d
Fix install path for cmake build since we use GNUInstallDirs
...
So we use install path below since cmake v3.0 [1]:
- CMAKE_INSTALL_LIBDIR
- CMAKE_INSTALL_INCLUDEDIR
[1] https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html
2020-05-27 00:30:33 +09:00
cohall-2020
5e7bf99a5f
Merge pull request #1 from cohall-2020/cohall-2020-patch-CMakeList
...
Update CMakeLists.txt
2020-05-08 13:27:00 +02:00
Willem Toorop
5c79e2c731
Merge pull request #471 from getdnsapi/feature/privacy-aware-cookies
...
Privacy aware DNS Cookies
2020-05-01 11:13:00 +02:00
cohall-2020
320dd098a8
Update CMakeLists.txt
2020-04-28 23:56:40 +02:00
Willem Toorop
8bd87c490e
Fix of const-info.c
2020-04-14 20:58:36 +02:00
Willem Toorop
9ecd3fde1c
Privacy aware DNS Cookies
...
Track source IP address in an efficient manner to make sure the same cookie will not be sent from different source IP addresses.
2020-04-09 16:24:34 +02:00
Willem Toorop
de13a0c32d
Better retry on badcookie flooding prevention
2020-04-08 19:16:51 +02:00
Willem Toorop
8b62970e0c
Response to BADCOOKIE extended rcode
2020-04-08 16:08:56 +02:00
Willem Toorop
563b2b113a
Show dns_root_servers setting in API information
2020-03-27 10:11:26 +01:00
Renaud Allard
31031d7c57
Added checks for LibreSSL and OpenBSD
2020-03-24 14:14:39 +01:00
Willem Toorop
73cee29f55
Make TLS Handshake timeout max 4/5th of timeout
...
for the query, just like connection setup timeout was, so fallback transport have a chance too when TCP connection setup is less well detectable (as with TCP_FASTOPEN on MacOS).
2020-03-16 14:50:59 +01:00
Jim Hague
0b01ad8e6f
Merge branch 'develop' of https://github.com/getdnsapi/getdns into develop
2020-03-16 11:23:52 +00:00
Willem Toorop
3c6756d68b
Issue #466 : Memory leak with retrying queries
...
(for examples with search paths).
Thanks doublez13.
2020-03-13 22:31:01 +01:00
Jim Hague
3f9e0f9671
Merge branch 'my-develop' into develop
...
Update Stubby and add small GnuTLS version fixup to signature selection.
2020-03-12 16:17:08 +00:00
Jim Hague
be09306567
Update Stubby to pick up latest Stubby release tag and Windows packaging details.
2020-03-12 16:13:11 +00:00
Jim Hague
cd386cd917
Merge commit '26a95b5b8a213096641654c5b97976e66ec32e5d' into my-develop
...
# Conflicts:
# src/gnutls/tls.c
2020-03-12 15:51:22 +00:00
Willem Toorop
2c51db610a
Merge pull request #465 from banburybill/develop
...
Relax GnuTLS priority strings slightly to allow getdns to work with T…
2020-03-05 14:52:55 +01:00
Willem Toorop
26a95b5b8a
Fix DoT with GnuTLS >= 3.6
2020-03-05 14:46:32 +01:00
Jim Hague
0078977ada
Merge branch 'develop' into my-develop
2020-03-05 13:25:24 +00:00
Jim Hague
9baf655a7b
Relax GnuTLS priority strings slightly to allow getdns to work with TLS1.3 servers.
...
Now GnuTLS 3.6.5 and later are in the field, we've run into problems handshaking with TLS1.3 servers with a GnuTLS build. OpenSSL works fine. Comparing the client handshake of GnuTLS and OpenSSL, we found GnuTLS was being considerably more restrictive. This change loosens the restriction so GnuTLS presents nearly the same set of cipher and other options and OpenSSL. OpenSSL provides more signature algorithms. The change gets GetDNS working against Quad1, Quad8, Quad9 and the getdnsapi servers.
2020-03-05 13:24:44 +00:00
Willem Toorop
c234865a80
Print GnuTLS debug messages
2020-03-05 13:39:30 +01:00
Willem Toorop
6972c99268
Merge pull request #464 from banburybill/develop
...
Various small fixes
2020-03-05 10:14:28 +01:00
Jim Hague
252d68e67a
Update stubby.
2020-03-04 16:06:14 +00:00
Jim Hague
37e33bc7f5
Merge branch 'develop' into my-develop
2020-03-04 15:30:47 +00:00
Jim Hague
e96e334932
Point ssl_dane submodule back at getdnsapi version.
2020-03-04 15:30:26 +00:00
Jim Hague
55ffca15ce
Merge branch 'develop' into my-develop
2020-03-04 15:13:57 +00:00