]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 9 May 2017 14:19:09 +0000 (16:19 +0200)]
rec: Check NSEC3 closest encloser
Remi Gacogne [Fri, 5 May 2017 17:02:40 +0000 (19:02 +0200)]
rec: Fix handling on DS denial during referral
Remi Gacogne [Wed, 3 May 2017 17:01:55 +0000 (19:01 +0200)]
rec: Add more DNSSEC tests, fixing some issues with state transition
Remi Gacogne [Tue, 2 May 2017 21:00:06 +0000 (23:00 +0200)]
rec: Fix DNSSEC issues found by adding more DNSSEC unit test
Remi Gacogne [Fri, 28 Apr 2017 11:50:13 +0000 (13:50 +0200)]
rec: Add DNSSEC tests in the SyncRes unit tests suite
Remi Gacogne [Thu, 20 Apr 2017 17:12:28 +0000 (19:12 +0200)]
auth: getKeysFor() signature changed, update toysdig
Remi Gacogne [Fri, 21 Apr 2017 09:45:56 +0000 (11:45 +0200)]
rec: Fix a typo in the DNSSEC regression tests
Remi Gacogne [Wed, 12 Apr 2017 16:18:50 +0000 (18:18 +0200)]
rec: Implement "on-the-fly" DNSSEC processing
Remi Gacogne [Fri, 14 Apr 2017 14:41:04 +0000 (16:41 +0200)]
rec: Only use non-AA data to get NS / DS / glues
Remi Gacogne [Mon, 26 Jun 2017 09:46:40 +0000 (10:46 +0100)]
Merge pull request #5460 from rgacogne/rec-doc-nxd-typo
Doc: Fix a typo in the recursor's scripting documentation
Remi Gacogne [Mon, 26 Jun 2017 07:55:49 +0000 (08:55 +0100)]
Merge pull request #5455 from pieterlexis/travis-use-auth-40-for-rec-tests
Travis: Use auth 4.0 for recursor tests
Remi Gacogne [Mon, 26 Jun 2017 07:55:01 +0000 (08:55 +0100)]
Merge pull request #5457 from Habbie/luabackend-docs
remove broken link; clarify status
Remi Gacogne [Mon, 26 Jun 2017 07:46:35 +0000 (09:46 +0200)]
Doc: Fix a typo in the recursor's scripting documentation
Remi Gacogne [Fri, 23 Jun 2017 16:22:16 +0000 (18:22 +0200)]
Mention the recursor's SNMP support in logging.md
Peter van Dijk [Fri, 23 Jun 2017 14:24:22 +0000 (16:24 +0200)]
remove broken link; clarify status
Pieter Lexis [Fri, 23 Jun 2017 09:50:12 +0000 (11:50 +0200)]
Merge pull request #5453 from pieterlexis/auth-404-changelog
Authoritative Server 4.0.4 changelog and secpoll
Pieter Lexis [Fri, 23 Jun 2017 08:43:37 +0000 (10:43 +0200)]
Travis: Use auth 4.0 for recursor tests
Remi Gacogne [Fri, 23 Jun 2017 08:38:02 +0000 (09:38 +0100)]
Merge pull request #5449 from rgacogne/dnsdist-no-fastopen-unused
dnsdist: Only declare/set `freshConn` if `MSG_FASTOPEN` is defined
Remi Gacogne [Fri, 23 Jun 2017 08:35:03 +0000 (10:35 +0200)]
dnsdist: Fix TCP with Fast Open requested but unsupported
If `tcpFastOpen` is set on a backend, we used to skip the
`connect()` call regardless of `MSG_FASTOPEN` availability.
We then tried to call `sendmsg()` (without `MSG_FASTOPEN`)
on an unconnected TCP socket, which failed.
Pieter Lexis [Fri, 23 Jun 2017 08:32:08 +0000 (10:32 +0200)]
Add Authoritative Server 4.0.4 secpoll entry
Pieter Lexis [Fri, 23 Jun 2017 08:31:24 +0000 (10:31 +0200)]
Update the Authoritative Server 4.0.4 changelog
Peter van Dijk [Thu, 22 Jun 2017 12:51:51 +0000 (14:51 +0200)]
Merge pull request #5446 from rgacogne/rec-requestor-payload-512
rec: Treat requestor's payload size lower than 512 as equal to 512
Pieter Lexis [Thu, 22 Jun 2017 09:51:08 +0000 (11:51 +0200)]
Rec: create socket-dir from init-script
Closes #5439
Remi Gacogne [Thu, 22 Jun 2017 09:18:04 +0000 (11:18 +0200)]
dnsdist: Only declare/set `freshConn` if `MSG_FASTOPEN` is defined
Peter van Dijk [Thu, 22 Jun 2017 09:00:46 +0000 (11:00 +0200)]
Merge pull request #5444 from Habbie/uri-5443
make URI integers 16 bits, fixes #5443
Peter van Dijk [Thu, 22 Jun 2017 08:59:35 +0000 (10:59 +0200)]
Merge pull request #5437 from mind04/oops
oops
Peter van Dijk [Thu, 22 Jun 2017 08:59:02 +0000 (10:59 +0200)]
Merge pull request #5442 from mind04/fallback
don't use the libdecaf
ed25519 signer when libsoduim is enabled
Remi Gacogne [Thu, 22 Jun 2017 08:25:47 +0000 (10:25 +0200)]
rec: Treat requestor's payload size lower than 512 as equal to 512
Peter van Dijk [Thu, 22 Jun 2017 08:09:01 +0000 (10:09 +0200)]
make URI integers 16 bits, fixes #5443
Peter van Dijk [Wed, 21 Jun 2017 17:19:47 +0000 (19:19 +0200)]
Merge pull request #5438 from Habbie/master-travis-edge
make master branch work on the new travis image
bert hubert [Wed, 21 Jun 2017 17:11:15 +0000 (19:11 +0200)]
Merge pull request #5336 from ahupowerdns/tisr
Implement a runtime changeable dnsdist rule that matches IP address for a certain time
Kees Monshouwer [Wed, 21 Jun 2017 12:23:34 +0000 (14:23 +0200)]
don't use the libdecaf
ed25519 signer when libsoduim is enabled
Peter van Dijk [Tue, 20 Jun 2017 08:23:27 +0000 (10:23 +0200)]
bump json gem, patch jdnssec, install fakeroot
for the new travis image
bert hubert [Tue, 23 May 2017 10:01:47 +0000 (12:01 +0200)]
add documentation for TimedIPSetRule()
bert hubert [Tue, 23 May 2017 09:52:34 +0000 (11:52 +0200)]
reduce memory usage of TimedIPSet, add cleanup(), add autocomplete
bert hubert [Mon, 22 May 2017 20:59:11 +0000 (22:59 +0200)]
Implement a runtime changeable rule that matches IP address for a certain time.
This effectively allows (for example) pool selection from Lua, but then cached.
Sample code:
```
newServer({address="192.168.1.20", pool=""})
newServer({address="8.8.8.8", pool="elgoog"})
tisrElGoog=TimedIPSetRule()
tisrRest=TimedIPSetRule()
addAction(tisrElGoog:slice(), PoolAction("elgoog"))
addAction(tisrRest:slice(), PoolAction(""))
elgoogPeople=newNMG()
elgoogPeople:addMask("192.168.1.0/28")
function pickPool(dq)
if(elgoogPeople:match(dq.remoteaddr)) -- in real life, this would be external
then
print("Lua caught query for a googlePerson")
tisrElGoog:add(dq.remoteaddr, 10)
return DNSAction.Pool, "elgoog"
else
print("Lua caught query for restPerson")
tisrRest:add(dq.remoteaddr, 60)
return DNSAction.None, ""
end
end
addLuaAction(AllRule(), pickPool)
```
Remi Gacogne [Wed, 21 Jun 2017 09:39:57 +0000 (10:39 +0100)]
Merge pull request #5380 from rgacogne/mastermake-shared
Make DNSRecordContent::mastermake() return a shared pointer
Remi Gacogne [Wed, 21 Jun 2017 09:39:19 +0000 (10:39 +0100)]
Merge pull request #5383 from RobinGeuze/fixStatsCasing
dnsdist: Change dnsdist stats functions to always return lowercase names
Kees Monshouwer [Wed, 21 Jun 2017 09:12:59 +0000 (11:12 +0200)]
oops
Pieter Lexis [Wed, 21 Jun 2017 08:57:24 +0000 (10:57 +0200)]
Merge pull request #5428 from gertvdijk/rec-docs-show-ntas
rec_control documentation fix: `show-ntas` -> `get-ntas`
Pieter Lexis [Wed, 21 Jun 2017 08:57:07 +0000 (10:57 +0200)]
Merge pull request #5429 from gertvdijk/rec-docs-dont-query
rec: Document behaviour of dont-query with forward-zones.
Pieter Lexis [Wed, 21 Jun 2017 08:52:32 +0000 (10:52 +0200)]
Merge pull request #5413 from Habbie/rpm-missing-schema
add 3.4.0_to_4.1.0_schema.mysql.sql to backend-mysql rpm
Peter van Dijk [Wed, 21 Jun 2017 08:45:14 +0000 (10:45 +0200)]
Merge pull request #5427 from mind04/decaf
hello decaf signers (
ED25519 and ED448)
Remi Gacogne [Wed, 21 Jun 2017 07:34:01 +0000 (08:34 +0100)]
Merge pull request #5434 from PowerDNS/rules-docs
Document that rules are not for creating by the thousands
bert hubert [Tue, 20 Jun 2017 20:58:17 +0000 (22:58 +0200)]
Document that rules are not for creating by the thousands
This addresses #5433, which featured a user attempting to create 30k rules.
Kees Monshouwer [Mon, 19 Jun 2017 09:09:47 +0000 (11:09 +0200)]
add ED448 to signers unit test
Peter van Dijk [Sat, 17 Jun 2017 17:01:52 +0000 (19:01 +0200)]
initial stab at signer testing; has one 8080 test vector for now
Kees Monshouwer [Sat, 17 Jun 2017 15:31:41 +0000 (17:31 +0200)]
hello decaf signers (
ED25519 and ED448)
Testing algorithm 15: 'Decaf
ED25519 ' ->'Decaf
ED25519 ' -> 'Decaf
ED25519 ' Signature & verify ok, signature 68usec, verify 93usec
Testing algorithm 16: 'Decaf ED448' ->'Decaf ED448' -> 'Decaf ED448' Signature & verify ok, signature 163usec, verify 252usec
Gert van Dijk [Mon, 19 Jun 2017 21:08:25 +0000 (23:08 +0200)]
rec: Document behaviour of dont-query with forward-zones.
In testing, it appears to me that setting a zone in forward-zones to query
for an address limited by dont-query is not stopped by it.
Gert van Dijk [Mon, 19 Jun 2017 20:49:46 +0000 (22:49 +0200)]
rec_control doc fix: show-ntas -> get-ntas
The documented rec_control command show-ntas does not appear to be correct.
Remi Gacogne [Mon, 19 Jun 2017 15:43:02 +0000 (17:43 +0200)]
Use `auto` whenever possible with `DNSRecordContent::mastermake()`
Peter van Dijk [Mon, 19 Jun 2017 15:21:55 +0000 (17:21 +0200)]
Merge pull request #5386 from rgacogne/dnsdist-action-truncate
dnsdist: Make a `truncate` action available to DynBlock and Lua
Remi Gacogne [Wed, 14 Jun 2017 16:16:26 +0000 (18:16 +0200)]
rec: Make more specific Netmask < to less specific ones
Having the most specific ones first, then the less specific ones
then the empty one makes it easier to match the most specific first.
Peter van Dijk [Mon, 19 Jun 2017 15:19:37 +0000 (17:19 +0200)]
Merge pull request #5369 from rgacogne/dnsdist-recordstypecount-max
dnsdist: Fix RecordsTypeCountRule's handling of the # of records in a section
Peter van Dijk [Mon, 19 Jun 2017 15:17:25 +0000 (17:17 +0200)]
Merge pull request #5371 from DanAnkers/patch-1
[documentation] [geoipbackend] Add notes about "services" and CNAME handling
Peter van Dijk [Mon, 19 Jun 2017 15:14:45 +0000 (17:14 +0200)]
Merge pull request #5362 from rgacogne/rec-asan-stack-switch-api-3
rec: Add support for the new ASAN fiber switch API
Peter van Dijk [Mon, 19 Jun 2017 15:09:10 +0000 (17:09 +0200)]
Merge pull request #5414 from rgacogne/more-nm-unit-tests
Add more tests to the Netmask unit tests
Peter van Dijk [Mon, 19 Jun 2017 15:08:35 +0000 (17:08 +0200)]
Merge pull request #5417 from lifeforms/docs-recursor-fix
howtos: avoid unrestricted recursive resolution in 4.0.x ALIAS example
Arsen Stasic [Mon, 19 Jun 2017 07:22:29 +0000 (09:22 +0200)]
added migration SQL schema for postgres
Peter van Dijk [Sat, 17 Jun 2017 15:11:13 +0000 (17:11 +0200)]
Merge pull request #5422 from mind04/
ed25519
do not hash the message in the
ed25519 signer
Kees Monshouwer [Fri, 16 Jun 2017 20:29:13 +0000 (22:29 +0200)]
do not hash the message in the
ed25519 signer
https://www.rfc-editor.org/errata_search.php?rfc=8080
This is a Native zone
Metadata items: None
Zone has NSEC semantics
keys:
ID = 1 (CSK), flags = 257, tag = 3613, algo = 15, bits = 256 Active (
ED25519 )
CSK DNSKEY = example.com. IN DNSKEY 257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4= ; (
ED25519 )
DS = example.com. IN DS 3613 15 1
b2c63605467c4a40942b47a953e9c0d38f81083a ; ( SHA1 digest )
DS = example.com. IN DS 3613 15 2
3aa5ab37efce57f737fc1627013fee07bdf241bd10f3b1964ab55c78e79a304b ; ( SHA256 digest )
DS = example.com. IN DS 3613 15 4 89389da437fca8372e67359dfc0dd4428fa2615df6e31bc5501677dd068514fea5c4efaf82188530a8a1645d9d3ef884 ; ( SHA-384 digest )
DNSKEY and DS match
Walter Hop [Thu, 15 Jun 2017 16:47:44 +0000 (18:47 +0200)]
howtos: avoid unrestricted recursive resolution in 4.0.x ALIAS example
Remi Gacogne [Thu, 15 Jun 2017 14:36:52 +0000 (16:36 +0200)]
Add more tests to the Netmask unit tests
Additional tests:
* getBits()
* isIpv4()
* isIPv6()
* getNetwork()
* getMaskedNetwork()
* check that Netmasks constructed from ComboAddresses with different
ports match
Peter van Dijk [Thu, 15 Jun 2017 12:44:06 +0000 (14:44 +0200)]
Merge pull request #5367 from pieterlexis/pdnsutil-and-sql-statements-in-doc
Docs: add pdnsutil examples to domain metadata
Peter van Dijk [Thu, 15 Jun 2017 12:38:54 +0000 (14:38 +0200)]
Merge pull request #5363 from mind04/axfr-rectify
add root zone to rectify-axfr test
Peter van Dijk [Thu, 15 Jun 2017 12:35:42 +0000 (14:35 +0200)]
Merge pull request #5379 from pieterlexis/smimea
Add the SMIMEA RRType (RFC 8162)
Peter van Dijk [Thu, 15 Jun 2017 12:34:52 +0000 (14:34 +0200)]
Merge pull request #5372 from rgacogne/rec-edns-cache-bees
rec: Don't take the initial ECS source for a scope one if EDNS is off
Peter van Dijk [Thu, 15 Jun 2017 12:32:57 +0000 (14:32 +0200)]
Merge pull request #5387 from Gibheer/master
allow control socket to listen on IPv6
Peter van Dijk [Thu, 15 Jun 2017 12:32:32 +0000 (14:32 +0200)]
Merge pull request #5389 from zeha/api-cname
API: Auth: forbid mixing CNAME and other RRsets
Peter van Dijk [Thu, 15 Jun 2017 12:30:11 +0000 (14:30 +0200)]
Merge pull request #5412 from lifeforms/docs-recursor-fix
howtos: add ALIAS recursor note for 4.0.x compatibility
Peter van Dijk [Thu, 15 Jun 2017 11:59:17 +0000 (13:59 +0200)]
add 3.4.0_to_4.1.0_schema.mysql.sql to backend-mysql rpm
Walter Hop [Thu, 15 Jun 2017 11:14:57 +0000 (13:14 +0200)]
howtos: add ALIAS recursor note for 4.0.x compatibility
Remi Gacogne [Thu, 15 Jun 2017 08:13:36 +0000 (09:13 +0100)]
Merge pull request #5408 from ahupowerdns/netmask-port
when making a netmask from a comboaddress, we neglected to zero the port
bert hubert [Thu, 15 Jun 2017 01:14:01 +0000 (03:14 +0200)]
when making a netmask from a comboaddress, we neglected to zero the port. This could lead to a proliferation of netmasks.
Remi Gacogne [Wed, 14 Jun 2017 14:15:53 +0000 (15:15 +0100)]
Merge pull request #5402 from rgacogne/rec-disable-use-incoming-ecs
rec: Disable use-incoming-edns-subnet by default
Remi Gacogne [Wed, 14 Jun 2017 14:15:34 +0000 (15:15 +0100)]
Merge pull request #5404 from rgacogne/rec-snmp-master-socket-switch
rec: snmp-master-socket is a parameter, not a switch
Remi Gacogne [Wed, 14 Jun 2017 12:36:14 +0000 (14:36 +0200)]
rec: snmp-master-socket is a parameter, not a switch
Remi Gacogne [Wed, 14 Jun 2017 12:26:18 +0000 (14:26 +0200)]
rec: Disable use-incoming-edns-subnet by default
Remi Gacogne [Wed, 14 Jun 2017 07:38:44 +0000 (08:38 +0100)]
Merge pull request #5399 from ahupowerdns/ecs-packet-cache
with this, EDNS Client Subnet becomes compatible with the packet cache
Remi Gacogne [Wed, 14 Jun 2017 07:31:51 +0000 (08:31 +0100)]
Merge pull request #5397 from ahupowerdns/no-lua-ecs
also set d_requestor without Lua: the ECS logic needs it
bert hubert [Wed, 14 Jun 2017 06:35:53 +0000 (08:35 +0200)]
with this, EDNS Client Subnet becomes compatible with the packet cache, using the existing variable answer facility.
bert hubert [Tue, 13 Jun 2017 22:41:27 +0000 (00:41 +0200)]
also set d_requestor without Lua: the ECS logic needs it
Remi Gacogne [Thu, 1 Jun 2017 15:20:58 +0000 (17:20 +0200)]
rec: Add support for the new ASAN fiber switch API
Remi Gacogne [Sun, 14 May 2017 12:52:20 +0000 (14:52 +0200)]
auth: Check the connection status in addition to PQstatus()
`PQstatus()` only checks the known state of the connection. It's
useful because if the connection is already known to be bad we don't
need to go further, but it isn't sufficient to detect whether it has
been closed since the last time we used it.
Remi Gacogne [Sun, 16 Apr 2017 11:19:54 +0000 (13:19 +0200)]
auth: GSQLBackend::inTransaction() is cheap, check it before the conn
Remi Gacogne [Sun, 16 Apr 2017 08:25:58 +0000 (10:25 +0200)]
auth: Clear the PQ prepared statements when reconnecting
Remi Gacogne [Sat, 15 Apr 2017 21:17:24 +0000 (23:17 +0200)]
auth: Don't reconnect to a SQL backend if we are in a transaction
Remi Gacogne [Sat, 15 Apr 2017 18:28:16 +0000 (20:28 +0200)]
auth: Clean up the conn check in GSQLBackend::reconnectIfNeeded()
We have a nice method, let's use it :)
Remi Gacogne [Sat, 15 Apr 2017 18:09:32 +0000 (20:09 +0200)]
auth: Reconnect to the server if the My/Pg connection has been closed
Pieter Lexis [Tue, 13 Jun 2017 11:35:18 +0000 (13:35 +0200)]
Merge pull request #5394 from pieterlexis/rec-405-release
Update docs and secpoll for Recursor 4.0.5
Pieter Lexis [Tue, 13 Jun 2017 11:35:01 +0000 (13:35 +0200)]
Merge pull request #5395 from Habbie/auth-404-rc1-docs
Update docs and secpoll for auth 4.0.4 rc1
Peter van Dijk [Tue, 13 Jun 2017 10:33:42 +0000 (12:33 +0200)]
Merge pull request #4965 from DrRemorse/forward-notify
Feature request: PowerDNS Forward-Notify Patch
Peter van Dijk [Tue, 13 Jun 2017 10:06:51 +0000 (12:06 +0200)]
Update docs and secpoll for auth 4.0.4 rc1
Pieter Lexis [Tue, 13 Jun 2017 09:47:03 +0000 (11:47 +0200)]
Update docs and secpoll for Recursor 4.0.5
Peter van Dijk [Mon, 12 Jun 2017 20:58:53 +0000 (22:58 +0200)]
Merge pull request #5377 from mind04/case
NSEC fixes
Peter van Dijk [Mon, 12 Jun 2017 19:56:11 +0000 (21:56 +0200)]
Merge pull request #5373 from mind04/dnssec-axfr
Dnssec axfr
Kees Monshouwer [Sun, 4 Jun 2017 11:31:54 +0000 (13:31 +0200)]
auth: make sure Lua axfrfilter() does not insert out of zone data
Kees Monshouwer [Sun, 4 Jun 2017 11:29:48 +0000 (13:29 +0200)]
auth: some small rectify improvements
Kees Monshouwer [Sun, 4 Jun 2017 11:27:07 +0000 (13:27 +0200)]
auth: make sure upcase qnames do not confuse rectify
Kees Monshouwer [Mon, 12 Jun 2017 19:21:03 +0000 (21:21 +0200)]
auth: make sure all qnames entering pdns via axfr are properly lowered