Date: Tue, 1 Aug 2000 23:42:14 +1000 (EST) From: andrew@ugh.net.au To: plamendp@bgstore.com Cc: freebsd-questions@freebsd.org Subject: Re: telnet connection refused from IP outside subnet Message-ID: <Pine.BSF.4.21.0008012304590.51535-100000@starbug.ugh.net.au> In-Reply-To: <200008011200.PAA00794@plamen.bgstore.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Aug 2000 plamendp@bgstore.com wrote: > When I telnet from IP 193.68.22.2 (i.e. localhost), for example, I see > the [inetd] log messages in the log file. However, if I telnet from > some other IP, 212.50.31.21 for example, there are NO logging activity > in the log file. NONE! Zero! Well that IP (212.50.31.21) doesn't resolve so that may well be the problem. A quick way to verify it is to run inetd without the -wW flags...that way it wont check for such things. What does /etc/hosts.allow contain? If the first line is: ALL : ALL : allow which seems to be the default then you wont be rejecting non resolving addresses anyway. > Could it be some firewall issue ? On some other machine among the > ISP's LAN (the server is plugged-in in an ISP LAN) ? It shouldn't be another machine plugged in and if its actually a refused connection it wont be a firewall. I'm guessing its your non resolving IP but then it should still log. I just tried to telnet to your machine and my connection (according to tcpdump) timed out yet telnet claimed the connection was refused. From this I would guess that your machine really is firewalled for telnet. ssh goes through OK. This would explain why nothing is appearing in your logs...the telnet connection never makes it to your machine. Ask your hosting provider if they firewall telnet. I would also guess telnet is producing a bogus error message. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008012304590.51535-100000>