ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Change telnet default port (7260)

To:
Subject: Re: [ts-7000] Re: Change telnet default port (7260)
From: Jim Jackson <>
Date: Wed, 28 Apr 2010 22:51:20 +0100 (BST)


On Wed, 28 Apr 2010, captconan5 wrote:

> I upgraded my router firmware to one that utilized "port mapping" and not 
> simply port forwarding. That got around the hostile ISP. The question 
> still stands though, what config file sets the default listening port for 
> telnet?

AFAIK there isn't one. I'm assuming it's the busybox telnetd that running.
Executing it with the -h flag got this...

# telnetd -h
telnetd: invalid option -- h
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) multi-call binary

Usage: telnetd [OPTION]

Telnetd listens for incoming TELNET connections on PORT.
Options:
         -p PORT listen for connections on PORT (default 23)
         -l LOGIN        exec LOGIN on connect (default /bin/sh)
         -f issue_file   Display issue_file instead of /etc/issue

So arranging for it to be invoked with the relevant -p option seems to do 
the job. I believe telnetd is invoked by inetd and its invocation is
in the /etc/inetd.conf file.

You can invoke dropbear (light weight sshd) from inetd.conf and also 
specify the listening port, it happens to be the same option (dropbear -h 
for all the options). And truly it is better to use ssh.



>
> --- In  "j.chitte" <> wrote:
>>
>>
>>
>> --- In  "captconan5" <maxellur@> wrote:
>>>
>>> Hi I was wondering if anyone knows how to change the default port that 
>>> telnet listens for under TS-linux? I know it's 23, and this port is blocked 
>>> by my ISP. I need to connect to my 7260 at home from a remote location 
>>> (school). I will need to use port forwarding to get at the 7260, as it is 
>>> behind a local network, but need to change the default listening port. I 
>>> know it's not secure but I only need it to work for a few days. Any 
>>> thoughts?
>>>
>>
>>
>> "Any thoughts?" Why would you want to be madly , insanely risky over a 
>> hostile network "only for a few days" !!!?
>>
>> If your ISP blocks it , it's probably to stop people being silly.
>>
>> Is there a reason you can't use ssh (dropbear on the TS boards) ?
>>
>
>
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU