]>
granicus.if.org Git - pdns/log
Remi Gacogne [Fri, 12 Jul 2019 08:35:50 +0000 (10:35 +0200)]
BOOST_CB_ENABLE_DEBUG is overridden before 1.62, set BOOST_CB_DISABLE_DEBUG instead
(cherry picked from commit
7fa225c362a6e009775a1978d54adfe383b29ab8 )
Remi Gacogne [Thu, 11 Jul 2019 15:09:05 +0000 (17:09 +0200)]
Make sure we always compile with BOOST_CB_ENABLE_DEBUG set to 0
(cherry picked from commit
9f6a31fffe1f4bd77fd402f997a5f37a58f72fc5 )
Otto Moerbeek [Fri, 12 Jul 2019 07:12:43 +0000 (09:12 +0200)]
Merge pull request #8052 from omoerbeek/backport-8028-to-rec-4.2.x
Backport 8028 to rec 4.2.x: limit compression pointers to 14 bits
Peter van Dijk [Tue, 9 Jul 2019 09:27:18 +0000 (11:27 +0200)]
centralise constant
(cherry picked from commit
43f038d7d1931bf499d8b03435b99feecea4d170 )
Peter van Dijk [Mon, 8 Jul 2019 15:39:35 +0000 (17:39 +0200)]
actually honour the startRecord compress parameter
(cherry picked from commit
02e7763f2c7f4d2c9d7bab3a3319df1724065ef2 )
Peter van Dijk [Fri, 5 Jul 2019 09:46:25 +0000 (11:46 +0200)]
limit compression pointers to 14 bits
(cherry picked from commit
d26fa3154031ee9ece21f1d1b47faa5d177e34ef )
Otto Moerbeek [Wed, 3 Jul 2019 12:01:37 +0000 (14:01 +0200)]
Merge pull request #8017 from Habbie/rec-4.2.x-ci-onlyrec
travis, circleci: only do recursor testing
Peter van Dijk [Tue, 2 Jul 2019 15:29:41 +0000 (17:29 +0200)]
travis, circleci: only do recursor testing
Otto Moerbeek [Tue, 2 Jul 2019 07:32:39 +0000 (09:32 +0200)]
Merge pull request #8009 from omoerbeek/backport-7997-to-rec-4.2.x
rec backport to 4.2.x: Fix the export of only outgoing queries or incoming responses
Otto Moerbeek [Tue, 2 Jul 2019 07:31:45 +0000 (09:31 +0200)]
Merge pull request #8005 from omoerbeek/backport-7996-to-rec-4.2.x
rec backport to 4.2.x: Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
Remi Gacogne [Fri, 28 Jun 2019 09:47:59 +0000 (11:47 +0200)]
rec: Add tests for outgoing queries/ incoming responses export
(cherry picked from commit
87cab7c0709566a028aa80c86a7d9b409a516b1c )
Remi Gacogne [Fri, 28 Jun 2019 09:47:39 +0000 (11:47 +0200)]
rec: Fix the export of only outgoing queries or incoming responses
(cherry picked from commit
5d6c7a46ec22bbacc2a0dc5e8c74beaa84cfe224 )
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)]
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
(cherry picked from commit
20b22895546a3e7fb7760940599dfb1e29a00777 )
Otto Moerbeek [Wed, 19 Jun 2019 13:04:31 +0000 (15:04 +0200)]
Merge pull request #7955 from omoerbeek/backport-partial-7864-to-rec-4.2.x
rec: backport to 4.2.x: Handle short reads from our random device
Otto Moerbeek [Wed, 19 Jun 2019 12:40:23 +0000 (14:40 +0200)]
Merge pull request #7954 from omoerbeek/backport-7886-to-rec-4.2.x
rec backport to rec 4.2.x: SuffixMatchRee fixes
Otto Moerbeek [Wed, 19 Jun 2019 12:40:05 +0000 (14:40 +0200)]
Merge pull request #7953 from omoerbeek/backport-7861-to-rec-4.2.x
rec backport to 4.2.x: Check if -latomic is needed instead of hardcoding
Remi Gacogne [Wed, 29 May 2019 14:00:35 +0000 (16:00 +0200)]
Handle short reads from our random device
Reported by Coverity (CID
1401626 ).
(cherry picked from commit
144c9852279ef0219c72fe549f72a40f3a255edc )
Remi Gacogne [Fri, 14 Jun 2019 12:02:27 +0000 (14:02 +0200)]
SuffixMatchTree: Remove useless code duplication
(cherry picked from commit
28ed71086538310bf000071b2d86a1a0fddc35fe )
Remi Gacogne [Fri, 7 Jun 2019 10:23:48 +0000 (12:23 +0200)]
SuffixMatchTree: Fix the removal of the root
(cherry picked from commit
dbeebfee558896219c1a44974a66548190b7d4ee )
Remi Gacogne [Fri, 7 Jun 2019 10:21:00 +0000 (12:21 +0200)]
SuffixMatchTree: Fix partial match of non-leaf nodes
If we insert fr and www.domain.fr, domain.fr should not match
www.domain.fr, the leaf node, and it should not match the
intermediary domain.fr node, but it should match the fr
end-node.
(cherry picked from commit
99517c1b39226e50e1eb1a5a6509844fb57e9e68 )
Rosen Penev [Tue, 28 May 2019 17:49:21 +0000 (10:49 -0700)]
Check if -latomic is needed instead of hardcoding
This avoids having a huge list of platforms which can change over time.
(cherry picked from commit
1735eb98cd295c0aec2c2cd4cff436a786dbc70f )
Otto Moerbeek [Mon, 17 Jun 2019 08:25:51 +0000 (10:25 +0200)]
Merge pull request #7939 from omoerbeek/backport-7905-to-rec-4.2.x
rec backport to 4.2.x: : Compare the CacheKey type and place first then the name
Remi Gacogne [Mon, 17 Jun 2019 08:17:44 +0000 (10:17 +0200)]
Merge pull request #7931 from omoerbeek/backport-7884-to-rel/rec-4.2.x
rec backport to 4.2.x: Don't mix time() and gettimeofday() in our unit tests (again)
Remi Gacogne [Tue, 11 Jun 2019 12:47:53 +0000 (14:47 +0200)]
rec: Compare the CacheKey type and place first then the name
We don't care about the actual ordering, so let's do the cheapest
comparisons first then the quite expensive DNSName comparison only
if we really need to.
(cherry picked from commit
186e99c98d195329af05129cd4d6512657edf4bc )
Remi Gacogne [Fri, 7 Jun 2019 08:46:58 +0000 (10:46 +0200)]
rec: Don't mix time() and gettimeofday() in our unit tests (again)
We used to set time returned by `sr->getNow()` via `gettimeofday()`
and later the one used to compute the RRSIG validity via
`time(nullptr)`. It turns out that the second call can return a
value lesser than the first one, without the time going backward,
making our tests fail.
After this commit we base our calculations on the same time value,
so it should not fail randomly anymore.
(cherry picked from commit
d0add506df4075aa8a7e2eb7c66f58ea850ff6d4 )
Otto Moerbeek [Tue, 28 May 2019 14:38:33 +0000 (16:38 +0200)]
Merge pull request #7850 from omoerbeek/backport-7841
Backport 7841: recursor: log UDP TC bits during trace
Peter van Dijk [Wed, 22 May 2019 14:11:44 +0000 (16:11 +0200)]
log UDP TC bit during trace
(cherry picked from commit
b1f2295bfd5295daaec847339c51930dd83845a6 )
Peter van Dijk [Wed, 22 May 2019 14:11:33 +0000 (16:11 +0200)]
do not skip TCP TC logging when not throttling
(cherry picked from commit
4ab4187c7cc5a54a026df37f60015aafec3d3ca0 )
aerique [Tue, 21 May 2019 11:27:03 +0000 (13:27 +0200)]
Merge pull request #7837 from aerique/feature/changelog-and-secpoll-for-rec-4.1.13
Update secpoll and changelog for rec-4.1.13 release.
Pieter Lexis [Mon, 20 May 2019 13:53:39 +0000 (15:53 +0200)]
Merge pull request #7835 from ahupowerdns/mysql-view-warning
add warning about MySQL views
Remi Gacogne [Mon, 20 May 2019 12:27:06 +0000 (14:27 +0200)]
Merge pull request #7622 from shane-kerr/dnsdist-lua-actions-std-string
Change all occurrences of string to std::string
Remi Gacogne [Mon, 20 May 2019 12:25:59 +0000 (14:25 +0200)]
Merge pull request #7825 from rgacogne/dnsdist-snirule
dnsdist: Implement SNIRule for DoT and DoH
bert hubert [Mon, 20 May 2019 09:49:25 +0000 (11:49 +0200)]
add warning about MySQL views
Remi Gacogne [Mon, 20 May 2019 08:21:13 +0000 (10:21 +0200)]
dnsdist: Document that SNIRule will not work with h2o <= 2.3.0-beta
Remi Gacogne [Wed, 15 May 2019 16:15:22 +0000 (18:15 +0200)]
dnsdist: Extract TLS SNI for DoH if support is present
Remi Gacogne [Wed, 15 May 2019 15:11:44 +0000 (17:11 +0200)]
dnsdist: Expose SNI to the Lua DNSQuestion object as well
Remi Gacogne [Wed, 15 May 2019 15:04:09 +0000 (17:04 +0200)]
dnsdist: Implement SNIRule for DoT
Remi Gacogne [Mon, 20 May 2019 09:01:59 +0000 (11:01 +0200)]
Merge pull request #7830 from rgacogne/dnsdist-missing-completions
dnsdist: Add missing completion options and fix some typos
Remi Gacogne [Mon, 20 May 2019 08:03:41 +0000 (10:03 +0200)]
Merge pull request #7833 from Habbie/dnsdist-duplicate-ednsoptioncode-table
remove second, incomplete copy of Lua EDNSOptionCode table
Peter van Dijk [Sat, 18 May 2019 23:05:14 +0000 (01:05 +0200)]
remove second, incomplete copy of Lua EDNSOptionCode table
Remi Gacogne [Fri, 17 May 2019 12:19:21 +0000 (14:19 +0200)]
Merge pull request #7823 from rgacogne/dnsdist-coverity
dnsdist: Fix minor issues reported by Coverity
Remi Gacogne [Fri, 17 May 2019 12:18:07 +0000 (14:18 +0200)]
Merge pull request #7824 from rgacogne/dnsdist-http-rules
dnsdist: Add documentation, completion and tests for our DoH HTTP rules
Remi Gacogne [Fri, 17 May 2019 10:22:48 +0000 (12:22 +0200)]
dnsdist: Add missing completion options and fix some typos
Otto Moerbeek [Fri, 17 May 2019 05:28:27 +0000 (07:28 +0200)]
Merge pull request #7790 from omoerbeek/auth-issue-7579-slave-busy-looping
Do not busy loop if we get lots of notifies.
Peter van Dijk [Thu, 16 May 2019 10:32:34 +0000 (12:32 +0200)]
Merge pull request #7728 from neilcook/nod_docs
Documentation for the NOD and UDR features
Peter van Dijk [Thu, 16 May 2019 10:28:36 +0000 (12:28 +0200)]
Merge pull request #7768 from pieterlexis/auth-pytests-allow-templates
Refactor auth-py tests so config templates can be used
bert hubert [Thu, 16 May 2019 10:11:56 +0000 (12:11 +0200)]
Merge pull request #7784 from mind04/lmdb-auth
auth: lmdbbackend: auth was unset in get() (always true)
Remi Gacogne [Thu, 16 May 2019 10:11:10 +0000 (12:11 +0200)]
Merge pull request #7826 from rgacogne/fix-snmp_select_info2-detection
Fix the detection of snmp_select_info2()
Peter van Dijk [Thu, 16 May 2019 09:26:03 +0000 (11:26 +0200)]
Merge pull request #7363 from mind04/soaedit
Cleanup SOA editing
bert hubert [Thu, 16 May 2019 08:44:21 +0000 (10:44 +0200)]
Merge pull request #7801 from Habbie/presigned-multikey-ds
show DS for second and further keys too; fixes #7667
Remi Gacogne [Wed, 15 May 2019 13:23:05 +0000 (15:23 +0200)]
dnsdist: Add documentation, completion and tests for our HTTP rules
Remi Gacogne [Thu, 16 May 2019 06:57:10 +0000 (08:57 +0200)]
Merge pull request #7817 from rgacogne/dnsdist-doh-post-tests
dnsdist: Add a few more DoH tests
Remi Gacogne [Wed, 15 May 2019 16:35:37 +0000 (18:35 +0200)]
Fix the detection of snmp_select_info2()
We did not properly check whether snmp_select_info2() was available,
resulting in this function not being used even when supported.
Kees Monshouwer [Wed, 15 May 2019 13:18:12 +0000 (15:18 +0200)]
auth: cleanup soaedit and fix #7361
Kees Monshouwer [Thu, 10 Jan 2019 21:29:39 +0000 (22:29 +0100)]
auth: soaedit test by @Habbie
Remi Gacogne [Wed, 15 May 2019 09:06:42 +0000 (11:06 +0200)]
dnsdist: Remove unused code since we moved to an event-based logic
Unused code will only get worse with the time, let's not keep it
around.
Remi Gacogne [Wed, 15 May 2019 09:04:23 +0000 (11:04 +0200)]
dnsdist: Fix minor issues reported by Coverity
One useless test due to the condition being always true,
and one uncatched exception if we ever try to get the handle of a
non-established TCP connection which should never happen.
Remi Gacogne [Wed, 15 May 2019 08:43:35 +0000 (10:43 +0200)]
Merge pull request #7787 from rgacogne/auth-api-replace-ent
auth: Fix ENTs removal when "replacing" new records via the API
Remi Gacogne [Wed, 15 May 2019 08:42:54 +0000 (10:42 +0200)]
Merge pull request #7821 from rgacogne/dnsdist-document-suffixmatchnode
dnsdist: Document the SuffixMatchNode class, newSuffixMatchNode()
Remi Gacogne [Wed, 15 May 2019 08:42:33 +0000 (10:42 +0200)]
Merge pull request #7818 from rgacogne/netsnmp-agent-libs
SNMP: Use net-snmp-config --netsnmp-agent-libs instead of --agent-libs
Peter van Dijk [Tue, 14 May 2019 15:43:45 +0000 (17:43 +0200)]
Merge pull request #7813 from rgacogne/dnsparser-unquoted-overflow
Ensure a valid range to string() in PacketReader::getUnquotedText()
Remi Gacogne [Tue, 14 May 2019 15:22:39 +0000 (17:22 +0200)]
dnsdist: Document the SuffixMatchNode class, newSuffixMatchNode()
Peter van Dijk [Tue, 14 May 2019 14:01:01 +0000 (16:01 +0200)]
Merge pull request #7797 from zeha/setptr-deprecate
API: Mark set-ptr as deprecated
Peter van Dijk [Tue, 14 May 2019 13:47:18 +0000 (15:47 +0200)]
Merge pull request #7615 from DNS-Leo/patch-1
RKEY is missing algorithm field
Remi Gacogne [Fri, 10 May 2019 16:04:38 +0000 (18:04 +0200)]
Ensure a valid range to string() in PacketReader::getUnquotedText()
In some cases we might have called:
string::string(InputIt first, InputIt last)
with last < first, which is invalid.
libstdc++ handles that gracefully by throwing an out-of-range exception
but libc++ tries to allocate a negative value of bytes, which in turns
triggers a request for a very large memory allocation, which fails.
Chris Hofstaedtler [Thu, 9 May 2019 12:08:10 +0000 (14:08 +0200)]
API: Mark set-ptr as deprecated
Remi Gacogne [Mon, 13 May 2019 14:01:06 +0000 (16:01 +0200)]
SNMP: Use net-snmp-config --netsnmp-agent-libs instead of --agent-libs
Remi Gacogne [Mon, 13 May 2019 12:59:57 +0000 (14:59 +0200)]
dnsdist: Add a test for empty DoH GET queries
Remi Gacogne [Mon, 13 May 2019 12:51:06 +0000 (14:51 +0200)]
dnsdist: Add a few tests using POST queries for DoH
Pieter Lexis [Thu, 2 May 2019 13:30:22 +0000 (15:30 +0200)]
Refactor auth-py tests so config templates can be used
Remi Gacogne [Mon, 13 May 2019 12:25:27 +0000 (14:25 +0200)]
Merge pull request #7814 from rgacogne/dnsdist-doh-self-dangling
dnsdist: Don't let 'self' dangling while parsing the request's qname
Remi Gacogne [Mon, 13 May 2019 10:36:00 +0000 (12:36 +0200)]
dnsdist: Add a regression test for an invalid DoH query
Remi Gacogne [Mon, 13 May 2019 09:17:39 +0000 (11:17 +0200)]
dnsdist: Don't let 'self' dangling while parsing the request's qname
Peter van Dijk [Mon, 13 May 2019 08:22:30 +0000 (10:22 +0200)]
Merge pull request #7791 from ncartron/nico_temp
added LMDB backend info
Pieter Lexis [Mon, 13 May 2019 08:07:36 +0000 (10:07 +0200)]
Merge pull request #7805 from Habbie/circleci-pr
fix PR checkout in circle-ci testing
Otto Moerbeek [Fri, 10 May 2019 11:45:00 +0000 (13:45 +0200)]
Minimal fix to avoid busy looping. The condition_variable varant showed
spurious failures on travis so go for the minimial fix.
Kees Hoekzema [Fri, 10 May 2019 09:18:23 +0000 (11:18 +0200)]
fix PR checkout in circle-ci testing
Nico Cartron [Fri, 10 May 2019 10:08:50 +0000 (12:08 +0200)]
Specified that mapasync is the default mode for lmdb-sync-mode
Nico Cartron [Fri, 10 May 2019 10:04:31 +0000 (12:04 +0200)]
Added details about 'lmdb-sync-mode=sync' option
Otto Moerbeek [Fri, 10 May 2019 08:27:42 +0000 (10:27 +0200)]
Merge remote-tracking branch 'origin/master' into auth-issue-7579-slave-busy-looping
Otto Moerbeek [Fri, 10 May 2019 08:26:15 +0000 (10:26 +0200)]
Use a condition variable and restore the loop to be more like the original code.
Separating slave and master comms threads can come later.
Nico Cartron [Thu, 9 May 2019 14:19:24 +0000 (16:19 +0200)]
made the 'nometasync' sync mode explanation more clear
Peter van Dijk [Thu, 9 May 2019 13:10:19 +0000 (15:10 +0200)]
show DS for second and further keys too; fixes #7667
Nico Cartron [Thu, 9 May 2019 13:09:27 +0000 (15:09 +0200)]
specified defaults for lmdb-shards setting
Nico Cartron [Thu, 9 May 2019 12:57:38 +0000 (14:57 +0200)]
fixed weird line, and moved each sentence to a single line.
Pieter Lexis [Thu, 9 May 2019 10:08:04 +0000 (12:08 +0200)]
Merge pull request #7789 from mind04/7785
Fix for #7785
Pieter Lexis [Thu, 9 May 2019 10:03:41 +0000 (12:03 +0200)]
Merge pull request #7786 from pieterlexis/circle-ci-part1
Part one of Circle-CI integration
Remi Gacogne [Thu, 9 May 2019 09:04:49 +0000 (11:04 +0200)]
Merge pull request #7792 from dol/patch-1
[dnsdist] Doc fix of carbonServer
Pieter Lexis [Thu, 9 May 2019 07:29:33 +0000 (09:29 +0200)]
Merge pull request #7783 from pieterlexis/ship-srpm
ship SRPM files as well
Pieter Lexis [Thu, 9 May 2019 07:28:27 +0000 (09:28 +0200)]
Merge pull request #7788 from pieterlexis/trusty-no-dep-on-dns-root-data
pkgs: don't depend on dns-root-data on Trusty
Pieter Lexis [Wed, 8 May 2019 13:18:54 +0000 (15:18 +0200)]
Remove LDAP testing from Travis
Dominic [Tue, 7 May 2019 23:26:24 +0000 (01:26 +0200)]
[dnsdist] Doc fix of carbonServer
Adds missing parameter documentation
Kees Monshouwer [Tue, 7 May 2019 16:48:04 +0000 (18:48 +0200)]
auth: update lmdb tests and some cleanup
Kees Monshouwer [Mon, 6 May 2019 21:56:13 +0000 (23:56 +0200)]
auth: fix, missing insecure zones in authSet #7785
Peter van Dijk [Tue, 7 May 2019 07:54:52 +0000 (09:54 +0200)]
auth: test for #7785
Nico Cartron [Tue, 7 May 2019 13:23:26 +0000 (15:23 +0200)]
added LMDB backend info
Pieter Lexis [Tue, 7 May 2019 10:55:35 +0000 (12:55 +0200)]
Remove unused circleci.sh script
Pieter Lexis [Tue, 7 May 2019 10:47:21 +0000 (12:47 +0200)]
pkgs: don't depend on dns-root-data on Trusty
That package does not exist on Trusty
Remi Gacogne [Tue, 7 May 2019 09:57:04 +0000 (11:57 +0200)]
auth: Fix ENTs removal when "replacing" new records
Remi Gacogne [Tue, 7 May 2019 09:54:44 +0000 (11:54 +0200)]
auth: Fix the "cname at ENT" API test
Rectify is only run for DNSSEC-secured zones and otherwise we have
no ENT to test that the conflict is properly resolved.