- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to determine if mountd is running on reserved ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 04:23 AM
01-08-2002 04:23 AM
How to determine if mountd is running on reserved ports?
/etc/rc.config.d # rpcinfo -p |grep mountd
100005 1 udp 49213 mountd
100005 3 udp 49213 mountd
100005 1 tcp 49163 mountd
100005 3 tcp 49163 mountd
Are these ports reserved? I am NOT using the "-p" option when starting mountd.
I was told that these ports are unreserved and cound pose a security risk. I've read on another post that these ports are privileged ports and root can only access these ports...can someone please confirm for me?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 04:54 AM
01-08-2002 04:54 AM
Re: How to determine if mountd is running on reserved ports?
If you read man rpcinfo:
-p Run from unreserved ports.The option restores old default behavior on HP-UX. .....
So if you start mountd without the -p option you run on reserved ports.
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 04:54 AM
01-08-2002 04:54 AM
Re: How to determine if mountd is running on reserved ports?
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
and it will tell you what application has what sockets open, plus its one kick-butt tool for other things as well!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 05:13 AM
01-08-2002 05:13 AM
Re: How to determine if mountd is running on reserved ports?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 05:22 AM
01-08-2002 05:22 AM
Re: How to determine if mountd is running on reserved ports?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 05:35 AM
01-08-2002 05:35 AM
Re: How to determine if mountd is running on reserved ports?
If mountd is NOT being started with the "-p" option, then how come mountd uses ports in the 49213 range? Shouldn't mountd use reserved ports under 1023 since the "-p" is not being used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 05:39 AM
01-08-2002 05:39 AM
Re: How to determine if mountd is running on reserved ports?
RFC 1700 defines "well-known" or "assigned" ports as those in the range 0-1023. Ports in the range 1024-65535 are known as "registered" ports. That is, their usage is not controlled, but their intended use is officially documented.
Prior to HP-UX 10.30, port numbers were chosen from the range 1024 to 5000 whenever a program let the system allocate ???anonoymously??? (bind to port number zero). Starting with HP-UX 10.30, the "anonymous" range moved to 49152-65535, by default.
In 11.x releases, the maximum automatically assigned port number can be changed with the ???tcp_largest_anon_port??? and ???udp_largest_anon_port??? using ???ndd???
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 06:05 AM
01-08-2002 06:05 AM