summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include/deattack.h
diff options
context:
space:
mode:
authorjp161948 <none@none>2006-11-13 09:43:40 -0800
committerjp161948 <none@none>2006-11-13 09:43:40 -0800
commit60779adb24bbd974e68a9993a8eafd79a30ad887 (patch)
tree46745cb8248ea0c916f22d1053ef6e7a5c0d8906 /usr/src/cmd/ssh/include/deattack.h
parent84d68d8e929eb898bba40f17b9966212f1a66de8 (diff)
downloadillumos-gate-60779adb24bbd974e68a9993a8eafd79a30ad887.tar.gz
6477720 possible DoS in CRC compensation attack detector for SSH protocol 1
6481229 potential race in fatal_cleanup() in ssh
Diffstat (limited to 'usr/src/cmd/ssh/include/deattack.h')
-rw-r--r--usr/src/cmd/ssh/include/deattack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/cmd/ssh/include/deattack.h b/usr/src/cmd/ssh/include/deattack.h
index 22c088e603..fa7fc82312 100644
--- a/usr/src/cmd/ssh/include/deattack.h
+++ b/usr/src/cmd/ssh/include/deattack.h
@@ -32,6 +32,7 @@ extern "C" {
/* Return codes */
#define DEATTACK_OK 0
#define DEATTACK_DETECTED 1
+#define DEATTACK_DOS_DETECTED 2
int detect_attack(u_char *, u_int32_t, u_char[8]);