[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@
- 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
*/
#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>
#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);