Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 707
  • Last Modified:

unix port allocation

Hi,

How to configure to reserve port above 1024.
so dynamicly allocated port will not use my own restricted port.
0
dragon022200a
Asked:
dragon022200a
  • 2
1 Solution
 
gheistCommented:
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
fi

adjust values to your environment. bad that AIX does not have instrumentation to reserve ports > 1024 for root or allow < 1024 for users.
0
 
Dushan De SilvaTechnology ArchitectCommented:
vi /etc/services

BR Dushan
0
 
gheistCommented:
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.

gheist
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now