aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind94/files/patch-assertions.h
diff options
context:
space:
mode:
Diffstat (limited to 'dns/bind94/files/patch-assertions.h')
-rw-r--r--dns/bind94/files/patch-assertions.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/bind94/files/patch-assertions.h b/dns/bind94/files/patch-assertions.h
new file mode 100644
index 00000000000..109fd263a8f
--- /dev/null
+++ b/dns/bind94/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