]> granicus.if.org Git - pdns/log
pdns
10 years agoremove some lua functions, fix up names of others
bert hubert [Thu, 5 Mar 2015 09:10:09 +0000 (10:10 +0100)]
remove some lua functions, fix up names of others

10 years agodocumentation
bert hubert [Thu, 5 Mar 2015 09:08:01 +0000 (10:08 +0100)]
documentation

10 years agosplit up dnsdist.cc, it was getting large
bert hubert [Thu, 5 Mar 2015 08:05:50 +0000 (09:05 +0100)]
split up dnsdist.cc, it was getting large

10 years agoadd header for server pools to docs
bert hubert [Wed, 4 Mar 2015 21:00:00 +0000 (22:00 +0100)]
add header for server pools to docs

10 years agouse one of those fancy c++2011 things, the 'using alias' for our server vector
bert hubert [Wed, 4 Mar 2015 20:59:23 +0000 (21:59 +0100)]
use one of those fancy c++2011 things, the 'using alias' for our server vector

10 years agoimplement pools, fix up setServerPolicy for Lua policies, document is
bert hubert [Wed, 4 Mar 2015 20:37:09 +0000 (21:37 +0100)]
implement pools, fix up setServerPolicy for Lua policies, document is

10 years agofix up compilation on gcc 4.8, older linuxes, fix makeKey() over socket
bert hubert [Wed, 4 Mar 2015 11:24:58 +0000 (12:24 +0100)]
fix up compilation on gcc 4.8, older linuxes, fix makeKey() over socket

10 years agospent an injustifiable amount of time making graphs..
bert hubert [Tue, 3 Mar 2015 20:44:15 +0000 (21:44 +0100)]
spent an injustifiable amount of time making graphs..

10 years agoadd QPS limiting per domain or subnet
bert hubert [Tue, 3 Mar 2015 13:46:29 +0000 (14:46 +0100)]
add QPS limiting per domain or subnet

10 years agorename listServers() to showServers() which is the new nomenclature, plus add showSer...
bert hubert [Tue, 3 Mar 2015 11:49:44 +0000 (12:49 +0100)]
rename listServers() to showServers() which is the new nomenclature, plus add showServerPolicy()

10 years agomake dnsgram emit 10ms-granularity query/respnse statistics on 'rdqaplot'
bert hubert [Tue, 3 Mar 2015 09:49:52 +0000 (10:49 +0100)]
make dnsgram emit 10ms-granularity query/respnse statistics on 'rdqaplot'

10 years agoloads of new goodness
bert hubert [Mon, 2 Mar 2015 20:27:46 +0000 (21:27 +0100)]
loads of new goodness

10 years agoimplement Marek Vavrusa's suggestion that dnsdist could be used for 'split horizon...
bert hubert [Fri, 27 Feb 2015 20:44:12 +0000 (21:44 +0100)]
implement Marek Vavrusa's suggestion that dnsdist could be used for 'split horizon' setups, plus document it.

10 years agoimplement ACLs, document them and add a list of sins to the source code
bert hubert [Fri, 27 Feb 2015 20:14:34 +0000 (21:14 +0100)]
implement ACLs, document them and add a list of sins to the source code

10 years agoupdate docs with latest features
bert hubert [Fri, 27 Feb 2015 15:14:48 +0000 (16:14 +0100)]
update docs with latest features

10 years agoadd ability to set TC=1 from Lua to turn ANY into TCP, for example. Plus fix up TCP...
bert hubert [Fri, 27 Feb 2015 13:35:42 +0000 (14:35 +0100)]
add ability to set TC=1 from Lua to turn ANY into TCP, for example. Plus fix up TCP so it works again.

10 years agoupdate readme, packager
bert hubert [Thu, 26 Feb 2015 20:00:31 +0000 (21:00 +0100)]
update readme, packager

10 years agomove config file, add dist script
bert hubert [Thu, 26 Feb 2015 19:33:19 +0000 (20:33 +0100)]
move config file, add dist script

10 years ago-lrt is needed for clock_gettime on some platforms
bert hubert [Thu, 26 Feb 2015 19:02:14 +0000 (20:02 +0100)]
-lrt is needed for clock_gettime on some platforms

