Bugzilla – Attachment 797 Details for
Bug 977
duplicate log entries when using "sshd -D -e"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
reduce log messages from privsep slave to debug only
openssh-privsep-authlog.patch (text/plain), 866 bytes, created by
Darren Tucker
on 2005-02-01 21:40:42 AEDT
(
hide
)
Description:
reduce log messages from privsep slave to debug only
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-02-01 21:40:42 AEDT
Size:
866 bytes
patch
obsolete
>Index: auth.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth.c,v >retrieving revision 1.90 >diff -u -p -r1.90 auth.c >--- auth.c 24 Jan 2005 10:56:48 -0000 1.90 >+++ auth.c 1 Feb 2005 10:36:05 -0000 >@@ -50,10 +50,12 @@ RCSID("$OpenBSD: auth.c,v 1.57 2005/01/2 > #include "misc.h" > #include "bufaux.h" > #include "packet.h" >+#include "monitor_wrap.h" > > /* import */ > extern ServerOptions options; > extern Buffer loginmsg; >+extern int use_privsep; > > /* Debugging messages */ > Buffer auth_debug; >@@ -227,6 +229,9 @@ auth_log(Authctxt *authctxt, int authent > authctxt->failures >= options.max_authtries / 2 || > strcmp(method, "password") == 0) > authlog = logit; >+ >+ if (use_privsep && !mm_is_monitor()) >+ authlog = debug; > > if (authctxt->postponed) > authmsg = "Postponed";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 977
: 797