]> andersk Git - openssh.git/blobdiff - deattack.h
- djm@cvs.openbsd.org 2010/01/27 19:21:39
[openssh.git] / deattack.h
index c04b56b57cd1d339aabe716195c81798222f68a5..0316fb28543b17347f6f25a76725f48aa7f7fb7e 100644 (file)
@@ -1,4 +1,6 @@
-/* $Id$
+/* $OpenBSD: deattack.h,v 1.10 2006/09/16 19:53:37 djm Exp $ */
+
+/*
  * Cryptographic attack detector for ssh - Header file
  *
  * Copyright (c) 1998 CORE SDI S.A., Buenos Aires, Argentina.
@@ -14,7 +16,8 @@
  * SOFTWARE.
  *
  * Ariel Futoransky <futo@core-sdi.com>
- * <http://www.core-sdi.com> */
+ * <http://www.core-sdi.com>
+ */
 
 #ifndef _DEATTACK_H
 #define _DEATTACK_H
@@ -22,6 +25,7 @@
 /* Return codes */
 #define DEATTACK_OK            0
 #define DEATTACK_DETECTED      1
+#define DEATTACK_DOS_DETECTED  2
 
-int detect_attack(unsigned char *buf, u_int32_t len, unsigned char IV[8]);
+int     detect_attack(u_char *, u_int32_t);
 #endif
This page took 0.024424 seconds and 4 git commands to generate.