From owner-freebsd-stable Tue Feb 17 04:21:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA13800 for freebsd-stable-outgoing; Tue, 17 Feb 1998 04:21:51 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from five-bells.plsys.co.uk (root@five-bells.plsys.co.uk [195.224.29.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA13695 for ; Tue, 17 Feb 1998 04:20:44 -0800 (PST) (envelope-from Matthew_Seaman@plsys.co.uk) Received: from ivyhouse.plsys.co.uk (matthew@ivyhouse.plsys.co.uk [195.224.29.12]) by five-bells.plsys.co.uk (8.8.8/8.8.8) with ESMTP id MAA12369; Tue, 17 Feb 1998 12:20:04 GMT Received: (from matthew@localhost) by ivyhouse.plsys.co.uk (8.8.8/8.8.8) id MAA10909; Tue, 17 Feb 1998 12:20:03 GMT Message-Id: <199802171220.MAA10909@ivyhouse.plsys.co.uk> MIME-Version: 1.0 (NeXT Mail 4.2mach v148) Content-Type: text/enriched; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <01bd3b98$2bd837a0$d86190cf@harry> X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.1) Received: by NeXT.Mailer (1.148) From: Matthew Seaman Date: Tue, 17 Feb 98 12:19:58 GMT To: stable@FreeBSD.ORG Subject: Re: FTP and Telnet pblms with Ethernet cc: "Harry Patterson" References: <01bd3b98$2bd837a0$d86190cf@harry> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk "Harry Patterson" wrote: > I have a nagging problem getting Telnet and FTP to connect in reasonable > time frame (ws-ftp won't at all). I am using Windows95 with a 10MB Ethernet > connection to a FreeBSD 2.2.5 box. Apache works fine (fast) so it doesn't > seem to be a DNS thing (simple DNS with only one box, one domain, nslookup > and ping are fast from the win95 box). It appears to be taking inetd a long > time to issue the login and causes timeouts. (just remembered mail does the > same thing, all login dependant). Sounds like a problem to do with inetd. Are you by any chance using tcp_wrappers on the FreeBSD box? It could be to do with ident (RFC 931) timeouts --- the tcp_wrappers source mentions this as a problem with certain OS's. From the Makefile: # The default username lookup timeout is 10 seconds. This may not be long # enough for slow hosts or networks, but is enough to irritate PC users. RFC931_TIMEOUT = 10 You can work around this, and still use tcp_wrappers if (a) you compile tcp_wrappers *without* the -DALWAYS_RFC931 definition and (b) you set up your hosts.allow and hosts.define files not to use anything that will trigger an ident lookup for those hosts --- ie. don't use the `rfc931' flag or the `%u' special. > I've seen this question posted in a couple of places (I've been virtually > everywhere) and the only response was possibly DNS. If it was DNS, why > would http work fine? DNS timeouts can also be a problem with wrapped services: the wrappers will attempt to do a gethostbynumber() and then a gethostbyname() on the result of that to detect spoofing. httpd's are usually configured not to lookup the hosts that connect to them for maximum performance. For apache, that's the HostnameLookups off directive in httpd.conf. Cheers, MAtthew -- Certe, Toto, sentio nos in Kansate nin iam adesse. Matthew Seaman P&L Systems, 12 The Broadway, Amersham, Bucks., HP7 0HP, UK Tel: +44 1494 432422 Fax: +44 1494 432478 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message