]>
granicus.if.org Git - pdns/log
bert hubert [Tue, 26 Apr 2016 12:05:33 +0000 (14:05 +0200)]
fix up newlines in console mode, move to 'return *line*' and if that is a syntax error, execute '*line*', also print out simple Lua tables as JSON
bert hubert [Tue, 26 Apr 2016 12:05:11 +0000 (14:05 +0200)]
silence where we read the config file from except in verbose mode
bert hubert [Tue, 26 Apr 2016 11:40:06 +0000 (13:40 +0200)]
hook up nodelay, silence output 'connecting to..' unless --verbose
bert hubert [Tue, 26 Apr 2016 11:39:08 +0000 (13:39 +0200)]
setTCPNoDelay() for dnsdist console. Yak.
bert hubert [Tue, 26 Apr 2016 11:35:06 +0000 (13:35 +0200)]
getAction(n) for n >= number of rules now properly returns nil instead of crashing
bert hubert [Tue, 26 Apr 2016 08:53:48 +0000 (10:53 +0200)]
Merge pull request #3762 from ahupowerdns/teeaction
Teeaction: send copy of query to second nameserver, sponge responses
bert hubert [Mon, 25 Apr 2016 18:10:13 +0000 (20:10 +0200)]
hook up action-stats to JSON output
bert hubert [Mon, 25 Apr 2016 18:02:15 +0000 (20:02 +0200)]
edit in changes suggested by @rgacogne for TeeAction, thanks
bert hubert [Mon, 25 Apr 2016 11:14:47 +0000 (13:14 +0200)]
document TeeAction & new getAction()
bert hubert [Mon, 25 Apr 2016 10:58:07 +0000 (12:58 +0200)]
make TeeAction() quit properly, add getAction() so you can get access to an action, add getStats() to give you raw stats
bert hubert [Mon, 25 Apr 2016 10:57:23 +0000 (12:57 +0200)]
clean up our error reporting on the console a bit, may need to happen for the remotely connected console too
bert hubert [Mon, 25 Apr 2016 08:02:01 +0000 (10:02 +0200)]
initial work on TeeAction, still has some missing bits, like not blocking the whole daemon when you delete a rule
bert hubert [Mon, 25 Apr 2016 07:58:27 +0000 (09:58 +0200)]
grepq() has no sideeffects in dnsdist.
Remi Gacogne [Mon, 25 Apr 2016 07:51:37 +0000 (09:51 +0200)]
Merge pull request #3755 from rgacogne/dnsdist-fix-regex-sample
dnsdist: Fix RegexRule example in dnsdistconf.lua
Remi Gacogne [Fri, 22 Apr 2016 19:14:04 +0000 (21:14 +0200)]
Merge pull request #3714 from rubenk/dnsdist-service
dnsdist: add documentation links to dnsdist.service
Pieter Lexis [Fri, 22 Apr 2016 14:08:45 +0000 (16:08 +0200)]
Merge pull request #3751 from medea61/master
fixing systemd capability issues #3748 & #3749
Roman Hochuli [Fri, 22 Apr 2016 09:21:40 +0000 (11:21 +0200)]
fixing #3749
Roman Hochuli [Fri, 22 Apr 2016 09:19:41 +0000 (11:19 +0200)]
fixing #3748
Remi Gacogne [Thu, 21 Apr 2016 19:42:21 +0000 (21:42 +0200)]
dnsdist: Fix RegexRule example in dnsdistconf.lua
Pieter Lexis [Thu, 21 Apr 2016 10:37:06 +0000 (12:37 +0200)]
Merge pull request #3745 from pieterlexis/dnsdist-not-remote-logo
dnsdist website, use a local logo
Remi Gacogne [Thu, 21 Apr 2016 10:31:31 +0000 (12:31 +0200)]
Merge pull request #3744 from rgacogne/dnsdist-100final-changelog
dnsdist: Update ChangeLog for 1.0.0
Pieter Lexis [Thu, 21 Apr 2016 10:28:50 +0000 (12:28 +0200)]
dnsdist website, use a local logo
Ruben Kerkhof [Fri, 15 Apr 2016 13:59:14 +0000 (15:59 +0200)]
dnsdist: add documentation links to dnsdist.service
Pieter Lexis [Wed, 20 Apr 2016 15:54:07 +0000 (17:54 +0200)]
Merge pull request #3740 from ahupowerdns/bind-nsec-fix
fixes a crash in BIND backend NSEC code - but needs more work
Remi Gacogne [Wed, 20 Apr 2016 14:14:19 +0000 (16:14 +0200)]
dnsdist: Update ChangeLog for 1.0.0
Remi Gacogne [Wed, 20 Apr 2016 12:12:54 +0000 (14:12 +0200)]
Merge pull request #3739 from rgacogne/dnsdist-drop-after-daemonize
dnsdist: Drop privileges after daemonizing and writing our pid
bert hubert [Wed, 20 Apr 2016 10:42:02 +0000 (12:42 +0200)]
this fix prevents a crash in bind backend in dnssec mode but unsure if it does the right thing
Remi Gacogne [Wed, 20 Apr 2016 09:05:12 +0000 (11:05 +0200)]
dnsdist: Drop privileges after daemonizing and writing our pid
Remi Gacogne [Tue, 19 Apr 2016 15:09:58 +0000 (17:09 +0200)]
Merge pull request #3713 from rubenk/remove-contrib-dnsdist-service
dnsdist: remove contrib/dnsdist.service
Remi Gacogne [Tue, 19 Apr 2016 15:09:33 +0000 (17:09 +0200)]
Merge pull request #3730 from rgacogne/dnsdist-top-bandwidth
dnsdist: Make `topBandwidth()` behave like other top* functions
Remi Gacogne [Tue, 19 Apr 2016 15:08:55 +0000 (17:08 +0200)]
Merge pull request #3700 from pieterlexis/rpm-dnsdist-user
dnsdist: create user from the RPM package to drop privs
Peter van Dijk [Tue, 19 Apr 2016 12:46:36 +0000 (14:46 +0200)]
typo
Remi Gacogne [Tue, 19 Apr 2016 12:37:11 +0000 (14:37 +0200)]
Merge pull request #3736 from rgacogne/dnsdist-nmg-rule
dnsdist: Add missing Lua binding for NetmaskGroupRule()
Peter van Dijk [Tue, 19 Apr 2016 11:46:09 +0000 (13:46 +0200)]
Merge pull request #3737 from Habbie/escapestar
nit
Peter van Dijk [Tue, 19 Apr 2016 11:07:04 +0000 (13:07 +0200)]
nit
Remi Gacogne [Tue, 19 Apr 2016 10:06:36 +0000 (12:06 +0200)]
dnsdist: Add missing Lua binding for NetmaskGroupRule()
Remi Gacogne [Tue, 19 Apr 2016 07:33:44 +0000 (09:33 +0200)]
Merge pull request #3731 from rgacogne/dnsdist-policies-doc
dnsdist: Clarify a bit the documentation of load-balancing policies
Remi Gacogne [Tue, 19 Apr 2016 07:32:27 +0000 (09:32 +0200)]
Merge pull request #3722 from rubenk/dnsdist-disable-static
dnsdist: use LT_INIT and disable static objects
bert hubert [Tue, 19 Apr 2016 05:45:55 +0000 (07:45 +0200)]
Merge pull request #3720 from edmonds/branches/edmonds-dnswasher-fixes
Fixes for dnswasher from Robert Edmonds of Farsight - thanks!
bert hubert [Tue, 19 Apr 2016 05:42:18 +0000 (07:42 +0200)]
Merge pull request #3735 from setharnold/patch-2
Mention dnsdist in main repo README.md
setharnold [Mon, 18 Apr 2016 19:53:39 +0000 (12:53 -0700)]
Mention dnsdist in main repo README.md
Ruben Kerkhof [Sat, 16 Apr 2016 14:37:29 +0000 (16:37 +0200)]
dnsdist: use LT_INIT and disable static objects
Do the same thing pdns does.
Remi Gacogne [Mon, 18 Apr 2016 14:41:34 +0000 (16:41 +0200)]
dnsdist: Clarify a bit the documentation of load-balancing policies
Remi Gacogne [Mon, 18 Apr 2016 14:13:51 +0000 (16:13 +0200)]
dnsdist: Make `topBandwidth()` behave like other top* functions
Fixes #3521.
Remi Gacogne [Mon, 18 Apr 2016 13:54:29 +0000 (15:54 +0200)]
Merge pull request #3728 from rgacogne/dnsdist-libedit-history
dnsdist: Document libedit Ctrl-R workaround for CentOS 6
Peter van Dijk [Mon, 18 Apr 2016 12:37:49 +0000 (14:37 +0200)]
Merge pull request #3710 from pieterlexis/always-validate
Always validate on 'validate' and 'log-fail'
bert hubert [Mon, 18 Apr 2016 11:22:21 +0000 (13:22 +0200)]
Merge pull request #3726 from ahupowerdns/getca-netmasks
implement getCA() for faster & native IP address extraction in Lua sc…
bert hubert [Mon, 18 Apr 2016 11:05:45 +0000 (13:05 +0200)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Mon, 18 Apr 2016 11:05:25 +0000 (13:05 +0200)]
implement an official pretty ordering for DNSRecords and use it
Peter van Dijk [Mon, 18 Apr 2016 11:02:56 +0000 (13:02 +0200)]
Merge pull request #3655 from zeha/setptr-soaeditapi
API: Fix set-ptr to honor SOA-EDIT-API
bert hubert [Mon, 18 Apr 2016 10:10:44 +0000 (12:10 +0200)]
make pdnsutil edit-zone operate on a 'prettysorted' zone in canonical order, except that SOA always comes on top
Remi Gacogne [Mon, 18 Apr 2016 09:30:34 +0000 (11:30 +0200)]
dnsdist: Document libedit Ctrl-R workaround for CentOS 6
Fixes #3227.
Pieter Lexis [Wed, 13 Apr 2016 08:37:22 +0000 (10:37 +0200)]
Add a paragraph on dropping privs
Pieter Lexis [Wed, 13 Apr 2016 08:04:01 +0000 (10:04 +0200)]
Add dnsdist user when installing RPMs
Remi Gacogne [Mon, 18 Apr 2016 07:46:27 +0000 (09:46 +0200)]
Merge pull request #3711 from rubenk/dnsdist-require-systemd-devel-for-rpm
dnsdist: building rpm needs systemd headers
Remi Gacogne [Mon, 18 Apr 2016 07:45:51 +0000 (09:45 +0200)]
Merge pull request #3712 from rgacogne/dnsdist-make-check
dnsdist: Make check should run testrunner
Remi Gacogne [Mon, 18 Apr 2016 07:45:18 +0000 (09:45 +0200)]
Merge pull request #3724 from zeha/mips-atomic
dnsdist: include PDNS_CHECK_OS in configure
bert hubert [Sun, 17 Apr 2016 17:44:31 +0000 (19:44 +0200)]
prettyfi the pdnsutil edit-zone diff output by grouping changed names together
Christian Hofstaedtler [Sun, 17 Apr 2016 09:55:15 +0000 (11:55 +0200)]
dnsdist: include PDNS_CHECK_OS in configure
Follow up fix to #3593 which added -latomic on mips(el), but
dnsdist did not use the macro where this got added.
Robert Edmonds [Sat, 16 Apr 2016 00:54:22 +0000 (20:54 -0400)]
dnswasher: Write obfuscated IPv6 prefixes in network byte order
Make the IPv6 code path follow the IPv4 code path by writing out the
IPObfuscator counter in network byte order.
This makes the obfuscated IPv6 addresses easier to read and avoids
making the output of the tool vary based on the host byte order.
Robert Edmonds [Sat, 16 Apr 2016 00:48:52 +0000 (20:48 -0400)]
dnswasher: Remove offsets from IPv6 src/dst pointers
I'm not entirely sure why this code was offsetting the IPv6
source/destination header fields, but this commit removes those offsets.
This results in the obfuscation of the first 64 bits of the IPv6
source/destination addresses. (Arguably the whole address should be
obfuscated, though.)
Robert Edmonds [Sat, 16 Apr 2016 00:43:34 +0000 (20:43 -0400)]
dnswasher: Only zero the IP header checksum for IPv4
IPv6 doesn't have a checksum field. This code previously zeroed the
space in the header where the IPv4 header checksum would be, regardless
of IP header version.
Robert Edmonds [Sat, 16 Apr 2016 00:42:21 +0000 (20:42 -0400)]
dnswasher: Don't spam stdout in IPObfuscator::obf6()
Robert Edmonds [Sat, 16 Apr 2016 00:36:19 +0000 (20:36 -0400)]
dnspcap: Decode IPv6 packets in DLT_RAW captures correctly
DLT_RAW captures (linktype 101) were not handling IPv6 packets
correctly.
For DLT_RAW, PcapPacketReader::getUDPPacket() synthesizes a fake
ethertype value (the "contentCode" variable), but for IPv6 it was
incorrectly set to 0x0806 (ARP) instead of 0x86dd (IPv6). This caused
IPv6 packets to silently be discarded.
Robert Edmonds [Sat, 16 Apr 2016 00:34:02 +0000 (20:34 -0400)]
dnswasher: Fix comment at top of file (RD -> QR)
Only the QR bit (not the RD bit) is consulted when determining which IP
address to obfuscate.
Peter van Dijk [Fri, 15 Apr 2016 16:12:16 +0000 (18:12 +0200)]
Merge pull request #3715 from mzealey/readme-patch
Add in tools required for recursor ubuntu build
Mark Zealey [Fri, 15 Apr 2016 16:10:30 +0000 (19:10 +0300)]
Add in tools required for recursor ubuntu build
Ruben Kerkhof [Fri, 15 Apr 2016 13:56:41 +0000 (15:56 +0200)]
dnsdist: remove contrib/dnsdist.service
One service file is more than enough
Remi Gacogne [Fri, 15 Apr 2016 13:51:38 +0000 (15:51 +0200)]
dnsdist: Make check should run testrunner
Thanks @rubenk !
Ruben Kerkhof [Fri, 15 Apr 2016 12:58:05 +0000 (14:58 +0200)]
dnsdist: building rpm needs systemd headers
We check for the systemd headers, which are in systemd-devel
checking systemd/sd-daemon.h usability... no
checking systemd/sd-daemon.h presence... no
checking for systemd/sd-daemon.h... no
Pieter Lexis [Fri, 15 Apr 2016 09:55:40 +0000 (11:55 +0200)]
Always validate on 'validate' and 'log-fail'
Closes #3709
Also add a comment in the code regarding another DNSSEC ticket
bert hubert [Fri, 15 Apr 2016 08:23:49 +0000 (10:23 +0200)]
implement getCA() for faster & native IP address extraction in Lua scripts plus document and implement faster way of loading large amounts of netmasks from file.
Remi Gacogne [Thu, 14 Apr 2016 13:04:25 +0000 (15:04 +0200)]
Merge pull request #3704 from rgacogne/dnsdist-beta1-changelog
dnsdist: beta1 ChangeLog
Remi Gacogne [Thu, 14 Apr 2016 13:02:37 +0000 (15:02 +0200)]
dnsdist: beta1 ChangeLog
Peter van Dijk [Thu, 14 Apr 2016 07:29:41 +0000 (09:29 +0200)]
typo
Christian Hofstaedtler [Wed, 13 Apr 2016 20:30:40 +0000 (22:30 +0200)]
API: honor set-ptr during zone create, too
Christian Hofstaedtler [Wed, 13 Apr 2016 20:30:31 +0000 (22:30 +0200)]
API: extract storeChangedPTRs out of patchZone
Christian Hofstaedtler [Wed, 13 Apr 2016 20:25:33 +0000 (22:25 +0200)]
API: one UeberBackend less
Christian Hofstaedtler [Wed, 13 Apr 2016 20:19:29 +0000 (22:19 +0200)]
API: honor SOA-EDIT-API when handling set-ptr
Christian Hofstaedtler [Wed, 13 Apr 2016 20:18:50 +0000 (22:18 +0200)]
API: actually set SOA-EDIT-API DEFAULT
Christian Hofstaedtler [Sun, 3 Apr 2016 09:00:21 +0000 (11:00 +0200)]
API: Expand set-ptr test to check for SOA-EDIT-API result
(And cleanup incorrect comment in existing tests.)
bert hubert [Wed, 13 Apr 2016 19:47:23 +0000 (21:47 +0200)]
Merge pull request #3697 from pieterlexis/split-travis
Split travis between auth, recursor, dnsdist and docs
bert hubert [Wed, 13 Apr 2016 15:53:57 +0000 (17:53 +0200)]
Merge pull request #3701 from rgacogne/protobuf-fixes
Protobuf: Encode UUID in binary. Add question to the response msg
bert hubert [Wed, 13 Apr 2016 15:41:35 +0000 (17:41 +0200)]
Merge pull request #3702 from ahupowerdns/dnsreplay-real
Dnsreplay & ednssubnet: teach dnsreplay to add original IP address as ECS & recursor to log it
bert hubert [Wed, 13 Apr 2016 13:40:52 +0000 (15:40 +0200)]
don't try to do protobuf w/o protobuf
bert hubert [Wed, 13 Apr 2016 12:53:27 +0000 (14:53 +0200)]
add ECS logging to pdns_recursor, teach dnsreplay to add original IP address as ECS, plus document all this
Remi Gacogne [Wed, 13 Apr 2016 11:16:13 +0000 (13:16 +0200)]
Protobuf: Encode UUID in binary. Add question to the response msg
Also:
- merge the dnsdist and recursor Remote Logger implementations.
- fix the protobuf logging over TCP in dnsdist
Pieter Lexis [Wed, 13 Apr 2016 09:48:49 +0000 (11:48 +0200)]
Merge pull request #3696 from pieterlexis/more-alpha-secpoll
More additions to the secpoll
Remi Gacogne [Wed, 13 Apr 2016 08:54:14 +0000 (10:54 +0200)]
Merge pull request #3699 from rgacogne/dnsdist-doc-protobuf
dnsdist: Document our remote logging feature
Remi Gacogne [Wed, 13 Apr 2016 07:35:31 +0000 (09:35 +0200)]
Merge pull request #3677 from pieterlexis/dnsdist-systemd-notify-support
dnsdist: Add support for systemd-notify
Pieter Lexis [Tue, 12 Apr 2016 13:41:47 +0000 (15:41 +0200)]
dnsdist: patch the systemd.m4
This patch is twofold:
1 - It detects the correct library for sd-daemon (either
libsystemd-daemon (systemd pre-209) or libsystemd (systemd post-209)
2 - Detection of the library and files is only run once, even when
systemd support detection is automatic (when using AX_AVAILABLE_SYSTEMD)
Pieter Lexis [Tue, 12 Apr 2016 13:41:24 +0000 (15:41 +0200)]
dnsdist: Add systemd notify support
Remi Gacogne [Tue, 12 Apr 2016 16:54:28 +0000 (18:54 +0200)]
dnsdist: Document our remote logging feature
Peter van Dijk [Tue, 12 Apr 2016 11:38:44 +0000 (13:38 +0200)]
Merge pull request #3681 from pieterlexis/issue-3645-cache-wipe-dot
Don't throw an error on wipe-cache .something
Pieter Lexis [Tue, 12 Apr 2016 10:08:09 +0000 (12:08 +0200)]
dnsdist: Import systemd autoconf macros
Imported
https://github.com/mcgrof/funk-systemd/blob/
b17396e7b1f5e93db74cae0e9123f39cf27a8339 /src/m4/systemd.m4
as m4/systemd.m4
Imported
https://github.com/mcgrof/funk-systemd/blob/
b17396e7b1f5e93db74cae0e9123f39cf27a8339 /src/m4/features.m4
as m4/ax_arg_default_enable_disable.m4
Pieter Lexis [Tue, 12 Apr 2016 07:49:24 +0000 (09:49 +0200)]
More additions to the secpoll
Peter van Dijk [Mon, 11 Apr 2016 20:59:29 +0000 (22:59 +0200)]
Merge pull request #3694 from Habbie/protobuf-old-autoconf
avoid generating empty if/else blocks on autoconf 2.63, fixes #3684
Peter van Dijk [Mon, 11 Apr 2016 18:23:41 +0000 (20:23 +0200)]
avoid generating empty if/else blocks on autoconf 2.63, fixes #3684
Pieter Lexis [Mon, 11 Apr 2016 08:07:20 +0000 (10:07 +0200)]
Split travis between the products
For better parallel testing
Pieter Lexis [Fri, 8 Apr 2016 14:20:19 +0000 (16:20 +0200)]
Revert "temporarily reduce travis runtime, revert me later"
This reverts commit
cb547431e9809f85028231cc8015e2ca5e914ad3 .