"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "axfr.c" between
nsd-4.3.5.tar.gz and nsd-4.3.6.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

axfr.c  (nsd-4.3.5):axfr.c  (nsd-4.3.6)
skipping to change at line 194 skipping to change at line 194
addr2str(&q->addr, a, sizeof(a)); addr2str(&q->addr, a, sizeof(a));
VERBOSITY(2, (LOG_INFO, "axfr for %s from %s refused, %s", VERBOSITY(2, (LOG_INFO, "axfr for %s from %s refused, %s",
dname_to_string(q->qname, NULL), a, acl?"blocked":"no acl matches")); dname_to_string(q->qname, NULL), a, acl?"blocked":"no acl matches"));
} }
DEBUG(DEBUG_XFRD,1, (LOG_INFO, "axfr refused, %s" , DEBUG(DEBUG_XFRD,1, (LOG_INFO, "axfr refused, %s" ,
acl?"blocked":"no acl matches")); acl?"blocked":"no acl matches"));
if (!zone_opt) { if (!zone_opt) {
RCODE_SET(q->packet, RCODE_NOTAUTH); RCODE_SET(q->packet, RCODE_NOTAUTH);
} else { } else {
RCODE_SET(q->packet, RCODE_REFUSE); RCODE_SET(q->packet, RCODE_REFUSE);
/* RFC8914 - Extended DNS Errors
* 4.19. Extended DNS Error Code 18 - Pr
ohibited */
q->edns.ede = EDE_PROHIBITED;
} }
return QUERY_PROCESSED; return QUERY_PROCESSED;
} }
DEBUG(DEBUG_XFRD,1, (LOG_INFO, "axfr admitted acl %s %s", DEBUG(DEBUG_XFRD,1, (LOG_INFO, "axfr admitted acl %s %s",
acl->ip_address_spec, acl->key_name?acl->key_name :"NOKEY")); acl->ip_address_spec, acl->key_name?acl->key_name :"NOKEY"));
if (verbosity >= 1) { if (verbosity >= 1) {
char a[128]; char a[128];
addr2str(&q->addr, a, sizeof(a)); addr2str(&q->addr, a, sizeof(a));
VERBOSITY(1, (LOG_INFO, "%s for %s from %s", VERBOSITY(1, (LOG_INFO, "%s for %s from %s",
(q->qtype==TYPE_AXFR?"axfr":"ixfr"), (q->qtype==TYPE_AXFR?"axfr":"ixfr"),
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

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