Add SMF support. Defuzz patches. PowerDNS Recursor 3.7.3 - Limit the maximum length of a qname - pdnssec: check for glue and delegations in parent zones PowerDNS Recursor 3.7.2 - Fix handling of forward references in label compressed packets; fixes CVE-2015-1868. - Minor improvements and bugfixes. PowerDNS Recursor 3.7.1 - New root-nx-trust flag makes PowerDNS generalize NXDOMAIN responses from the root-servers - getregisteredname() for Lua, which turns 'www.bbc.co.uk' into 'bbc.co.uk' - Lua preoutquery filter - Lua IP-based filter (ipfilter) before parsing packets - iputils class for Lua, to quickly process IP addresses and netmasks in their native format - getregisteredname function for Lua, to find the registered domain for a given name - Various new ringbuffers: top-servfail-remotes, top-largeanswer-remotes, top-servfail-queries - Minor improvements and bugfixes. PowerDNS Recursor 3.6.2 - Minor improvements and bugfixes. PowerDNS Recursor 3.6.1 - Fix for a crash under a specific sequence of packets. PowerDNS Recursor 3.6.0 - Implement minimum-ttl-override config setting, plus runtime configurability via 'rec_control set-minimum-ttl'. - Lots of work on the JSON API, which is exposed via Aki Tuomi's 'yahttp'. - Lua modules can now use 'pdnslog(INFO..') - Adopt any-to-tcp feature to the recursor. - Implement built-in statistics dumper using the 'carbon' protocol, which is also understood by metronome (our mini-graphite). Use 'carbon-server', 'carbon-ourname' and 'carbon-interval' settings. - New setting 'udp-truncation-threshold' to configure from how many bytes we should truncate. commit a09a8ce. - Proper support for CHaos class for CHAOS TXT queries. - Added support for Lua scripts to drop queries w/o further processing. - Kevin Holly added qtype statistics to recursor and rec_control. - Add support for include-files in configuration, also reload ACLs and zones defined in them. - Paulo Anes contributed server-down-max-fails which helps combat Recursive DNS based amplification attacks. - Implement "followCNAMERecords" feature in the Lua hooks. - Minor improvements and bugfixes. PowerDNS Recursor 3.5.3 - This is a bugfix and performance update to 3.5.2. It brings serious performance improvements for dual stack users. PowerDNS Recursor 3.5.2 - This is a stability and bugfix update to 3.5.1. It contains important fixes that improve operation for certain domains. PowerDNS Recursor 3.5.1 - This is a stability and bugfix update to 3.5. PowerDNS Recursor 3.5 - The local zone server now understands wildcards. - The Lua postresolve and nodata hooks. - A new feature, rec_control trace-regex allows the tracing of lookups for specific names - A new setting, export-etc-hosts-search-suffix, adds a configurable suffix to names imported from /etc/hosts - Minor improvements & bugfixes PowerDNS Recursor 3.3.1 - Small number of important fixes, adds some memory usage statistics, but no new features
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
$NetBSD: patch-rec__channel__rec.cc,v 1.2 2015/06/10 14:22:29 fhajny Exp $
|
|
|
|
Straighten Boost namespace.
|
|
|
|
--- rec_channel_rec.cc.orig 2015-04-21 13:02:57.000000000 +0000
|
|
+++ rec_channel_rec.cc
|
|
@@ -31,7 +31,7 @@ pthread_mutex_t g_carbon_config_lock=PTH
|
|
|
|
map<string, const uint32_t*> d_get32bitpointers;
|
|
map<string, const uint64_t*> d_get64bitpointers;
|
|
-map<string, function< uint32_t() > > d_get32bitmembers;
|
|
+map<string, boost::function< uint32_t() > > d_get32bitmembers;
|
|
|
|
void addGetStat(const string& name, const uint32_t* place)
|
|
{
|
|
@@ -41,7 +41,7 @@ void addGetStat(const string& name, cons
|
|
{
|
|
d_get64bitpointers[name]=place;
|
|
}
|
|
-void addGetStat(const string& name, function<uint32_t ()> f )
|
|
+void addGetStat(const string& name, boost::function<uint32_t ()> f )
|
|
{
|
|
d_get32bitmembers[name]=f;
|
|
}
|
|
@@ -66,7 +66,7 @@ map<string,string> getAllStatsMap()
|
|
|
|
pair<string, const uint32_t*> the32bits;
|
|
pair<string, const uint64_t*> the64bits;
|
|
- pair<string, function< uint32_t() > > the32bitmembers;
|
|
+ pair<string, boost::function< uint32_t() > > the32bitmembers;
|
|
|
|
BOOST_FOREACH(the32bits, d_get32bitpointers) {
|
|
ret.insert(make_pair(the32bits.first, lexical_cast<string>(*the32bits.second)));
|