10 years agoadd back controlSocket() to configuration file, plus fix up display of downstreamservers.
bert hubert [Thu, 26 Feb 2015 18:57:08 +0000 (19:57 +0100)]
add back controlSocket() to configuration file, plus fix up display of downstreamservers.

10 years agomake a default address for the control channel
bert hubert [Thu, 26 Feb 2015 18:39:17 +0000 (19:39 +0100)]
make a default address for the control channel

10 years agomove to symmetric crypto, plus document how it works
bert hubert [Thu, 26 Feb 2015 18:10:33 +0000 (19:10 +0100)]
move to symmetric crypto, plus document how it works

10 years agoimplement remote control with libsodium
bert hubert [Thu, 26 Feb 2015 16:19:08 +0000 (17:19 +0100)]
implement remote control with libsodium

10 years agofix crash at exit, fix history appending
bert hubert [Wed, 25 Feb 2015 21:33:31 +0000 (22:33 +0100)]
fix crash at exit, fix history appending

10 years agoadd addDomainBlock, spruce up documentation
bert hubert [Wed, 25 Feb 2015 21:19:35 +0000 (22:19 +0100)]
add addDomainBlock, spruce up documentation

10 years agofix doc mistakes
bert hubert [Wed, 25 Feb 2015 17:35:09 +0000 (18:35 +0100)]
fix doc mistakes

10 years agodnsdist now does things & has documentation
bert hubert [Wed, 25 Feb 2015 17:08:39 +0000 (18:08 +0100)]
dnsdist now does things & has documentation

10 years agosilence some warnings
bert hubert [Wed, 25 Feb 2015 16:19:59 +0000 (17:19 +0100)]
silence some warnings

10 years agoturns out we were escaping to octal, the standard is decimal. We also messed up escap...
bert hubert [Mon, 23 Feb 2015 16:08:24 +0000 (17:08 +0100)]
turns out we were escaping to octal, the standard is decimal. We also messed up escaping ".

10 years agoand fix up recursor separate compilation
bert hubert [Fri, 20 Feb 2015 16:10:33 +0000 (17:10 +0100)]
and fix up recursor separate compilation

10 years agodisable boost random tests for now, plus remove some boost thigns from zoneparser...
bert hubert [Fri, 20 Feb 2015 15:41:40 +0000 (16:41 +0100)]
disable boost random tests for now, plus remove some boost thigns from zoneparser to fix compilation on c++2011

10 years agogeoip's yaml has a c++2011 issue on travis, disabling geoip testing for now
bert hubert [Fri, 20 Feb 2015 15:14:26 +0000 (16:14 +0100)]
geoip's yaml has a c++2011 issue on travis, disabling geoip testing for now

10 years agosome small c++-2011 things that should make travis happy
bert hubert [Fri, 20 Feb 2015 14:57:57 +0000 (15:57 +0100)]
some small c++-2011 things that should make travis happy

10 years agoadd #include for std::shared_ptr
bert hubert [Fri, 20 Feb 2015 14:46:07 +0000 (15:46 +0100)]
add #include for std::shared_ptr

10 years agomove to std::shared_ptr
bert hubert [Fri, 20 Feb 2015 14:22:33 +0000 (15:22 +0100)]
move to std::shared_ptr

10 years agoteach DNSName to get names from DNS packets, including decompression
bert hubert [Fri, 20 Feb 2015 13:26:37 +0000 (14:26 +0100)]
teach DNSName to get names from DNS packets, including decompression

10 years agoadd a speed test for std::string::append()
bert hubert [Fri, 20 Feb 2015 13:23:03 +0000 (14:23 +0100)]
add a speed test for std::string::append()

10 years agoadd appending to DNSName
bert hubert [Fri, 20 Feb 2015 08:59:10 +0000 (09:59 +0100)]
add appending to DNSName

10 years agoalso extract the qclass from a dnspacket
bert hubert [Thu, 19 Feb 2015 15:16:54 +0000 (16:16 +0100)]
also extract the qclass from a dnspacket

10 years agoadd length checking and speedup name parsing a bit
bert hubert [Thu, 19 Feb 2015 12:09:54 +0000 (13:09 +0100)]
add length checking and speedup name parsing a bit

