- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: any port in a storm
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
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО07-01-2004 08:23 AM
тАО07-01-2004 08:23 AM
If a process does NOT have root-level authority, which available port numbers can it use?
I was under the impression that any available port greater than 1024 could be used by a non-root process.
Is this correct? Perhaps this maximum is a configuration option, rather than a platform rule-of-thumb?
Or there's another value that's a maximum?
Is it different on AIX, Solaris, and HP UNIX variants?
Thanks,
Randy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 08:35 AM
тАО07-01-2004 08:35 AM
SolutionYou can get those values using the following commands.
ndd -get /dev/tcp parameter
tcp_largest_anon_port
udp_largest_anon_port
tcp_smallest_anon_port
tcp_smallest_nonpriv_port
udp_smallest_anon_port
udp_smallest_nonpriv_port
The names are self-explanatory. The last four parameters are not supported by HP for modifications.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 08:35 AM
тАО07-01-2004 08:35 AM
Re: any port in a storm
Ideally you stay out of that territory and stay in the range 49152-65535.
http://www.iana.org/assignments/port-numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 08:38 AM
тАО07-01-2004 08:38 AM
Re: any port in a storm
of wisdom and coming out a winner again.
Thanks all for the input, points assigned.
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 03:58 PM
тАО07-01-2004 03:58 PM
Re: any port in a storm
We cannot access 1-1023 ports for the non-privillages purpose using the hdd command. It is having unsupported tunable parameters as like tcp_smallest_nonpriv_port.
You can get the untunnable parameters with hdd -h unsupported -set /dev/tcp command.
We can assign the privillage porst to the service with bindresvport() call.
There is a discussion happened on this. It is at http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=620899
Regards,
Muthukumar.