Commit Graph

317 Commits

Author SHA1 Message Date
Willem Toorop c3df13b27c PATH_MAX can be in sys/limits.h too..
and must have a fallback value
2017-09-28 19:45:16 +02:00
Willem Toorop b9260f8fca Install Windows format stubby.yml on Windows 2017-09-27 16:24:32 +02:00
Willem Toorop bf2e08e2df Move yaml config handling to Stubby 2017-09-27 12:45:13 +02:00
Willem Toorop f26669df68 Make a -rc1 tarball 2017-09-22 12:37:40 +02:00
Willem Toorop 712f62a4c1 Things that came out of compiling on Windows 2017-09-21 11:03:38 +02:00
Willem Toorop 7c229c40cd Merge branch 'features/zeroconf-dnssec' into release/v1.2.0 2017-09-20 15:45:27 +02:00
Willem Toorop fbc1526f47 Merge branch 'devel/compile-on-windows' into release/v1.2.0 2017-09-20 15:40:31 +02:00
Willem Toorop d880d4222b Merge remote-tracking branch 'jim/features/yaml' into release/v1.2.0 2017-09-20 15:40:02 +02:00
Willem Toorop 905cf290d4 Bump version, update ChangeLog 2017-09-20 15:38:07 +02:00
Willem Toorop 8980929150 Check whether -D_POSIX is needed for sigset_t 2017-09-14 17:16:54 +02:00
Willem Toorop 836c651539 Initial fixes from John to compile getdns on Windows 2017-09-14 12:25:25 +02:00
Jim Hague 6c95f4177d Add YAML configuration option.
Add new extra functions getdns_yaml2(dict|list|bindata|value)(). These are like their getdns_str2() counterparts, but take YAML input rather than JSON.

YAML introduces a new dependency, on libyaml. YAML can be disabled at configuration time, in which case the dependency is removed.

Modify getdns_query such that if a configuration file name includes ".yaml" it will be processed as a YAML configuration, not a JSON configuration.