10 years agoimplement SuffixMatchNode, unit tests, expose it to Lua and use it in dnsdistconf.lua
bert hubert [Thu, 19 Feb 2015 11:49:23 +0000 (12:49 +0100)]
implement SuffixMatchNode, unit tests, expose it to Lua and use it in dnsdistconf.lua

10 years agoattempt to do gcc-4.8 on travis..
bert hubert [Thu, 19 Feb 2015 09:29:27 +0000 (10:29 +0100)]
attempt to do gcc-4.8 on travis..

10 years agoMerge branch 'master' into dnsname
bert hubert [Thu, 19 Feb 2015 08:48:44 +0000 (09:48 +0100)]
Merge branch 'master' into dnsname

10 years agosample configuration file
bert hubert [Thu, 19 Feb 2015 08:47:52 +0000 (09:47 +0100)]
sample configuration file

10 years agoimplement DNSName class, test the hell out of it, make dnsdist use it
bert hubert [Thu, 19 Feb 2015 08:47:30 +0000 (09:47 +0100)]
implement DNSName class, test the hell out of it, make dnsdist use it

10 years agosupport unions too in Luawrapper
bert hubert [Thu, 19 Feb 2015 08:45:55 +0000 (09:45 +0100)]
support unions too in Luawrapper

10 years agoMerge pull request #2253 from pieterlexis/configureOutputCXXYesNo
Peter van Dijk [Thu, 19 Feb 2015 08:20:11 +0000 (09:20 +0100)]
Merge pull request #2253 from pieterlexis/configureOutputCXXYesNo

Have configure show yes/no for C++2011 support

10 years agoHave configure show yes/no for C++2011 support
Pieter Lexis [Wed, 18 Feb 2015 20:04:07 +0000 (21:04 +0100)]
Have configure show yes/no for C++2011 support

10 years agoMerge pull request #2251 from hkraal/patch-1
Peter van Dijk [Wed, 18 Feb 2015 16:01:31 +0000 (17:01 +0100)]
Merge pull request #2251 from hkraal/patch-1

Corrected default value for master setting

10 years agoCorrected default value for master setting
Henk Kraal [Wed, 18 Feb 2015 15:55:55 +0000 (16:55 +0100)]
Corrected default value for master setting

10 years agoMerge pull request #2215 from pieterlexis/issue-2179-API-send-403
Peter van Dijk [Wed, 18 Feb 2015 08:16:10 +0000 (09:16 +0100)]
Merge pull request #2215 from pieterlexis/issue-2179-API-send-403

JSON-API: Send 403 on bad API-Key

10 years agoavoid fbsd10 build failure, thanks @rubenk
Peter van Dijk [Tue, 17 Feb 2015 16:26:41 +0000 (17:26 +0100)]
avoid fbsd10 build failure, thanks @rubenk

10 years agomove recursor-git build script from jenkins config into git
Peter van Dijk [Tue, 17 Feb 2015 16:20:18 +0000 (17:20 +0100)]
move recursor-git build script from jenkins config into git

10 years agomove auth-git build script from jenkins config into git
Peter van Dijk [Tue, 17 Feb 2015 15:24:55 +0000 (16:24 +0100)]
move auth-git build script from jenkins config into git

10 years agoMerge pull request #2218 from sspans/sspans-bindany
Peter van Dijk [Tue, 17 Feb 2015 15:14:37 +0000 (16:14 +0100)]
Merge pull request #2218 from sspans/sspans-bindany

add support for non-local binds

10 years agoadd support for non-local binds
Sten Spans [Wed, 11 Feb 2015 13:50:10 +0000 (14:50 +0100)]
add support for non-local binds

- add option non-local-bind to request this behaviour
- add support to auth and recursor
- add utility function to set sockopts

10 years agoteach dnsscope to read multiple files closes #2247
bert hubert [Tue, 17 Feb 2015 13:31:00 +0000 (14:31 +0100)]
teach dnsscope to read multiple files closes #2247

10 years agoadd support for raw IP tcpdump format, which makes is compatible with DNS OARC dnscap...
bert hubert [Tue, 17 Feb 2015 12:42:27 +0000 (13:42 +0100)]
add support for raw IP tcpdump format, which makes is compatible with DNS OARC dnscap and closes #2246

10 years agoremove all traces of fancy records
Peter van Dijk [Tue, 17 Feb 2015 09:16:38 +0000 (10:16 +0100)]
remove all traces of fancy records

