Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-26-2003, 05:34 PM
|
#1
|
Member
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683
Rep:
|
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.
|
|
|
11-26-2003, 07:23 PM
|
#2
|
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:
|
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.
|
|
|
12-01-2003, 10:18 AM
|
#3
|
Member
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|