From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reindl Harald Subject: Re: Possibly dangerous interpretation of address/prefix pair in -s option Date: Thu, 9 Jun 2022 20:38:06 +0200 Message-ID: <3530fa1d-0ce3-37a8-884d-921907b780e2@thelounge.net> References: <010201812a0fb624-e64464be-4c31-4d01-afb6-1cbfab70e333-000000@eu-west-1.amazonses.com> <60e26dbd-93a8-1c2a-5204-66bbdffb1291@thelounge.net> <20220608112135.GC11923@breakpoint.cc> <85215dc8-2d1b-7b64-02a9-f0ed1f397bc1@gmch.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Language: en-US In-Reply-To: <85215dc8-2d1b-7b64-02a9-f0ed1f397bc1@gmch.uk> List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Chris Hall , netfilter@vger.kernel.org Cc: Florian Westphal Am 09.06.22 um 19:52 schrieb Chris Hall: > I am hoping that it is agreed that it is a mistake for the parser to > silently accept unspecified input it is *not* unspecified input with /24 you *clearly* say "only use the first 3 octets of the address" when you use a netmask you are supposed to know what it does and if not just don't specify it - the address alone would have had the assumed result it's dead simple and there is nothing to agree