Telnet connection closes immediately upon connecting

Geofrey Rainey Geofrey.Rainey at
Mon Oct 15 21:15:48 UTC 2007

Just to clarify, this was on port 80 - a web proxy, and it wasn't
immediately closing the connection. The output from the proxy led me to
believe that the packets were reaching the web server when they weren't,
so it was rather confusing when I wasn't seeing any TCP connection on
the server (xinetd is not relevant in this case).

-----Original Message-----
From: redhat-list-bounces at
[mailto:redhat-list-bounces at] On Behalf Of Kristoffer Knigga
Sent: Tuesday, 16 October 2007 10:08 a.m.
To: General Red Hat Linux discussion list
Subject: RE: Telnet connection closes immediately upon connecting

From: Geofrey Rainey
Sent: Monday, October 15, 2007 3:58 PM
I've seen this exact result too from a transparent proxy sitting in the
way - though The output looked as though the TCP packets were reaching
the server, it was the Transparent proxy doing it.

Why would it pass connections at first, and then stop?  And why would
restarting xinetd fix it?

From: Gaddis, Jeremy L.
Sent: Monday, October 15, 2007 3:53 PM
I'd look a bit more closely at my TCP wrappers configuration,
Kristoffer.  This is exactly the result you'll see if TCP wrappers is
preventing the connection.

Both hosts.allow and hosts.deny are blank.  I will try explicitly
allowing our network and see if that works.

From: Allen, Jack
Sent: Monday, October 15, 2007 3:49 PM
Add "instances = unlimited"  or what ever number you want to limit the
number of telnet connections to in the /etc/xinetd.d/telnet file. I
forget what the default limit is.

I'll give this a shot, too.

Thank you all for the suggestions.


redhat-list mailing list
unsubscribe mailto:redhat-list-request at
For more information on the Television New Zealand Group, visit us
online at 
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.

More information about the redhat-list mailing list