LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-26-2003, 05:34 PM   #1
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Ports 1020-1024 purpose?


Got a question about ports 1020-1024 what are they used for? Most lists that show what the ports are used for show them as reserved or unknown.
Example of a port list
or This one.
Got a question from someone where they are getting this error when trying to rsh to a different machine:
rshd[212310319]: connect second port 1022: Connection refused

Thanks

Last edited by Blinker_Fluid; 11-26-2003 at 05:42 PM.
 
Old 11-26-2003, 07:23 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well 1-1023 are reserved on UNIX-like OSs for privilaged processes. 1024+ can be used by users. Also, since client connections (i.e. outbound connections or transactions) require a port, they use port numbers above 1023 (most non-UNIX-like OSs still do this even though there isn't a restriction).

rsh should be using 513 (login) and 514 (shell).

By the way, why would you use rsh? It's a very insecure login method. Use ssh instead of rsh or telnet whenever possible.
 
Old 12-01-2003, 10:18 AM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Original Poster
Rep: Reputation: 63
Quote:
Originally posted by chort
Well 1-1023 are reserved on UNIX-like OSs for privilaged processes. 1024+ can be used by users. Also, since client connections (i.e. outbound connections or transactions) require a port, they use port numbers above 1023 (most non-UNIX-like OSs still do this even though there isn't a restriction).

rsh should be using 513 (login) and 514 (shell).

By the way, why would you use rsh? It's a very insecure login method. Use ssh instead of rsh or telnet whenever possible.
It is used on a linux cluster between the host and compute nodes on the cluster's internal network.

I understood that 513 and 514 are used for rsh but does rsh open a second port to 102x? Or is the message from somewhere else?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using privileged ports below 1024 not possible AS ROOT??? flipper333 Slackware 2 01-23-2004 08:35 PM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 07:05 PM
Ports below 1024 peo66 Linux - Networking 4 06-14-2003 06:04 AM
Smoothwall Ports Above 1024 inraindreams Linux - Networking 0 03-21-2003 03:49 PM
Smoothwall Ports Above 1024 inraindreams Linux - Hardware 0 03-21-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration