On Fri, May 21, 1999 at 09:19:31AM +0800, Phil Maley wrote:
> For a long time I had our bbs set up so that incoming telnet 
> connections would bring up a NODE response instead of the 
> standard TELNET login. I had set this up by making the entries 
> in /etc/services as follows:
> 
> telnet        24/tcp
> node          23/tcp
> 
> It worked fine until I upgraded the machine to RedHat 5.2. After that,
> telnet originating from the machine would try to access port 24 on the 
> distant machine. It seems the telnet software on our box now checks 
> /etc/services to see what port it should be using instead of assuming 
> that it should be 23.

I think that is the correct behaviour; outbound connections should use
/etc/services too.

I think you can get the behaviour you want by modifying inetd.conf instead.
In /etc/services, make something like

realtelnet      24/tcp

Change the telnet entry in that file to call node, and add a realtelnet
entry to call in.telnetd as before.


Hamish
-- 
Hamish Moffatt       Mobile: +61 412 011 176       [EMAIL PROTECTED]

Rising Software Australia Pty. Ltd. 
Developers of music education software including Auralia & Musition.
31 Elmhurst Road, Blackburn, Victoria Australia, 3130
Phone: +61 3 9894 4788  Fax: +61 3 9894 3362  USA Toll Free: 1-888-667-7839
Internet: http://www.rising.com.au/

Reply via email to