mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix remove private address does not throw away entire response.
git-svn-id: file:///svn/unbound/trunk@2386 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
36d5a75848
commit
eed924d7be
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
28 January 2011: Wouter
|
||||||
|
- Fix remove private address does not throw away entire response.
|
||||||
|
|
||||||
|
24 January 2011: Wouter
|
||||||
|
- release 1.4.8
|
||||||
|
|
||||||
19 January 2011: Wouter
|
19 January 2011: Wouter
|
||||||
- fix bug#349: no -L/usr for ldns.
|
- fix bug#349: no -L/usr for ldns.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -643,9 +643,9 @@ scrub_sanitize(ldns_buffer* pkt, struct msg_parse* msg,
|
||||||
if( (rrset->type == LDNS_RR_TYPE_A ||
|
if( (rrset->type == LDNS_RR_TYPE_A ||
|
||||||
rrset->type == LDNS_RR_TYPE_AAAA) &&
|
rrset->type == LDNS_RR_TYPE_AAAA) &&
|
||||||
priv_rrset_bad(ie->priv, pkt, rrset)) {
|
priv_rrset_bad(ie->priv, pkt, rrset)) {
|
||||||
/* set servfail, so the classification becomes
|
|
||||||
* THROWAWAY, instead of LAME or other unwanted */
|
/* do not set servfail since this leads to too
|
||||||
FLAGS_SET_RCODE(msg->flags, LDNS_RCODE_SERVFAIL);
|
* many drops of other people using rfc1918 space */
|
||||||
remove_rrset("sanitize: removing public name with "
|
remove_rrset("sanitize: removing public name with "
|
||||||
"private address", pkt, msg, prev, &rrset);
|
"private address", pkt, msg, prev, &rrset);
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue