Port 23 is the standard port for telnet.  If you reconfigure the "telnetd" 
service (ie, /etc/xinetd.d/telnet on RH7.x, or inetd.conf in earlier 
versions) to run on port 24, instead of port 23, then even if you try to 
telnet to localhost, you will not get in.

If you reconfigure it so that telnetd answers on port 24, then to get in 
via telnet, you'll have to "telnet host.whatever.com 24" to get in via 
telnet.

On Thu, 16 May 2002, Ted Gervais wrote:

> 
> 
> This brings up a question.
> 
> When a person telnets to 'localhost'  on their machine shouldn't they get 
> port 23 by default?
> And if you removed 'telnet'  from the /etc/services file from port 23 and 
> put it on 24 would that become the NEW default?
> I changed /etc/services file so that port 23 is now looking at 
> /usr/sbin/node.  Something different that 'telnet'  And of course I amended 
> the files in
> /etc/xinetd.d so that telnet is still there but related to port 24 now. And 
> 'node' is there , saying that anyone who telnets to this system from afar 
> or from localhost, should get port 23 unless they specify port 24.
> 
> Well - it doesn't work that way.  Not exactly.  A person from afar telnets 
> by default to 23. That works, and they get the node.
> But if on the same machine, a person telnets to JUST localhost - they get 
> *telnet*, and not *node*. Of course if they use ' telnet localhost 23' they 
> get the node.
> Without the port identification they get port 24.
> 
> I hope this is not too confusing, but I am just wondering about the default 
> port for telnetting.  Isn't port 23 regardless if you are coming in from 
> afar or from your own machine??
> 
> 
> At 09:41 AM 5/16/2002 -0400, you wrote:
> >It does.
> >
> >Take a look at /etc/xinetd.d...there are a number of files there for
> >specific services.
> >
> >If the one you want is there, you can edit its file, and change
> >"disable = yes" to "disable = no" and then "service xinetd reload".
> >
> >On Mon, 13 May 2002, Devon Harding - GTHLA wrote:
> >
> > > How can I start an inetd service in RedHat 7.2?  It was under my impression
> > > that RH 7.2 uses xinetd.
> > >
> > > _____________________
> > > Devon Harding
> > > System Administrator
> > > Gilat Latin America
> > > 954-858-1600
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> >
> >_______________________________________________
> >Redhat-list mailing list
> >[EMAIL PROTECTED]
> >https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> ---
> Ted Gervais,
> Coldbrook, Nova Scotia, Canada
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to