unix port allocation

Posted on 2006-04-12
Last Modified: 2013-11-17

How to configure to reserve port above 1024.
so dynamicly allocated port will not use my own restricted port.
Question by:dragon022200a
    LVL 61

    Accepted Solution

    You have to use /usr/sbin/no utility
    "man no", no -a and no -L  for more information
    Most likely following has to be added to /etc/rc.tcpip for permanent effect:

    if [ -x /usr/sbin/no ]; then
      /usr/sbin/no -o tcp_ephemeral_low=1111
      /usr/sbin/no -o tcp_ephemeral_high=11111

    adjust values to your environment. bad that AIX does not have instrumentation to reserve ports > 1024 for root or allow < 1024 for users.
    LVL 17

    Expert Comment

    vi /etc/services

    BR Dushan
    LVL 61

    Expert Comment

    No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
    I will leave the following recommendation for this question in the Cleanup topic area:

    accept gheist http:#16443505

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    EE Cleanup Volunteer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now