From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH] nf-nat: don't use per destination incrementing ports in nat random mode Date: Fri, 20 Dec 2013 00:21:15 +0100 Message-ID: <52B37F6B.9010105@redhat.com> References: <20131219134007.GA24118@order.stressinduktion.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, kaber@trash.net To: Hannes Frederic Sowa Return-path: In-Reply-To: <20131219134007.GA24118@order.stressinduktion.org> Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org On 12/19/2013 02:40 PM, Hannes Frederic Sowa wrote: > Don't use per destination incrementing port allocation > in NF_NAT_RANGE_PROTO_RANDOM mode as advised in > . > > This is especially important for UDP/DNS. > > Cc: Patrick McHardy > Cc: Daniel Borkmann > Signed-off-by: Hannes Frederic Sowa I would have liked a more elaborate commit message ;) but anyway, lgtm, now that we also have periodic reseeding in prandom: Reviewed-by: Daniel Borkmann The referenced paper in section 5 is also available here: http://arxiv.org/pdf/1205.5190v1.pdf