Configuring services for unusual ports

This is a discussion on Configuring services for unusual ports within the Linux Security forums, part of the System Security and Security Related category; How would I go about configuring my xinetd's kr5-telnet server on my red hat Linux 8.0 box ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2004
Conner Destron
 
Posts: n/a
Default Configuring services for unusual ports

How would I go about configuring my xinetd's kr5-telnet server on my red hat
Linux 8.0 box to respond to a port other than the standard port 23? (As you
can see from my signature file below, I've already got port 23 on my network
being answered by a different machine.)

I'm getting ready to take a trip and will need to be able to remotely access
my machine while gone, but my laptop doesn't have a SSH client on it. My
firewall already blocks or forwards all the ports that I might use except
for an odd one that I have open for another service that will not be running
during this time. Any help on this will be greatly appreciated. (I did check
the man pages and info pages without luck, though I don't mind reading them
if someone can point me to one that will answer this.) You may also be able
to tell by now that I'm fairly new at Linux, if you need more info to be
able to answer this, please let me know.

I apologize for the cross-posting, but I'm hoping that by including a single
newsgroup for follow-up this post may get seen by enough people to get an
answer for me reasonably quickly while not spamming a bunch of newsgroups,
if I've done this wrong, I'll take the flames that I know some folks are
just dying to dish out without complaint.
-=Conner=-

--
Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family
fun in a medieval setting, or come test your mettle in the Land of Legends,
our MUD, at telnet://tcdbbs.zapto.org:4000
For general info, visit http://www.tcdbbs.zapto.org


Reply With Quote
  #2 (permalink)  
Old 12-12-2004
Jon
 
Posts: n/a
Default Re: Configuring services for unusual ports

On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote:

> How would I go about configuring my xinetd's kr5-telnet server on my red hat
> Linux 8.0 box to respond to a port other than the standard port 23? (As you
> can see from my signature file below, I've already got port 23 on my network
> being answered by a different machine.)
>
> I'm getting ready to take a trip and will need to be able to remotely access
> my machine while gone, but my laptop doesn't have a SSH client on it. My
> firewall already blocks or forwards all the ports that I might use except
> for an odd one that I have open for another service that will not be running
> during this time. Any help on this will be greatly appreciated. (I did check
> the man pages and info pages without luck, though I don't mind reading them
> if someone can point me to one that will answer this.) You may also be able
> to tell by now that I'm fairly new at Linux, if you need more info to be
> able to answer this, please let me know.
>
> I apologize for the cross-posting, but I'm hoping that by including a single
> newsgroup for follow-up this post may get seen by enough people to get an
> answer for me reasonably quickly while not spamming a bunch of newsgroups,
> if I've done this wrong, I'll take the flames that I know some folks are
> just dying to dish out without complaint.
> -=Conner=-


I can't offer any suggestions about configuring xinetd but as for an ssh
client how about putty? There are both Windows and Linux versions around,

--
Jon
Reply With Quote
  #3 (permalink)  
Old 12-12-2004
Conner Destron
 
Posts: n/a
Default Re: Configuring services for unusual ports

"Jon" wrote:
> On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote:
>
>> How would I go about configuring my xinetd's kr5-telnet server on my red
>> hat
>> Linux 8.0 box to respond to a port other than the standard port 23? (As
>> you
>> can see from my signature file below, I've already got port 23 on my
>> network
>> being answered by a different machine.)

>
> I can't offer any suggestions about configuring xinetd but as for an ssh
> client how about putty? There are both Windows and Linux versions around,


