aboutsummaryrefslogtreecommitdiff
path: root/net/bind9/files/patch-assertions.h
diff options
context:
space:
mode:
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