On what versions of FreeBSD can we unreserve ports?



On which versions of FreeBSD is it now possible to
un-reserve ports?

( I've been waiting for this since forever ... have
spent countless days - $$$ - trying to install
workarounds, only to junk them later. I've even
been paid a consulting gig to develop this, and
declined to deploy it on my own servers :-/ )

iang



http://askslim.blogspot.com/2006/05/freebsd-61-disabling-reserverd-ports.html

Friday, May 26, 2006
FreeBSD 6.1: Disabling Reserverd Ports

A common misfeature found on UN*X operating systems is the
restriction that only root can bind to ports < 1024. Many a
dollar has been wasted on workarounds and -often- the
resulting security holes.

Fortunately on FreeBSD 6.1 (and probably older versions as
well) you can disable this remnant of trust-by-convention.


host$ sysctl net.inet.ip.portrange.reservedhigh=0

That simple. Add it to your /etc/sysctl.conf today!

posted by Slim @ 4:18 PM
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • FreeBSD Status Report Second Quarter 2006
    ... April-June 2006 Status Report ... With the release of FreeBSD 5.5 and FreeBSD 6.1, ... consider the "Open Tasks lists" provided with some reports. ... Improving Ports Collection ...
    (freebsd-current)
  • FreeBSD Status Report Second Quarter 2006
    ... April-June 2006 Status Report ... With the release of FreeBSD 5.5 and FreeBSD 6.1, ... consider the "Open Tasks lists" provided with some reports. ... Improving Ports Collection ...
    (freebsd-hackers)
  • FreeBSD Quarterly Status Report, First Quarter of 2007
    ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
    (freebsd-current)
  • FreeBSD Quarterly Status Report, First Quarter of 2007
    ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
    (freebsd-hackers)
  • FreeBSD Quarterly Status Report, First Quarter of 2007
    ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
    (freebsd-stable)