summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authordtucker <dtucker>2004-05-24 00:36:23 +0000
committerdtucker <dtucker>2004-05-24 00:36:23 +0000
commitf9db48468401df522047a2dc875c678b2d5d6957 (patch)
tree4c47d5d32fcfb4a8c67939244cf1e44416e86a08 /servconf.h
parente7cc4f83009e0ed618642fffd142d4483d7cf24b (diff)
downloadopenssh-f9db48468401df522047a2dc875c678b2d5d6957.tar.gz
- dtucker@cvs.openbsd.org 2004/05/23 23:59:53
[auth.c auth.h auth1.c auth2.c servconf.c servconf.h sshd_config sshd_config.5] Add MaxAuthTries sshd config option; ok markus@
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h
index 1c6296ac..36d2e5ca 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.h,v 1.68 2004/04/27 09:46:37 djm Exp $ */
+/* $OpenBSD: servconf.h,v 1.69 2004/05/23 23:59:53 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -33,6 +33,7 @@
#define PERMIT_NO_PASSWD 2
#define PERMIT_YES 3
+#define DEFAULT_AUTH_FAIL_MAX 6 /* Default for MaxAuthTries */
typedef struct {
u_int num_ports;
@@ -114,6 +115,7 @@ typedef struct {
int max_startups_begin;
int max_startups_rate;
int max_startups;
+ int max_authtries;
char *banner; /* SSH-2 banner message */
int use_dns;
int client_alive_interval; /*