Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 22:57:56 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Mike Silbersack <silby@freebsd.org>, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netinet in_pcb.c
Message-ID:  <6.0.3.0.0.20040423224055.0898cfe0@64.7.153.2>
In-Reply-To: <200404232331.i3NNVsXV094917@repoman.freebsd.org>
References:  <200404232331.i3NNVsXV094917@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi, thanks for this commit.  I notice,

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: 49152
net.inet.ip.portrange.hilast: 65535
net.inet.ip.portrange.randomized: 1


How are the ranges allocated to applications ?  A quick test of 30 
sequential outbound connections to another box on port 25 shows all 
allocations in the 1024 to 5000 range.  Is this the way it is supposed to 
be ?  Also, is there any caveats about moving that range from say 4000 to 
20000 ?

         ---Mike


At 07:31 PM 23/04/2004, Mike Silbersack wrote:
>silby       2004/04/23 16:31:54 PDT
>
>   FreeBSD src repository
>
>   Modified files:        (Branch: RELENG_4)
>     sys/netinet          in_pcb.c
>   Log:
>   MFC rev 1.143 - 1.146:
>
>   Randomize ephermal source ports.
>
>   Revision   Changes    Path
>   1.59.2.28  +11 -0     src/sys/netinet/in_pcb.c
>_______________________________________________
>cvs-all@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/cvs-all
>To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"



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