IPPORT_RESERVED
Dag-Erling Smørgrav
des at des.no
Wed Aug 13 05:40:53 EST 2008
FreeBSD doesn't have a fixed range of reserved ports, although it still
has IPPORT_RESERVED for compatibility; instead, the last reserved port
number is indicated by the net.inet.ip.portrange.reservedhigh sysctl,
which defaults to IPPORT_RESERVED - 1.
The attached patch modifies add_local_forward() to use this sysctl
instead of IPPORT_RESERVED on FreeBSD.
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh-ipport-reserved.diff
Type: text/x-patch
Size: 1090 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20080812/c6c905ed/attachment.bin
More information about the openssh-unix-dev
mailing list