From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id E2A94251DC for ; Sat, 27 Jul 2024 01:20:08 +0200 (CEST) Received: from mail.posixcafe.org ([45.76.19.58]) by 9front; Fri Jul 26 19:15:21 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posixcafe.org; s=20200506; t=1722035668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0fU5tzeXDoZAs87NuWsBnTfxbbB8PluqcSkNuug2Ioo=; b=q8GOOyIoBF3iiwuIMpVRSWNiGeWMQaRUMlcwJVWHjC1FXFo0Z5K9im3mffe8is99MUdtVB djEPYEPPYHF/ws/Z1iFp2peQX4DW+xeTH2LhRgcr9+bFR2bkZeOnW2rdL6rqixKU6Rho++ MdMOEN+sg8GYMax8ZKKwGn8h06PtOMQ= Received: from [192.168.168.200] ( [207.45.82.38]) by mail.posixcafe.org (OpenSMTPD) with ESMTPSA id 5e444b6b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Fri, 26 Jul 2024 18:14:27 -0500 (CDT) Message-ID: <2de5d40b-e34b-420d-a86b-50d444e8caa4@posixcafe.org> Date: Fri, 26 Jul 2024 18:15:18 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 9front@9front.org References: <4DC025B80DA69A49FC1C45610BC5D4DC@smtp.pobox.com> Content-Language: en-US From: Jacob Moody In-Reply-To: <4DC025B80DA69A49FC1C45610BC5D4DC@smtp.pobox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stable table session API Subject: Re: [9front] WANTED: ip based filtering of incoming connections Reply-To: 9front@9front.org Precedence: bulk On 7/26/24 00:14, Romano wrote: > On Thu Jul 25 21:48:02 -0700 2024, sl@stanleylieber.com wrote: >> ranges just don't seem to work at all: >> >> ; aux/dial 'ipmux!ver=4;src=47.128.0.0&255.252.0.0' >/dev/null >> >> has no effect. > > I think I'm seeing the same thing. Altho' not documented, I > checked /net/ipmux/stats when filtering 8.8.8.8 with > 255.255.255.255, 255.255.255.0, and 255.255.0.0; all return > the same content: > % cat /net/ipmux/stats > iph[0:0]&f0=40| > > iph[12:15]=08080808| > > > % > > the iph[12:15]=08080808| I think should have changed to > iph[12:15]=08080800| for 255.255.255.0 and > iph[12:15]=08080000| for 255.255.0.0 . For anyone following along at home, this has now been fixed in commit 605bed312a0a24db6cce2f7170353351cbddbd2d.