linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Telnet-ing
       [not found] <200304301849.h3UInwGp012667@cdm01.deedsmiscentral.net>
@ 2003-04-30 19:23 ` Scott Taylor
  2003-04-30 19:32 ` Telnet-ing Mikel Bauer
  2003-04-30 21:05 ` Telnet-ing goodman
  2 siblings, 0 replies; 5+ messages in thread
From: Scott Taylor @ 2003-04-30 19:23 UTC (permalink / raw)
  To: deedsmis, linux-admin

At 11:49 AM 04/30/03, you wrote:
>Prior to Mandrake 8.0 I was able to telnet to my server, now
>that isn't possible.  I tried everything I know to make it work.
>I know of ssh, but it isn't my primary concern.  What is blocking
>my telnets?

xinetd



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Telnet-ing
       [not found] <200304301849.h3UInwGp012667@cdm01.deedsmiscentral.net>
  2003-04-30 19:23 ` Telnet-ing Scott Taylor
@ 2003-04-30 19:32 ` Mikel Bauer
       [not found]   ` <Pine.LNX.4.50.0304301709340.14946-100000@cdm01.deedsmiscentral.net>
  2003-04-30 21:05 ` Telnet-ing goodman
  2 siblings, 1 reply; 5+ messages in thread
From: Mikel Bauer @ 2003-04-30 19:32 UTC (permalink / raw)
  To: deedsmis, linux-admin

Do you have the telnet server installed?  Is it running?  If memory 
serves, the telnet server on mandrake 8 is run via xinetd, make sure 
it's not disabled...

Do you have a fire wall installed?  Or is there one anywhere between you 
and the firewall?  If so, make sure it's allowing port 23 traffic to the 
server.


SoloCDM wrote:
> Prior to Mandrake 8.0 I was able to telnet to my server, now
> that isn't possible.  I tried everything I know to make it work.
> I know of ssh, but it isn't my primary concern.  What is blocking
> my telnets?
> 

-- 
Mikel Bauer
mikel@bridgeband.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Telnet-ing
       [not found] <200304301849.h3UInwGp012667@cdm01.deedsmiscentral.net>
  2003-04-30 19:23 ` Telnet-ing Scott Taylor
  2003-04-30 19:32 ` Telnet-ing Mikel Bauer
@ 2003-04-30 21:05 ` goodman
  2 siblings, 0 replies; 5+ messages in thread
From: goodman @ 2003-04-30 21:05 UTC (permalink / raw)
  To: deedsmis, linux-admin


man securetty





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Telnet-ing
       [not found]   ` <Pine.LNX.4.50.0304301709340.14946-100000@cdm01.deedsmiscentral.net>
@ 2003-04-30 23:32     ` Nathan
  2003-05-01  0:19     ` Telnet-ing Glynn Clements
  1 sibling, 0 replies; 5+ messages in thread
From: Nathan @ 2003-04-30 23:32 UTC (permalink / raw)
  To: SoloCDM, Linux-Administration (Majordomo)


Hi,

> These are the RPMs:
>
> telnet-0.17-7.1mdk
> telnet-server-0.17-7.1mdk
>
> This is telnet in /etc/xinetd.d:
>
> service telnet
> {
>   disable                         = no
>   flags                           = REUSE
>   socket_type                     = stream
>   wait                            = no
>   user                            = root
>   protocal                        = tcp
>   server                          = /usr/sbin/tcpd
>   server_args                     = /usr/sbin/in.telnetd
>   log_on_failure                 += USERID
> }

Is xinetd running? If you upgraded you might have both inetd and xinetd
installed, maybe inetd is running and telnet is not configured there?

Regards,
Nathan

> No firewall is running, files such as /etc/hosts.deny,
> /etc/hosts.allow, /etc/hosts.equiv, /etc/host.conf are configured
> correctly.
>
> The following is the output when telnet fails:
>
> Trying XXX.XXX.XXX.X...
> telnet: Unable to connect to remote host: Connection refused
>
> Using "chkconfig --list" shows: telnet: on.
>
>

-- 
  4:01pm  up  1:53,  1 user,  load average: 0.00, 0.00, 0.00
Linux willy.nateworks.ca 2.4.18 #3 Fri May 17 14:22:19 PDT 2002 i586 unknown


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Telnet-ing
       [not found]   ` <Pine.LNX.4.50.0304301709340.14946-100000@cdm01.deedsmiscentral.net>
  2003-04-30 23:32     ` Telnet-ing Nathan
@ 2003-05-01  0:19     ` Glynn Clements
  1 sibling, 0 replies; 5+ messages in thread
From: Glynn Clements @ 2003-05-01  0:19 UTC (permalink / raw)
  To: SoloCDM; +Cc: linux-admin


SoloCDM wrote:

> This is telnet in /etc/xinetd.d:
> 
> service telnet
> {
>   disable                         = no
>   flags                           = REUSE
>   socket_type                     = stream
>   wait                            = no
>   user                            = root
>   protocal                        = tcp
    ^^^^^^^^

"protocal" is a typo; maybe this causes xinetd to ignore the service?

> Trying XXX.XXX.XXX.X...
> telnet: Unable to connect to remote host: Connection refused

Check the output from "netstat -at" and "ps ax" on the server.

1. Does xinetd appear in the output from "ps"?
2. Does netstat show anything listening on the telnet port (23)?

If the answer to 1 is "no", xinetd isn't running.

If the answer to 1 is "yes" and the answer to "2" is "no", the problem
is the xinetd configuration.

If the answers to both are "yes", the problem lies elsewhere; maybe
packet filtering (iptables), maybe something else. Although the
"Connection refused" error suggests that the problem has to be at a
low level. I.e. not hosts.{allow,deny}; those aren't checked until the
connection has been accepted.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-01  0:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200304301849.h3UInwGp012667@cdm01.deedsmiscentral.net>
2003-04-30 19:23 ` Telnet-ing Scott Taylor
2003-04-30 19:32 ` Telnet-ing Mikel Bauer
     [not found]   ` <Pine.LNX.4.50.0304301709340.14946-100000@cdm01.deedsmiscentral.net>
2003-04-30 23:32     ` Telnet-ing Nathan
2003-05-01  0:19     ` Telnet-ing Glynn Clements
2003-04-30 21:05 ` Telnet-ing goodman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).