RRL patch in B10 1.1.0?
/dev/rob0
rob0 at gmx.co.uk
Fri Oct 18 03:53:03 UTC 2013
AS (ante script) to moderator: if I forgot to subscribe this address
to this list, I'm sorry. Reject this if you want, and I'll subscribe
and resubmit.
Hi List,
I am wanting to try BIND10 and also try Response Rate Limiting. I
found this ticket with a link to a patch:
http://bind10.isc.org/ticket/2840
Patching failed -- complete output at the end of this post.
My C/C++ skills are rather modest, but I figured I could fix a few
failed hunks in a patch. Hmm, the first one was beyond me.
patching file src/bin/auth/auth_srv.cc
Hunk #5 FAILED at 324.
I looked around at 324, no luck. The reject started out with these
context lines:
/// Are we currently subscribed to the SegmentReader group?
bool readers_group_subscribed_;
So I looked for "SegmentReader" and "subscribed" in auth_srv.cc;
neither was found.
At that point I figured it was best to ask here. :) Is there a patch
for RRL in BIND10? Is this still an unfinished task? Thank you.
patch command and output:
rob0 at Shibboleet:~/src/bind10-1.1.0$ patch -p1 < ~/dl/patch.2840-rrl-only
patching file configure.ac
Hunk #1 succeeded at 882 with fuzz 2 (offset -29 lines).
Hunk #2 succeeded at 1062 (offset -43 lines).
patching file src/bin/auth/Makefile.am
patching file src/bin/auth/auth.spec.pre.in
patching file src/bin/auth/auth_config.cc
patching file src/bin/auth/auth_messages.mes
Hunk #1 succeeded at 404 (offset -28 lines).
patching file src/bin/auth/auth_srv.cc
Hunk #5 FAILED at 324.
Hunk #6 FAILED at 340.
Hunk #7 succeeded at 365 (offset -4 lines).
Hunk #8 succeeded at 442 (offset 13 lines).
Hunk #9 succeeded at 527 (offset 13 lines).
Hunk #10 succeeded at 568 (offset 11 lines).
Hunk #11 succeeded at 604 (offset 11 lines).
Hunk #12 succeeded at 621 (offset 11 lines).
Hunk #13 succeeded at 673 (offset 11 lines).
Hunk #14 succeeded at 703 (offset 11 lines).
Hunk #15 succeeded at 757 (offset 11 lines).
Hunk #16 succeeded at 788 (offset 11 lines).
Hunk #17 succeeded at 799 (offset 11 lines).
Hunk #18 succeeded at 809 (offset 11 lines).
Hunk #19 succeeded at 817 (offset 11 lines).
Hunk #20 succeeded at 839 (offset 11 lines).
Hunk #21 FAILED at 978.
3 out of 21 hunks FAILED -- saving rejects to file
src/bin/auth/auth_srv.cc.rej
patching file src/bin/auth/auth_srv.h
Hunk #3 FAILED at 278.
1 out of 3 hunks FAILED -- saving rejects to file
src/bin/auth/auth_srv.h.rej
patching file src/bin/auth/benchmarks/Makefile.am
patching file src/bin/auth/query.cc
Hunk #4 succeeded at 437 (offset -6 lines).
Hunk #5 succeeded at 536 (offset -6 lines).
Hunk #6 succeeded at 614 (offset -6 lines).
Hunk #7 succeeded at 635 (offset -6 lines).
patching file src/bin/auth/query.h
patching file src/bin/auth/tests/Makefile.am
--
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
More information about the bind10-users
mailing list