Mercurial > dropbear
comparison auth.h @ 970:0bb16232e7c4
Make keepalive handling more robust, this should now match what OpenSSH does
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 19 Aug 2014 23:08:56 +0800 |
parents | 8fe36617bf4e |
children | 73ea0dce9a57 deed0571cacc |
comparison
equal
deleted
inserted
replaced
969:939944f0fca9 | 970:0bb16232e7c4 |
---|---|
104 is updated each run through, used for auth checking */ | 104 is updated each run through, used for auth checking */ |
105 unsigned char authtypes; /* Flags indicating which auth types are still | 105 unsigned char authtypes; /* Flags indicating which auth types are still |
106 valid */ | 106 valid */ |
107 unsigned int failcount; /* Number of (failed) authentication attempts.*/ | 107 unsigned int failcount; /* Number of (failed) authentication attempts.*/ |
108 unsigned authdone : 1; /* 0 if we haven't authed, 1 if we have. Applies for | 108 unsigned authdone : 1; /* 0 if we haven't authed, 1 if we have. Applies for |
109 client and server (though has differing [obvious] | 109 client and server (though has differing |
110 meanings). */ | 110 meanings). */ |
111 unsigned perm_warn : 1; /* Server only, set if bad permissions on | 111 unsigned perm_warn : 1; /* Server only, set if bad permissions on |
112 ~/.ssh/authorized_keys have already been | 112 ~/.ssh/authorized_keys have already been |
113 logged. */ | 113 logged. */ |
114 | 114 |