From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] MASQUERADE: fix --to-ports parser Date: Thu, 20 May 2010 16:01:13 +0200 Message-ID: <4BF540A9.6020303@trash.net> References: <20100219033019.GB25665@wo.int.altlinux.org> <4BED339D.60007@trash.net> <20100517200955.GB17408@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org To: "Dmitry V. Levin" Return-path: Received: from stinky.trash.net ([213.144.137.162]:53164 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754802Ab0ETOBN (ORCPT ); Thu, 20 May 2010 10:01:13 -0400 In-Reply-To: <20100517200955.GB17408@wo.int.altlinux.org> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Dmitry V. Levin wrote: > Rewrite port range validator to use xtables_strtoui() and > xtables_param_act(). Original check failed to recognize > such port range errors as "1a-2" and "1-2a". > Also, original parser erroneously denied using port 0, > which is now allowed. Applied, thanks.