"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pdns/secpoll-auth.cc" between
pdns-auth-4.1.13.tar.gz and pdns-auth-4.2.0.tar.gz

About: PowerDNS Authoritative Nameserver is a versatile nameserver which supports a large number of backends (that can either be plain zone files or be more dynamic in nature).

secpoll-auth.cc  (pdns-auth-4.1.13):secpoll-auth.cc  (pdns-auth-4.2.0)
skipping to change at line 66 skipping to change at line 66
pair<string, string> split = splitField(unquotify(content), ' '); pair<string, string> split = splitField(unquotify(content), ' ');
security_status = std::stoi(split.first); security_status = std::stoi(split.first);
g_security_message = split.second; g_security_message = split.second;
} }
else { else {
string pkgv(PACKAGEVERSION); string pkgv(PACKAGEVERSION);
if(pkgv.find("0.0.") != 0) if(pkgv.find("0.0.") != 0)
L<<Logger::Warning<<"Could not retrieve security status update for '" + pk gv + "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl; g_log<<Logger::Warning<<"Could not retrieve security status update for '" + pkgv + "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl;
else else
L<<Logger::Warning<<"Not validating response for security status update, t his is a non-release version."<<endl; g_log<<Logger::Warning<<"Not validating response for security status updat e, this is a non-release version."<<endl;
} }
if(security_status == 1 && first) { if(security_status == 1 && first) {
L<<Logger::Warning << "Polled security status of version "<<PACKAGEVERSION<< " at startup, no known issues reported: " <<g_security_message<<endl; g_log<<Logger::Warning << "Polled security status of version "<<PACKAGEVERSI ON<<" at startup, no known issues reported: " <<g_security_message<<endl;
} }
if(security_status == 2) { if(security_status == 2) {
L<<Logger::Error<<"PowerDNS Security Update Recommended: "<<g_security_messa ge<<endl; g_log<<Logger::Error<<"PowerDNS Security Update Recommended: "<<g_security_m essage<<endl;
} }
else if(security_status == 3) { else if(security_status == 3) {
L<<Logger::Error<<"PowerDNS Security Update Mandatory: "<<g_security_message <<endl; g_log<<Logger::Error<<"PowerDNS Security Update Mandatory: "<<g_security_mes sage<<endl;
} }
S.set("security-status",security_status); S.set("security-status",security_status);
} }
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)