The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-06-2004
kduffin's Avatar
kduffin kduffin is offline
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
I believe that Solaris will only let you adjust the range, not specify on a per port basis. You can see the smallest (default 1024) using:

ndd -get /dev/tcp tcp_smallest_nonpriv_port

You can change it using:

ndd -set /dev/tcp tcp_smallest_nonpriv_port some#

I found a nice treatise on the subject at:

http://www.ncftpd.com/ncftpd/doc/misc/ephemeral_ports.html#Solaris

Cheers,

Keith