OpenSSH_4.3p1 configure patch
Tim Rice
tim at multitalents.net
Wed Feb 8 12:18:42 EST 2006
On Wed, 8 Feb 2006, Darren Tucker wrote:
> On Tue, Feb 07, 2006 at 04:34:47PM -0800, Tim Rice wrote:
> > > Do you have a /dev/log in the privsep chroot? I suspect that Cygwin
> > > uses some other method for passing its log messages which is why you're
> > > seeing a difference.
> >
> > That's it. I'll see if I can reconfigure syslogd.
>
> sshd -De will show it it w/out changing your syslog.
The getluid/setluid bits don't work with that but it's just fine for
testing.
I don't like the monitor.c patch. The loggong will dissapear without
jumping through chroot logging hoops.
How about this instead?
Skip the monitor.c patch and use this.
....
--- auth2.c.old 2005-09-29 16:59:21.603708001 -0700
+++ auth2.c 2006-02-07 17:09:36.211231000 -0800
@@ -243,7 +243,9 @@
#endif /* _UNICOS */
/* Log before sending the reply */
+#ifndef DISABLE_FD_PASSING
auth_log(authctxt, authenticated, method, " ssh2");
+#endif
if (authctxt->postponed)
return;
....
It should make cygwin happy too.
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list