Default ephemeral port range

Eugene Grosbein eugen at grosbein.net
Wed Nov 14 05:32:27 UTC 2012


14.11.2012 04:48, Dustin Wenz пишет:
> Thanks for the information;
> 
> It would seem that when I invoke the connect() system call, it picks a client port in the portrange.first-last range and not necessarily in portrange.hifirst-hilast. Is this expected behavior, or a bug in connect()?

Please read ip(4) manual page on IP_PORTRANGE. You can choose one of three ranges
for your socket (default range, low and high).

Eugene Grosbein



More information about the freebsd-net mailing list