Internally, getdns_yaml2*() work by passing the YAML string through a simple translation to JSON. At present, this translation assumes that configuration is the only use case, and so will error if the outer layer of the YAML input is not a map. This in effect means that at present all getdns_yaml2*() functions apart from getdns_yaml2dict() will give an error on the YAML translation to JSON.
2017-09-12 16:47:57 +01:00
Willem Toorop c6d40d9adc Merge branch 'develop' into features/zeroconf-dnssec 2017-09-04 16:43:37 +02:00
Willem Toorop 062b88c991 Bumb version 2017-09-01 15:26:25 +02:00
Willem Toorop 2ed2871549 Merge branch 'develop' into features/zeroconf-dnssec 2017-08-30 15:09:39 +02:00
Willem Toorop 1aef5fb3e4 Bumb version + ChangeLog 2017-08-24 13:29:16 +02:00
Willem Toorop e57011a3ea Compile without stubby by default
And with stubby from repo (as submodule) when --with-stubby is specified
2017-08-22 11:25:47 +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 742588dd6f Merge branch 'develop' into hackathon/zeroconf-dnssec 2017-06-29 11:09:30 +02:00
Willem Toorop f47606b643 Bump version 2017-06-28 21:21:15 +02:00
Willem Toorop 7ea3beaa6a Equip context with xml read trust anchors 2017-06-22 12:27:20 +02:00
Willem Toorop a2cf568190 RFC7958 root-anchors.xml parsing 2017-06-22 00:36:26 +02:00
Willem Toorop 4275ea6ffa Merge branch 'develop' into hackathon/zeroconf-dnssec 2017-06-20 10:06:00 +02:00
Willem Toorop 606b83d857 Bump version 2017-06-15 21:43:23 +02:00
Willem Toorop 64d1063dec Dashes in front of release candidates! 2017-06-14 16:31:45 +02:00
Willem Toorop 9b548a76c9 Resync with Unbound 2017-06-08 14:48:22 +02:00
Willem Toorop bc0052d4bb Bumb version 2017-06-01 15:26:18 +02:00
Willem Toorop 67d787d74a Merge branch 'develop' into hackathon/zeroconf-dnssec 2017-05-12 15:39:02 +02:00
Willem Toorop ed08025c38 A better approach for the Windows strdup issue 2017-05-02 17:22:06 +02:00
Willem Toorop 16d97b607c Add missing RR types SMIMEA and AVC
+ fix rdata of TA RR type
2017-05-02 15:54:12 +02:00
Willem Toorop 05268f45b0 Bump version 2017-04-13 11:48:40 +02:00
Willem Toorop 6026cb1450 1.1.0-rc3 2017-04-12 23:08:20 +02:00
Willem Toorop 0da79ae77a Fix to compile with libressl. Thanks phicoh. 2017-04-12 23:05:17 +02:00
Willem Toorop f0ee920227 Bump version, update ChangeLog 2017-04-06 16:13:15 +02:00
Willem Toorop 2220c1a48d Options for request debugging 2017-04-05 17:53:39 +02:00
Willem Toorop edecca8b63 smime verification of root-anchors.xml in ~/.getdns 2017-03-27 09:21:29 -05:00
Willem Toorop b3e5c5fb30 Merge branch 'develop' into hackathon/zeroconf-dnssec 2017-03-25 19:52:55 -05:00
Willem Toorop 767ca21bc0 Debugging for anchor management 2017-03-25 19:02:51 +01:00
Willem Toorop e4d4e97542 Suppress unused parameter warnings when we can't help it 2017-03-23 16:59:03 +01:00
Willem Toorop b838cbfe1c Bumb version 2017-03-20 23:22:55 +01:00
Willem Toorop 24abf43de1 Fit mdns code with pending dns netreqs on EMFILE 2017-03-20 21:33:19 +01:00
Willem Toorop a3fe958387 Sync with unbound 2017-03-20 16:41:57 +01:00
Willem Toorop 79ce0cff85 Make mdns compile on Linux 2017-03-09 14:36:20 +01:00
Willem Toorop f1968d1e2c Merge branch 'devel/ub-symbol-mapping' into features/mdns-client 2017-03-09 13:09:56 +01:00
Willem Toorop 5b5123a79d HAVE_PTHREAD instead of HAVE_PTHREADS like unbound 2017-03-09 11:46:15 +01:00
Willem Toorop 028dd0bf3c Configure option to enable draft mdns support 2017-03-08 21:25:39 +01:00
Willem Toorop a6859a08d3 Remove getrlimit from poll_eventloop
No use to check for this limit, because the filedescriptor is already open.
2017-02-16 22:48:16 +01:00
wtoorop 17a5a5db92 Merge pull request #258 from wtoorop/devel/_vfixed_gbuffers
A special bit for the snprintf style modus operandi of fixed gldns gbuffer's
2017-02-16 10:51:20 +01:00
Willem Toorop 30e1683d2f Deal with windows vsnprintf in config.h 2017-02-13 12:32:10 +01:00
Willem Toorop 60443fb7fd Choice of poll or select based default event loop 2017-02-13 11:56:25 +01:00
Willem Toorop 9c9c52aacc Merge branch 'develop' into release/1.1.0-alpha3 2017-01-13 22:08:59 +01:00
Willem Toorop 8a66ba0185 Bump version, update ChangeLog 2017-01-13 20:22:49 +01:00
Willem Toorop cd199def68 Cookies and roadblock avoidance on by default
per RFC7873 and RFC8027
2017-01-13 19:45:54 +01:00
Willem Toorop 9a3b01ed62 DSA support with OpenSSL 1.1.0 2017-01-13 12:48:15 +01:00
Willem Toorop 80219a4195 Merge branch 'bugfix/replace__FUNCTION__' into bugfix/1.1.0-alpha3/replace__FUNCTION__ 2016-12-12 14:20:31 +01:00
Willem Toorop 5f6b93f7f2 Use __func__ var when supported
And let debugging messages compile with -Wpedantic -Werror too
2016-12-12 13:55:10 +01:00
Willem Toorop 37cced78fc Merge branch 'develop' into release/1.1.0-alpha3 2016-12-09 13:27:55 +01:00
Willem Toorop 1a26b884ee Check for -W* support before use 2016-12-09 00:16:24 +01:00
Willem Toorop 9d48c47980 Merge branch 'develop' into release/1.1.0-alpha3 2016-12-08 16:31:47 +01:00
Willem Toorop ce41258b14 Compile with extra warnings by default 2016-12-08 16:26:48 +01:00
Willem Toorop c54a22d95b Binary API changed 2016-11-02 13:43:09 +01:00
Willem Toorop 6fe4b5a6d9 Merge remote-tracking branch 'upstream/develop' into develop 2016-10-31 11:24:06 +01:00
Willem Toorop c0f20a9023 Merge branch 'develop' into release/1.1.0-alpha3 2016-10-31 11:12:26 +01:00
Willem Toorop bb3d741f7a OpenSSL 1.1 support 2016-10-31 10:24:07 +01:00
Willem Toorop 2b682bc3a9 Merge remote-tracking branch 'upstream/develop' into release/1.1.0-alpha3 2016-10-27 16:17:44 +02:00
Neil Cook db6cee94fa Fix HAVE_PTHREADS define in configure.ac 2016-10-26 15:47:44 +00:00
Neil Cook 393b24fe89 pthread-based locking for arc4random 2016-10-26 14:32:35 +00:00
Willem Toorop 3fa34dcfca Mention the actual missing dependencies 2016-10-26 15:52:22 +02:00
Willem Toorop cbe451274b Bump version 2016-10-25 11:09:37 +02:00
Willem Toorop 0fa8152bb6 Bump version to alpha 2
-a2 (with dash) to be semver format compliant
2016-10-15 06:07:33 -05:00
Willem Toorop 3f965e68c0 Stubby is getdns_query with a different name 2016-10-14 12:02:23 +02:00
Willem Toorop 47e718eeb8 OpenSSL 1.1 support 2016-10-13 23:04:50 +02:00
Sara Dickinson a1461d51ec Add abbreviated logging mode for daemon 2016-08-05 14:10:55 +01:00
Willem Toorop c57f8874ec Lib versioning for 1.1.0 2016-07-14 16:25:32 +02:00
Willem Toorop 612c4b1547 Merge branch 'release/v1.0.0b2' into release/v1.1.0a1 2016-07-14 16:24:52 +02:00
Willem Toorop d67507fff8 Actually do lib versioning too! 2016-07-14 16:24:02 +02:00
Willem Toorop 94292f5bc7 Merge branch 'release/v1.0.0b2' into release/v1.1.0a1 2016-07-14 16:22:53 +02:00
Willem Toorop d9a089a6a0 Update .so versioning 2016-07-14 16:00:55 +02:00
Willem Toorop ea69d31dba move getdns_query to src/tools 2016-07-14 13:54:58 +02:00
Willem Toorop df540ad5ca Bumb version 2016-07-04 16:13:30 +02:00
Willem Toorop 91f3494a8a Bumb version to 1.0.0b2 2016-07-04 14:49:45 +02:00
Willem Toorop ce415a6e2a setup server debugging messages 2016-06-28 15:06:02 +02:00
Robert Groenenberg 03fcfc006f Build fails with autoconf 2.63, works with 2.68.
Found on CentOS 6.6. With autoconf268 (available from EPEL repo) it works.
Looking at the update description of autoconf 2.64, the problem _might_ be fixed with that version already.
2016-06-22 14:40:21 +02:00
Guillem Jover 1fb763761b Use libbsd when available
Use the libbsd (https://libbsd.freedesktop.org/) overlay to transparently
use the bsd compatibility layer without needing any actual code changes.

Remove now unnecessary direct access to libbsd includes. And remove
checks for unused functions.
2016-06-09 02:42:22 +02:00
Willem Toorop 40477d3f00 CNAME loops protection 2016-05-30 17:02:28 +02:00
Willem Toorop aedf4454f5 Configure options for tracing messages
(and a secret hidden one to keep connections open)
2016-05-30 16:36:43 +02:00
Willem Toorop b4fceaa008 Enable setting FD_SETSIZE 2016-05-19 17:05:41 +02:00
Tom Pusateri a4b641790b Add a pkg-config file for the getdns_ext_event library. 2016-04-07 16:22:56 -03:00
Willem Toorop cab13ce32a Rename version into 1.0.0b1 2016-03-31 06:22:14 -03:00
Willem Toorop 79e44053d3 Don't include ub event defs twice 2016-03-30 11:43:11 -03:00
Willem Toorop f3bc6360bf Do definitions once 2016-03-30 11:37:16 -03:00
Willem Toorop fc32b300f3 Start with beta release 2016-03-29 20:37:06 +02:00
Willem Toorop fdd3992f65 openssl 1.1 support 2016-03-24 14:02:18 +01:00
Willem Toorop e36ece2b88 Configure option to disable the unbound event API 2016-03-17 16:37:31 +01:00
Melinda Shore cf451d2b2b Merge pull request #146 from wtoorop/devel/direct_root_servers
Devel/direct root servers
2016-03-14 20:06:07 -08:00
Melinda Shore 69a7c1f9ba Merge pull request #145 from wtoorop/features/wire2reply
Features/wire2reply
2016-03-14 20:04:52 -08:00
Willem Toorop d938c433ab Set root servers without temporary file 2016-03-14 11:33:06 +01:00
Willem Toorop f95a052e55 Rewrite DNS proxy in transport/timeout test suites
To use the new DNS packet conversion functions.
This looses the dependency on ldns for unit tests too.
2016-03-14 10:41:32 +01:00