summaryrefslogtreecommitdiffstats
path: root/deattack.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-09-17 06:08:53 +1000
committerDamien Miller <djm@mindrot.org>2006-09-17 06:08:53 +1000
commit3c9c1fbd2184289482710dac4845233f362b917b (patch)
tree0b036f4c90a99e5abf268e1e74894e0cdf020f7d /deattack.h
parent223897a01af2f496577cbf8f7fa5c5209109ef8e (diff)
- djm@cvs.openbsd.org 2006/09/16 19:53:37
[deattack.c deattack.h packet.c] limit maximum work performed by the CRC compensation attack detector, problem reported by Tavis Ormandy, Google Security Team; ok markus@ deraadt@
Diffstat (limited to 'deattack.h')
-rw-r--r--deattack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deattack.h b/deattack.h
index 62759810..0316fb28 100644
--- a/deattack.h
+++ b/deattack.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: deattack.h,v 1.9 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: deattack.h,v 1.10 2006/09/16 19:53:37 djm Exp $ */
/*
* Cryptographic attack detector for ssh - Header file
@@ -25,6 +25,7 @@
/* Return codes */
#define DEATTACK_OK 0
#define DEATTACK_DETECTED 1
+#define DEATTACK_DOS_DETECTED 2
int detect_attack(u_char *, u_int32_t);
#endif