Ephemeral ports

Would anyone here know how to change the ephemeral port range for
outbound connections under Neutrino 6.0.x? I don’t think I can use
the new IPV6 setsockopt calls to do this, and I am not even sure you
can do it with this old of a version of Neutrino.

Thanks in advance to anyone who can help.

-Guy Oliver
Battelle Memorial Institute

In later versions you use the ‘sysctl’ utility.
net.inet.ip.anonportmin
net.inet.ip.anonportmax

I don’t recall off hand if this was present in
6.0 though…

-seanb

Guy L. Oliver <goliver@insight.rr.com> wrote:

Would anyone here know how to change the ephemeral port range for
outbound connections under Neutrino 6.0.x? I don’t think I can use
the new IPV6 setsockopt calls to do this, and I am not even sure you
can do it with this old of a version of Neutrino.

Thanks in advance to anyone who can help.

-Guy Oliver
Battelle Memorial Institute

In article <brqfts$ats$1@nntp.qnx.com>, seanb@node25.ott.qnx.com says…

In later versions you use the ‘sysctl’ utility.
net.inet.ip.anonportmin
net.inet.ip.anonportmax

I don’t recall off hand if this was present in
6.0 though…

It is not present in 6.1, so there is a big chance it was not present in 6.0 either :slight_smile:
http://www.qnx.com/developer/docs/qnx_6.1_docs/neutrino/utilities/utils-s.html
Eduard

-seanb

Guy L. Oliver <> goliver@insight.rr.com> > wrote:
Would anyone here know how to change the ephemeral port range for
outbound connections under Neutrino 6.0.x? I don’t think I can use
the new IPV6 setsockopt calls to do this, and I am not even sure you
can do it with this old of a version of Neutrino.

Thanks in advance to anyone who can help.

-Guy Oliver
Battelle Memorial Institute