<div dir="ltr">Looks like I invoked a whitespace problem in the copy paste. Here is the patch as attachment. <div>The relevant parts are equal to the unmengled if I test with "diff -bB" </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 25, 2018 at 9:31 PM, Geert Stappers <span dir="ltr"><<a href="mailto:stappers@stappers.nl" target="_blank">stappers@stappers.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jan 25, 2018 at 04:03:57PM +0100, Mattias Hellström wrote:<br>
> Hi,<br>
> I have made a patch to disable the A-for-A feature.<br>
> I believe that the text portions can be made better by an actual DNS expert.<br>
><br>
> Given the following quote, and if that trend holds true, there are probably<br>
> no significant A-for-A requests anymore.<br>
><br>
> The percentages of A-for-A seen by root servers reported in 2001, 2003, and<br>
</span>> 2008 was 12%???18%, 7.03%, and 2.7%, respectively. The decreasing trend<br>
} 2008 was 12%, 7.03%, and 2.7%, respectively. The decreasing trend<br>
<span class="">> continues in our data collected in 2012, where A-for-A only contributes<br>
> 0.4% of the traffic.<br>
><br>
> [[ <a href="http://cs.northwestern.edu/~ychen/Papers/DNS_ToN15.pdf" rel="noreferrer" target="_blank">http://cs.northwestern.edu/~<wbr>ychen/Papers/DNS_ToN15.pdf</a> ]]<br>
><br>
><br>
> ---<br>
><br>
> man/dnsmasq.8 | 3 +++<br>
><br>
> src/dnsmasq.h | 3 ++-<br>
><br>
> src/option.c | 3 +++<br>
><br>
> src/rfc1035.c | 2 +-<br>
><br>
> 4 files changed, 9 insertions(+), 2 deletions(-)<br>
><br>
><br>
> diff --git a/man/dnsmasq.8 b/man/dnsmasq.8<br>
><br>
> index 6b914ec..40d531c 100644<br>
><br>
> --- a/man/dnsmasq.8<br>
><br>
> +++ b/man/dnsmasq.8<br>
><br>
<br>
</span>FWIW<br>
after "unmengle what was mengled by email programm" still patch errors occure.<br>
<br>
<br>
Find attached the unmengled patch, it will yield this<br>
<br>
patching file man/dnsmasq.8<br>
Hunk #1 succeeded at 1908 with fuzz 1.<br>
patching file src/dnsmasq.h<br>
Hunk #1 FAILED at 250.<br>
1 out of 1 hunk FAILED -- saving rejects to file src/dnsmasq.h.rej<br>
patching file src/option.c<br>
Hunk #1 FAILED at 160.<br>
Hunk #3 succeeded at 498 with fuzz 2.<br>
1 out of 3 hunks FAILED -- saving rejects to file src/option.c.rej<br>
patching file src/rfc1035.c<br>
Hunk #1 FAILED at 1570.<br>
1 out of 1 hunk FAILED -- saving rejects to file src/rfc1035.c.rej<br>
<br>
<br>
against git HEAD<br>
<br>
<br>
<br>
Groeten<br>
<span class="HOEnZb"><font color="#888888">Geert Stappers<br>
--<br>
Leven en laten leven<br>
</font></span></blockquote></div><br></div>