10 years agoMerge pull request #2230 from Whissi/improve-remotebackend-testsuite-r1
Peter van Dijk [Tue, 17 Feb 2015 10:14:33 +0000 (11:14 +0100)]
Merge pull request #2230 from Whissi/improve-remotebackend-testsuite-r1

Improve remotebackend testsuite

10 years agoShow 'modules/remotebackend/test-suite.log' when exists
Thomas D [Sat, 14 Feb 2015 13:31:21 +0000 (14:31 +0100)]
Show 'modules/remotebackend/test-suite.log' when exists

This will help us to see what's going on.

10 years agoWorkaround for Travis `make check` failure no longer needed
Thomas D [Sat, 14 Feb 2015 13:28:12 +0000 (14:28 +0100)]
Workaround for Travis `make check` failure no longer needed

10 years agoMake parallel test harness work with automake-1.11
Thomas D [Sat, 14 Feb 2015 13:23:25 +0000 (14:23 +0100)]
Make parallel test harness work with automake-1.11

10 years agoAdd check for curl program
Thomas D [Fri, 13 Feb 2015 12:58:26 +0000 (13:58 +0100)]
Add check for curl program

When building "remote" module with unit tests enabled we need the curl program
because the remotebacked testsuite uses the curl program.

10 years agoWhen test service startup timeout was reached kill (cleanup) still running test services
Thomas D [Fri, 13 Feb 2015 12:33:23 +0000 (13:33 +0100)]
When test service startup timeout was reached kill (cleanup) still running test services

If curl for example isn't installed or fails to check the service status for any reason,
we need to kill the test service if still running to prevent any resource leak.

10 years agoFix testrunner.sh's exit status
Thomas D [Fri, 13 Feb 2015 03:01:09 +0000 (04:01 +0100)]
Fix testrunner.sh's exit status

"$rv" isn't defined so use "$?" instead.

10 years agoDetect test service start failures
Thomas D [Fri, 13 Feb 2015 02:44:22 +0000 (03:44 +0100)]
Detect test service start failures

It is possible that a test service doesn't start (i.e. due to missing Ruby dependencies).

We are now checking if the test services are running or we will display a meaningful
error message.

Also, because testrunner.sh is now called by test-driver, we can skip tests.

10 years agoDetect test service stop failures
Thomas D [Fri, 13 Feb 2015 01:58:55 +0000 (02:58 +0100)]
Detect test service stop failures

Imagine a test blocks or kills the test service. Failures like that
should be detected.

10 years agoTest services should log into their own log file
Thomas D [Fri, 13 Feb 2015 01:02:47 +0000 (02:02 +0100)]
Test services should log into their own log file

Each test has a general log file in the following schema:

  remotebackend_<module>.log

When testrunner.sh spins up a service, the service logs its output
into the general log file. But test-driver from automake, which is
using the same log file and starts after the test service is up and
running, will overwrite the log file.

So in case of a server failure we will miss important log data.

Using a dedicated log file for the services we start will solve
this problem. The new schema for server log files will be

  remotebackend_<module>_server.log

10 years agoautomake: Use parallel test harness to prevent a parallel make issue
Thomas D [Fri, 13 Feb 2015 00:22:54 +0000 (01:22 +0100)]
automake: Use parallel test harness to prevent a parallel make issue

