Skip site navigation (1)Skip section navigation (2)
Date:      12 May 1997 15:13:05 GMT
From:      peter@spinner.DIALix.COM (Peter Wemm)
To:        freebsd-current@freebsd.org
Subject:   Re: portrange.lowlast < portrange.lowfirst ???
Message-ID:  <863449985.494908@haywire.DIALix.COM>
References:  <199705101207.OAA12967@xp11.frmug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199705101207.OAA12967@xp11.frmug.org>,
	charnier@xp11.frmug.org (Philippe Charnier) writes:
> Hi,
> 
> When doing `sysctl -a' I noticed this:
> net.inet.ip.portrange.lowfirst: 1023
> net.inet.ip.portrange.lowlast: 600
> net.inet.ip.portrange.first: 1024
> net.inet.ip.portrange.last: 5000
> net.inet.ip.portrange.hifirst: 40000
> net.inet.ip.portrange.hilast: 44999
> 
> Is it right order for lowfirst and lowlast? 
> (Values are declared in /usr/src/sys/netinet/in_pcb.c)

Yep.  This means it counts down, starting at 1023 and finishing (ie: wrapping
around) at 600.

-Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863449985.494908>