aboutsummaryrefslogtreecommitdiffstats
path: root/net/bind9/files/patch-assertions.h
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2001-02-07 12:36:27 +0000
committerDoug Barton <dougb@FreeBSD.org>2001-02-07 12:36:27 +0000
commite77ea8ac3fd832ed08d1a81ea86b55eddeb26aa8 (patch)
tree15d2ca68072aa5bbfd3a5b1404980e41eae79592 /net/bind9/files/patch-assertions.h
parentb188ac4586f3be8282c68702d6bdd586bb4af89f (diff)
Major overhaul, including an updated man/plist, patching the man pages
to make the location of etc/ files prefix-safe. Install a sample rndc.conf file. Since rndc won't start without one the user should have an example to work from. Add the installation of various docs wrapped in a NOPORTDOCS test. Last but not least, add a patch that turns off the debugging code ISC left on by default. This should help solve the problems with misbehaving assert's, related to nmap and other causes.
Diffstat (limited to 'net/bind9/files/patch-assertions.h')
-rw-r--r--net/bind9/files/patch-assertions.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/bind9/files/patch-assertions.h b/net/bind9/files/patch-assertions.h
new file mode 100644
index 000000000000..109fd263a8f3
--- /dev/null
+++ b/net/bind9/files/patch-assertions.h
@@ -0,0 +1,15 @@
+--- lib/isc/include/isc/assertions.h.ISC Wed Jan 17 15:42:19 2001
++++ lib/isc/include/isc/assertions.h Tue Feb 6 22:20:19 2001
+@@ -51,6 +51,12 @@
+ #define ISC_CHECK_INVARIANT 1
+ #endif
+
++/*
++ Turn off ISC debugging code to avoid a possible DOS attack
++ related to nmap TCP connect() scanning.
++*/
++#define ISC_CHECK_NONE
++
+ #ifdef ISC_CHECK_NONE
+ #define ISC_CHECK_REQUIRE 0
+ #define ISC_CHECK_ENSURE 0