Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

IPPORT_RESERVED

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


des at des

Aug 12, 2008, 12:40 PM

Post #1 of 1 (407 views)
Permalink
IPPORT_RESERVED

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
Attachments: ssh-ipport-reserved.diff (1.06 KB)

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.