The http, post and json test are using the same TCP port. Because of
that we need to specify an execution order or we will get errors like

  INFO  WEBrick 1.3.1
  INFO  ruby 2.0.0 (2014-11-13) [x86_64-linux]
  WARN  TCPServer Error: Address already in use - bind(2)
  WARN  TCPServer Error: Address already in use - bind(2)
  /usr/lib64/ruby/2.0.0/webrick/utils.rb:85:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
          from /usr/lib64/ruby/2.0.0/webrick/utils.rb:85:in `new'
          from /usr/lib64/ruby/2.0.0/webrick/utils.rb:85:in `block in create_listeners'
          from /usr/lib64/ruby/2.0.0/webrick/utils.rb:82:in `each'
          from /usr/lib64/ruby/2.0.0/webrick/utils.rb:82:in `create_listeners'
          from /usr/lib64/ruby/2.0.0/webrick/server.rb:132:in `listen'
          from /usr/lib64/ruby/2.0.0/webrick/server.rb:113:in `initialize'
          from /usr/lib64/ruby/2.0.0/webrick/httpserver.rb:45:in `initialize'
          from ./unittest_http.rb:184:in `new'
          from ./unittest_http.rb:184:in `<main>'

when running the tests in parallel (`make -j5 check`).

10 years agoDisable shell debug mode
Thomas D [Thu, 12 Feb 2015 20:21:39 +0000 (21:21 +0100)]
Disable shell debug mode

Probably leftovers from a previous debugging session.

10 years agoMerge pull request #2234 from rubenk/cleanup-log-messages
Peter van Dijk [Tue, 17 Feb 2015 08:53:42 +0000 (09:53 +0100)]
Merge pull request #2234 from rubenk/cleanup-log-messages

Cleanup the log messages a bit

10 years agoremove the parts that are wrong from this readme, add some stuff that is right
bert hubert [Tue, 17 Feb 2015 08:43:57 +0000 (09:43 +0100)]
remove the parts that are wrong from this readme, add some stuff that is right

10 years agoCleanup the log messages a bit
Ruben Kerkhof [Sat, 14 Feb 2015 14:18:37 +0000 (15:18 +0100)]
Cleanup the log messages a bit

And fix a few typos while we're at it.

10 years agoMerge pull request #2237 from zeha/share-thread-ueberbackend
Peter van Dijk [Tue, 17 Feb 2015 07:52:22 +0000 (08:52 +0100)]
Merge pull request #2237 from zeha/share-thread-ueberbackend

PacketHandler: Share UeberBackend with DNSSECKeeper

10 years agoMerge pull request #2243 from mind04/dolog
Peter van Dijk [Tue, 17 Feb 2015 06:22:53 +0000 (07:22 +0100)]
Merge pull request #2243 from mind04/dolog

dnsdist requires dolog.hh

10 years agodnsdist requires dolog.hh
Kees Monshouwer [Mon, 16 Feb 2015 22:50:29 +0000 (23:50 +0100)]
dnsdist requires dolog.hh

10 years agoMerge pull request #2242 from mind04/dist
Peter van Dijk [Mon, 16 Feb 2015 21:50:41 +0000 (22:50 +0100)]
Merge pull request #2242 from mind04/dist

add LuaContext.hpp to auth dist tar.bz2

10 years agoadd LuaContext.hpp to auth dist tar.bz2
Kees Monshouwer [Mon, 16 Feb 2015 20:05:04 +0000 (21:05 +0100)]
add LuaContext.hpp to auth dist tar.bz2

10 years agoJSON-API: Send 401 on bad API-Key
Pieter Lexis [Tue, 10 Feb 2015 18:09:51 +0000 (19:09 +0100)]
JSON-API: Send 401 on bad API-Key

  * Closes #2179
  * We send an HTTP 401 (Unauthorized) when:
    * The API Key is wrong
    * The API Key is empty or missing
  * Authentication failures are logged as Error (was Debug)
  * Fix the API regression test to accept this 401 as valid

10 years agoMerge pull request #2235 from Whissi/make-remotebackend-zeromq-depending-on-remote...
Peter van Dijk [Mon, 16 Feb 2015 15:09:00 +0000 (16:09 +0100)]
Merge pull request #2235 from Whissi/make-remotebackend-zeromq-depending-on-remote-module

0MQ remotebackend requires remote backend itself

10 years agoMerge pull request #2236 from Whissi/cleanup-configure-output
Peter van Dijk [Mon, 16 Feb 2015 14:11:14 +0000 (15:11 +0100)]
Merge pull request #2236 from Whissi/cleanup-configure-output

Improve configure output

10 years agoMerge pull request #2157 from cmouse/tsig-changes
Peter van Dijk [Mon, 16 Feb 2015 14:00:27 +0000 (15:00 +0100)]
Merge pull request #2157 from cmouse/tsig-changes

Tsig changes

10 years agomove statbag so static initialisation happens early enough for packetcache; thanks...
Peter van Dijk [Mon, 16 Feb 2015 12:22:15 +0000 (13:22 +0100)]
move statbag so static initialisation happens early enough for packetcache; thanks @cmouse for pointers

10 years agoMerge pull request #1735 from cmouse/send-servfail-on-error
Peter van Dijk [Mon, 16 Feb 2015 12:43:38 +0000 (13:43 +0100)]
Merge pull request #1735 from cmouse/send-servfail-on-error

Make sure we send servfail on error

10 years agoremove dependency on sendmmsg, which did not help in any case
bert hubert [Mon, 16 Feb 2015 11:27:09 +0000 (12:27 +0100)]
remove dependency on sendmmsg, which did not help in any case

10 years agoAvoid warning: ISO C++11 does not allow conversion from string literal to 'char ...
Peter van Dijk [Mon, 16 Feb 2015 09:29:11 +0000 (10:29 +0100)]
Avoid warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wc++11-compat-deprecated-writable-strings]

10 years agoMerge pull request #2238 from cmouse/fix-lua-auth-warning
Peter van Dijk [Mon, 16 Feb 2015 08:09:01 +0000 (09:09 +0100)]
Merge pull request #2238 from cmouse/fix-lua-auth-warning

Use correct type for loop variable, removes warning

10 years agowe used to rely on SRCDIR environment variable being set, now assume . if unset
bert hubert [Mon, 16 Feb 2015 07:44:47 +0000 (08:44 +0100)]
we used to rely on SRCDIR environment variable being set, now assume . if unset

10 years agofix up our c++2011-with-working-lua-detection (thanks to pieter for spotting the...
bert hubert [Sun, 15 Feb 2015 18:55:44 +0000 (19:55 +0100)]
fix up our c++2011-with-working-lua-detection (thanks to pieter for spotting the issue)

10 years agoUse correct type for loop variable, removes warning
Aki Tuomi [Sun, 15 Feb 2015 15:23:02 +0000 (17:23 +0200)]
Use correct type for loop variable, removes warning

10 years agoReplace PacketHandler with UeberBackend where possible
Christian Hofstaedtler [Sun, 15 Feb 2015 14:01:28 +0000 (15:01 +0100)]
Replace PacketHandler with UeberBackend where possible

Makes reasoning about PacketHandler usage easier.

10 years agoRemove emitNSEC3 from header file
Christian Hofstaedtler [Sun, 15 Feb 2015 13:36:45 +0000 (14:36 +0100)]
Remove emitNSEC3 from header file

I broke it's signature during the last cleanup, but nobody outside
packethandler.cc uses it.

10 years agoPacketHandler: Remove signatures for missing functions
Christian Hofstaedtler [Sun, 15 Feb 2015 13:35:27 +0000 (14:35 +0100)]
PacketHandler: Remove signatures for missing functions

10 years agoPacketHandler: Share UeberBackend with DNSSECKeeper
Christian Hofstaedtler [Sun, 15 Feb 2015 13:08:32 +0000 (14:08 +0100)]
PacketHandler: Share UeberBackend with DNSSECKeeper

Reduces number of backend instances by 50%, very relevant for setups
that have backends with huge startup/runtime cost.

10 years agoAdd information whether we are building ZeroMQ remotebackend to summary
Thomas D [Sat, 14 Feb 2015 21:14:42 +0000 (22:14 +0100)]
Add information whether we are building ZeroMQ remotebackend to summary

10 years ago"--disable-hardening" option improved
Thomas D [Sat, 14 Feb 2015 17:42:52 +0000 (18:42 +0100)]
"--disable-hardening" option improved

* Splitted into argument and helptext

* MSG about hardening status added to configure output

10 years agodnsdist is c++2011 now which means jenkins can't build it anymore for us. Remove...
bert hubert [Sat, 14 Feb 2015 18:26:17 +0000 (19:26 +0100)]
dnsdist is c++2011 now which means jenkins can't build it anymore for us. Remove it from RPM.

10 years agoZeroMQ remotebackend requires remote backend itself
Thomas D [Sat, 14 Feb 2015 16:43:34 +0000 (17:43 +0100)]
ZeroMQ remotebackend requires remote backend itself

10 years agoMerge pull request #2233 from rubenk/handle-missing-so_reuseport
Peter van Dijk [Sat, 14 Feb 2015 14:54:54 +0000 (15:54 +0100)]
Merge pull request #2233 from rubenk/handle-missing-so_reuseport

Older kernels don't have SO_REUSEPORT