- djm@cvs.openbsd.org 2004/06/25 01:16:09

[sshd.c]
     only perform tcp wrappers checks when the incoming connection is on a
     socket.  silences useless warnings from regress tests that use
     proxycommand="sshd -i".  prompted by david@ ok markus@
This commit is contained in:
Darren Tucker 2004-06-25 13:34:31 +10:00
parent 645ab757bd
commit 586b0b98bf
2 changed files with 8 additions and 3 deletions

View File

@ -3,6 +3,11 @@
- djm@cvs.openbsd.org 2004/06/24 19:30:54
[servconf.c servconf.h sshd.c]
re-exec sshd on accept(); initial work, final debugging and ok markus@
- djm@cvs.openbsd.org 2004/06/25 01:16:09
[sshd.c]
only perform tcp wrappers checks when the incoming connection is on a
socket. silences useless warnings from regress tests that use
proxycommand="sshd -i". prompted by david@ ok markus@
20040623
- (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1
@ -1405,4 +1410,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3444 2004/06/25 03:33:20 dtucker Exp $
$Id: ChangeLog,v 1.3445 2004/06/25 03:34:31 dtucker Exp $

4
sshd.c
View File

@ -42,7 +42,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: sshd.c,v 1.294 2004/06/24 19:30:54 djm Exp $");
RCSID("$OpenBSD: sshd.c,v 1.295 2004/06/25 01:16:09 djm Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@ -1620,7 +1620,7 @@ main(int ac, char **av)
#ifdef LIBWRAP
/* Check whether logins are denied from this host. */
{
if (packet_connection_is_on_socket()) {
struct request_info req;
request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0);