I could try putty, that would give me the ability to use ssh instead of
telnet, but I still really need to be able to set up the service in
question, be it telnet or ssh, to listen to a non-standard port as ports 22
and 23 are not available to me for this "project". :(
-=Conner=-

--
Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family
fun in a medieval setting, or come test your mettle in the Land of Legends,
our MUD, at telnet://tcdbbs.zapto.org:4000
For general info, visit http://www.tcdbbs.zapto.org


Reply With Quote
  #4 (permalink)  
Old 12-12-2004
Jon
 
Posts: n/a
Default Re: Configuring services for unusual ports

On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote:

> "Jon" wrote:
>> On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote:
>>
>>> How would I go about configuring my xinetd's kr5-telnet server on my red
>>> hat
>>> Linux 8.0 box to respond to a port other than the standard port 23? (As
>>> you
>>> can see from my signature file below, I've already got port 23 on my
>>> network
>>> being answered by a different machine.)

>>
>> I can't offer any suggestions about configuring xinetd but as for an ssh
>> client how about putty? There are both Windows and Linux versions around,

>
> I could try putty, that would give me the ability to use ssh instead of
> telnet, but I still really need to be able to set up the service in
> question, be it telnet or ssh, to listen to a non-standard port as ports 22
> and 23 are not available to me for this "project". :(
> -=Conner=-


SSH allows you to do this :)

In the config there is a line specifying the port to listen on. This
defaults to "Port 22", you just need to change it to your non-standard
port.

I'm not sure where the config is located in RedHat but in Debian it is:
/etc/ssh/sshd_config.

HTH

--
Jon

Reply With Quote
  #5 (permalink)  
Old 12-12-2004
Conner Destron
 
Posts: n/a
Default Re: Configuring services for unusual ports

"Jon" wrote:
> On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote:
>> I could try putty, that would give me the ability to use ssh instead of
>> telnet, but I still really need to be able to set up the service in
>> question, be it telnet or ssh, to listen to a non-standard port as ports
>> 22
>> and 23 are not available to me for this "project". :(

>
> SSH allows you to do this :)
> In the config there is a line specifying the port to listen on. This
> defaults to "Port 22", you just need to change it to your non-standard
> port.
>
> I'm not sure where the config is located in RedHat but in Debian it is:
> /etc/ssh/sshd_config.


I'll check there and see if it's the same, hang on... it is! Ok, I changed
that and restarted sshd, it seems to work, now I have to find putty and
install it so I can see if it actually works, eh?
-=Conner=-

--
Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family
fun in a medieval setting, or come test your mettle in the Land of Legends,
our MUD, at telnet://tcdbbs.zapto.org:4000
For general info, visit http://www.tcdbbs.zapto.org


Reply With Quote
  #6 (permalink)  
Old 12-12-2004
Conner Destron
 
Posts: n/a
Default Re: Configuring services for unusual ports

"Conner Destron" wrote:
> "Jon" wrote:
>> On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote:
>>> I could try putty, that would give me the ability to use ssh instead of
>>> telnet, but I still really need to be able to set up the service in
>>> question, be it telnet or ssh, to listen to a non-standard port as ports
>>> 22 and 23 are not available to me for this "project". :(

>>
>> SSH allows you to do this :)
>> In the config there is a line specifying the port to listen on. This
>> defaults to "Port 22", you just need to change it to your non-standard
>> port.
>>
>> I'm not sure where the config is located in RedHat but in Debian it is:
>> /etc/ssh/sshd_config.

>
> I'll check there and see if it's the same, hang on... it is! Ok, I changed
> that and restarted sshd, it seems to work, now I have to find putty and
> install it so I can see if it actually works, eh?


That did it, thanks Jon!! :)
-=Conner=-

--
Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family
fun in a medieval setting, or come test your mettle in the Land of Legends,
our MUD, at telnet://tcdbbs.zapto.org:4000
For general info, visit http://www.tcdbbs.zapto.org


Reply With Quote
  #7 (permalink)  
Old 12-12-2004
Jon
 
Posts: n/a
Default Re: Configuring services for unusual ports

On Sun, 12 Dec 2004 17:09:33 -0500, Conner Destron wrote:

> That did it, thanks Jon!! :)
> -=Conner=-


No Problem :)

--
Jon

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0