Displaying 2 results from an estimated 2 matches for "commentlen".
Did you mean:
commented
2004 Mar 24
2
Request for comment, logging patch
Greetings.
Attached is a patch that provides more logging information
for example:
Mar 19 08:34:54 secosr5 sshd[7667]: Accepted publickey of? vix at wormhole for root from 192.168.1.1 port 1256 ssh2
Mar 19 08:34:54 secosr5 sshd[7667]: executing command 'who' for? vix at wormhole as user root
Mar 19 10:37:16 secosr5 sshd[7725]: Accepted publickey of? vix at wormhole for root from
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...t passwd *pw, BIGNUM *client_n)
+auth_rsa(struct passwd *pw, BIGNUM *client_n, char *realname, int
realnamesize)
{
char line[8192], *file;
int authenticated;
@@ -134,6 +137,8 @@
struct stat st;
Key *key;
char *fp;
+ char *comment;
+ int commentlen;
/* no user given */
if (pw == NULL)
@@ -219,6 +224,11 @@
continue;
}
/* cp now points to the comment part. */
+ /* NaTIS */
+ comment = cp;
+ commentlen = strlen(comment);
+...