]>
granicus.if.org Git - pdns/log
Kees Monshouwer [Mon, 30 Nov 2015 18:23:16 +0000 (19:23 +0100)]
speedup travis build?
Kees Monshouwer [Mon, 30 Nov 2015 00:12:05 +0000 (01:12 +0100)]
more s/geoipbackend/geoip
Kees Monshouwer [Thu, 19 Nov 2015 17:44:30 +0000 (18:44 +0100)]
redo .travis.yml
bert hubert [Mon, 30 Nov 2015 11:43:43 +0000 (12:43 +0100)]
Merge pull request #2853 from pieterlexis/pdnstool
Rename pdnssec to pdnsutil: the pain will be huge, but worth it!
bert hubert [Mon, 30 Nov 2015 11:39:52 +0000 (12:39 +0100)]
Merge pull request #2963 from cmouse/tinycdb-cerr
Remove cerr logging from normal build
Pieter Lexis [Wed, 4 Nov 2015 09:52:06 +0000 (10:52 +0100)]
Update the documentation wrt renaming pdnssec
Pieter Lexis [Tue, 3 Nov 2015 10:13:47 +0000 (11:13 +0100)]
Rename pdnssec to pdnsutil
Aki Tuomi [Mon, 30 Nov 2015 09:43:45 +0000 (11:43 +0200)]
Remove cerr logging from normal build
bert hubert [Mon, 30 Nov 2015 08:09:26 +0000 (09:09 +0100)]
fix up sortlist to removal of confusing operator[] from netmasktree
bert hubert [Sun, 29 Nov 2015 23:09:33 +0000 (00:09 +0100)]
Merge pull request #2956 from cmouse/netmasktree-sp1
Netmasktree sp1
bert hubert [Sun, 29 Nov 2015 21:51:10 +0000 (22:51 +0100)]
Merge pull request #2953 from zeha/api-crash
API: fix crash introduced in
abb873ee
bert hubert [Sun, 29 Nov 2015 21:49:44 +0000 (22:49 +0100)]
Merge pull request #2960 from ahupowerdns/ringcount
merge dynamic blocklist stuff
bert hubert [Sun, 29 Nov 2015 21:49:25 +0000 (22:49 +0100)]
Merge pull request #2959 from ahupowerdns/lua-travis
Lua travis: fix so travis can build and test us successfully, with or without Lua
bert hubert [Sun, 29 Nov 2015 21:48:19 +0000 (22:48 +0100)]
add dynamic blocklist to the webpage
bert hubert [Sun, 29 Nov 2015 20:44:08 +0000 (21:44 +0100)]
add showDynBlocks(), add way to add message for block reason
bert hubert [Sun, 29 Nov 2015 20:24:01 +0000 (21:24 +0100)]
implement a dynamic blocklist in the core of dnsdist, so it operates Lua-free. Plus add METRICS! MORE METRICS!
bert hubert [Sun, 29 Nov 2015 19:48:32 +0000 (20:48 +0100)]
not only compile without lua, but also work!
bert hubert [Sun, 29 Nov 2015 19:45:42 +0000 (20:45 +0100)]
unify various rings, make generic query infra NOTE - WE STILL DON'T LOCK THE RINGS CONSISTENTLY
bert hubert [Sun, 29 Nov 2015 19:22:34 +0000 (20:22 +0100)]
make sdig wait only 10 seconds, which _might_ give more helpful debugging output in travis. At least earlier :-)
bert hubert [Sun, 29 Nov 2015 18:28:08 +0000 (19:28 +0100)]
for shame
bert hubert [Sun, 29 Nov 2015 16:43:01 +0000 (17:43 +0100)]
implement a maintenance() function in dnsdist lua which can configure dynamic filters, plus add ringbuffer tooling to do so:
dyn = newNMG()
function blockFilter(remote, qname, qtype, dh)
-- print(string.format("Called from %s", remote:tostring()))
if(dyn:match(remote))
then
print("Blocking query from " .. remote:tostring() .. " because dynamic blocklist")
return true
end
return false
end
function maintenance()
local newdyn = newNMG()
local exc=exceedServfails(1, 3) -- more than 1 qps over 3 seconds
newdyn:add(exc)
for k, v in pairs( exc ) do
newdyn:add(k)
end
exc=exceedNXDOMAINs(3, 10) -- more than 3 qps over 10 seconds
for k, v in pairs( exc ) do
print("Adding because of NXDOMAIN: "..k:tostring())
newdyn:add(k)
end
newdyn:add(exceedByterate(1000, 4)) -- more than 1000 bytes/s over 4 seconds
dyn=newdyn
end
bert hubert [Sun, 29 Nov 2015 16:42:42 +0000 (17:42 +0100)]
we might have more DiffTimes
bert hubert [Sun, 29 Nov 2015 13:38:29 +0000 (14:38 +0100)]
and the .h..
bert hubert [Sun, 29 Nov 2015 13:06:14 +0000 (14:06 +0100)]
this restores being able to build recursor w/o Lua, and also continues Travis testing of recursor w/o Lua
bert hubert [Sun, 29 Nov 2015 12:41:41 +0000 (13:41 +0100)]
move all the lua configuration items to a struct that is RCU for easy reloading
bert hubert [Sun, 29 Nov 2015 12:29:52 +0000 (13:29 +0100)]
was looking in the wrong place!
bert hubert [Sun, 29 Nov 2015 11:49:12 +0000 (12:49 +0100)]
see if this makes travis build with Lua
bert hubert [Sun, 29 Nov 2015 11:15:24 +0000 (12:15 +0100)]
Merge pull request #2945 from cmouse/geoip-interpolation
Geoip interpolation and sundry of fixes.
bert hubert [Sun, 29 Nov 2015 10:51:00 +0000 (11:51 +0100)]
the day you new that would be arriving: a Lua configuration file for Recursor. Also implements sortlist & makes Lua mandatory (for now) in Recursor
bert hubert [Sun, 29 Nov 2015 10:50:26 +0000 (11:50 +0100)]
add a single-netmask long test case for netmasktree
Aki Tuomi [Sun, 29 Nov 2015 10:22:11 +0000 (12:22 +0200)]
Add has_key method
Aki Tuomi [Sun, 29 Nov 2015 10:22:03 +0000 (12:22 +0200)]
Add few comments
Aki Tuomi [Sun, 29 Nov 2015 09:49:14 +0000 (11:49 +0200)]
Remove NetmaskTree#[] from geoipbackend
Aki Tuomi [Sun, 29 Nov 2015 09:40:00 +0000 (11:40 +0200)]
Remove [] accessors
bert hubert [Sun, 29 Nov 2015 08:38:05 +0000 (09:38 +0100)]
revert to std::string in DNSName for now since Centos6 boost does not have boost::container::string - we should autodetect this with #if on BOOST_VERSION
bert hubert [Sat, 28 Nov 2015 18:45:45 +0000 (19:45 +0100)]
Merge pull request #2954 from cmouse/deforeach-remote
Fix remotebackend for loops
Christian Hofstaedtler [Sat, 28 Nov 2015 16:39:29 +0000 (17:39 +0100)]
API: fix crash introduced in
abb873ee
And rename the involved var so its clearer what is going on.
Pieter Lexis [Sat, 28 Nov 2015 15:18:40 +0000 (16:18 +0100)]
Correct the name of the unixODBC package on centos
bert hubert [Sat, 28 Nov 2015 11:38:05 +0000 (12:38 +0100)]
make nxdomains/noerror responses work. We validate the NSEC/NSEC3 records, but don't yet prove they cover the right things.
bert hubert [Sat, 28 Nov 2015 10:05:07 +0000 (11:05 +0100)]
hook up ECDSA in git pdns_recursor build, not yet in separate tarball. Fix up CNAME chains and resolving insecure domains with do=1
bert hubert [Fri, 27 Nov 2015 22:13:57 +0000 (23:13 +0100)]
Merge pull request #2943 from ahupowerdns/deforeach
Do we want this? remove BOOST_FOREACH, fixes two bugs
bert hubert [Fri, 27 Nov 2015 21:25:17 +0000 (22:25 +0100)]
whitespace conflict. Merge branch 'master' into deforeach
Conflicts:
pdns/dnssecinfra.cc
bert hubert [Fri, 27 Nov 2015 19:16:56 +0000 (20:16 +0100)]
Merge pull request #2942 from ahupowerdns/deserial
Deserial: remove boost serialization from configure.ac and includes, speeding up builds
bert hubert [Fri, 27 Nov 2015 19:12:18 +0000 (20:12 +0100)]
Merge pull request #2944 from rgacogne/sanitizers
Add configure options to build dnsdist with various sanitizers
bert hubert [Fri, 27 Nov 2015 19:12:05 +0000 (20:12 +0100)]
Merge pull request #2947 from rgacogne/dnsdist-tcp-check-len
Check the length of TCP queries in dnsdist
bert hubert [Fri, 27 Nov 2015 19:11:33 +0000 (20:11 +0100)]
Merge pull request #2948 from rgacogne/dnsname-check-offset-len
Check that offset < len in DNSName constructor
bert hubert [Fri, 27 Nov 2015 19:11:02 +0000 (20:11 +0100)]
Merge pull request #2950 from pieterlexis/dnsdist-http-contenttype
dnsdist: Add the correct Content-Header for files
bert hubert [Fri, 27 Nov 2015 19:10:25 +0000 (20:10 +0100)]
Merge pull request #2952 from pieterlexis/dnsdist-version-in-html
Show the dnsdist version in the html
Pieter Lexis [Fri, 27 Nov 2015 17:01:17 +0000 (18:01 +0100)]
ignore the dnsdist history file
Pieter Lexis [Fri, 27 Nov 2015 17:00:06 +0000 (18:00 +0100)]
Use symlink for gen-version script
Pieter Lexis [Fri, 27 Nov 2015 16:58:57 +0000 (17:58 +0100)]
dnsdist: show correct version in the webpage
Pieter Lexis [Fri, 27 Nov 2015 15:56:23 +0000 (16:56 +0100)]
dnsdist: Add the correct Content-Header for files
Aki Tuomi [Fri, 27 Nov 2015 15:52:41 +0000 (17:52 +0200)]
Ignore generated file
bert hubert [Fri, 27 Nov 2015 15:41:24 +0000 (16:41 +0100)]
make nonconst version of getTag() too which is faster
bert hubert [Fri, 27 Nov 2015 15:40:04 +0000 (16:40 +0100)]
Merge pull request #2949 from ahupowerdns/dprotect
Dprotect: dnssec validation of answers
Remi Gacogne [Fri, 27 Nov 2015 14:06:32 +0000 (15:06 +0100)]
Check that offset < len in DNSName constructor
Otherwise, we might call memchr() with garbage, as len and offset
are signed but memchr()'s n is unsigned (size_t).
bert hubert [Fri, 27 Nov 2015 14:04:44 +0000 (15:04 +0100)]
hook up the validator code with the recursor, keep toysdig independent so it can source records over TCP/IP
Remi Gacogne [Fri, 27 Nov 2015 14:00:36 +0000 (15:00 +0100)]
Check the length of TCP queries
There is no point in trying to parse queries whose length
is < sizeof(dnsheader).
bert hubert [Fri, 27 Nov 2015 13:22:16 +0000 (14:22 +0100)]
make sure we have enough space to receive those huge dnssec laden packets!
Aki Tuomi [Fri, 27 Nov 2015 12:45:48 +0000 (14:45 +0200)]
Remove unnecessary test
Aki Tuomi [Fri, 27 Nov 2015 11:24:23 +0000 (13:24 +0200)]
Add warning
Aki Tuomi [Fri, 27 Nov 2015 11:05:08 +0000 (13:05 +0200)]
Update docs
Aki Tuomi [Fri, 27 Nov 2015 11:04:37 +0000 (13:04 +0200)]
Add format specifier for IP
Aki Tuomi [Fri, 27 Nov 2015 10:56:14 +0000 (12:56 +0200)]
Update documentation
Aki Tuomi [Fri, 27 Nov 2015 10:32:28 +0000 (12:32 +0200)]
Remove unneeded 1.2.3.4 from dev lo
bert hubert [Fri, 27 Nov 2015 10:32:02 +0000 (11:32 +0100)]
split out validation bits from toysdig, move to an 'Oracle' that provides answers. Next step: make SyncRes that Oracle in the recursor
Aki Tuomi [Fri, 27 Nov 2015 09:21:14 +0000 (11:21 +0200)]
Fix remotebackend for loops
Aki Tuomi [Fri, 27 Nov 2015 10:27:21 +0000 (12:27 +0200)]
Update test suite
Aki Tuomi [Fri, 27 Nov 2015 10:27:02 +0000 (12:27 +0200)]
Do not reset gl->netmask to 0
Aki Tuomi [Fri, 27 Nov 2015 10:26:46 +0000 (12:26 +0200)]
Do not cache unknown responses
Aki Tuomi [Fri, 27 Nov 2015 10:25:57 +0000 (12:25 +0200)]
Support content interpolation
Remi Gacogne [Fri, 27 Nov 2015 10:13:06 +0000 (11:13 +0100)]
Add configure options to build dnsdist with various sanitizers.
It makes it really easy to enable ASAN, LSAN, MSAN, TSAN, or
USBSAN on a custom build, to track issues.
Aki Tuomi [Fri, 27 Nov 2015 09:55:55 +0000 (11:55 +0200)]
Turn on EDNS subnet processing
Aki Tuomi [Fri, 27 Nov 2015 09:47:49 +0000 (11:47 +0200)]
Add interpolation test
Aki Tuomi [Fri, 27 Nov 2015 09:47:36 +0000 (11:47 +0200)]
Fix test suite name
Aki Tuomi [Fri, 27 Nov 2015 09:47:18 +0000 (11:47 +0200)]
Fix test suite name
Aki Tuomi [Fri, 27 Nov 2015 09:46:53 +0000 (11:46 +0200)]
Add interpolation test setup
Aki Tuomi [Fri, 27 Nov 2015 09:44:42 +0000 (11:44 +0200)]
Add interpolation support for content
bert hubert [Fri, 27 Nov 2015 09:34:11 +0000 (10:34 +0100)]
move everything to getMDP(), first step in abstracting to be able to talk to SyncRes too
bert hubert [Fri, 27 Nov 2015 08:52:37 +0000 (09:52 +0100)]
Merge branch 'master' into dprotect
bert hubert [Fri, 27 Nov 2015 07:12:05 +0000 (08:12 +0100)]
there was a BOOST_REVERSE_FOREACH!
bert hubert [Fri, 27 Nov 2015 07:12:05 +0000 (08:12 +0100)]
there was a BOOST_REVERSE_FOREACH!
bert hubert [Thu, 26 Nov 2015 22:22:25 +0000 (23:22 +0100)]
remove boost/foreach includes & autoconf bit
bert hubert [Thu, 26 Nov 2015 22:04:33 +0000 (23:04 +0100)]
final BOOST_FOREACH cleanup
bert hubert [Thu, 26 Nov 2015 21:53:19 +0000 (22:53 +0100)]
further for range cleanups
bert hubert [Thu, 26 Nov 2015 21:49:17 +0000 (22:49 +0100)]
foreach fixup
bert hubert [Thu, 26 Nov 2015 21:32:05 +0000 (22:32 +0100)]
small range for fixup
bert hubert [Thu, 26 Nov 2015 19:30:45 +0000 (20:30 +0100)]
some more simpe ones
bert hubert [Thu, 26 Nov 2015 19:30:19 +0000 (20:30 +0100)]
further straightforward cases
bert hubert [Thu, 26 Nov 2015 19:26:46 +0000 (20:26 +0100)]
remove all the obviously translatable uses of BOOST_FOREACH
bert hubert [Thu, 26 Nov 2015 19:17:50 +0000 (20:17 +0100)]
prevent a storm of string copies just for getting the minTTL of a packet
bert hubert [Thu, 26 Nov 2015 17:41:00 +0000 (18:41 +0100)]
remove boost serialization which actually shaves seconds off ./configure and probably more off our build times
bert hubert [Thu, 26 Nov 2015 17:22:46 +0000 (18:22 +0100)]
Merge pull request #2939 from rgacogne/dnsdist-truncated
Drop truncated UDP messages caused by a small buffer. Note: might be a good idea for rest of our products as well!
Peter van Dijk [Thu, 26 Nov 2015 16:14:34 +0000 (17:14 +0100)]
Merge pull request #2941 from sid3windr/patch-2
Correct small typo in dns64 documentation
Pieter Lexis [Thu, 26 Nov 2015 16:06:40 +0000 (17:06 +0100)]
Merge branch 'pcserial' from @ahupowerdns
bert hubert [Thu, 26 Nov 2015 14:26:39 +0000 (15:26 +0100)]
improve filedescriptor requesting code so it requests more filedescriptors, plus actually uses the number of launched threads in the calculation... Potentially relevant for 3.7.3 as well!
bert hubert [Thu, 26 Nov 2015 14:23:57 +0000 (15:23 +0100)]
EMFILE was (out of filedescriptors, too many open files) was reported as an error that could be blamed on the remote nameserver instead of on the OS, causing throttle actions.
bert hubert [Thu, 26 Nov 2015 14:23:04 +0000 (15:23 +0100)]
also report fd usage in recursor
bert hubert [Thu, 26 Nov 2015 10:57:06 +0000 (11:57 +0100)]
fix back the scopemask stuff we removed from the ueberbackend query cache
bert hubert [Wed, 25 Nov 2015 21:07:53 +0000 (22:07 +0100)]
move dnsname to boost::container::string, remove horrible serialization from packetcache