From owner-freebsd-bugs Thu Feb 6 11:30:25 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F78137B405 for ; Thu, 6 Feb 2003 11:30:23 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8996D43FCB for ; Thu, 6 Feb 2003 11:30:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h16JULNS069013 for ; Thu, 6 Feb 2003 11:30:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h16JULQp069012; Thu, 6 Feb 2003 11:30:21 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F46837B401 for ; Thu, 6 Feb 2003 11:30:04 -0800 (PST) Received: from unia.3lo.lublin.pl (unia.3lo.lublin.pl [212.182.70.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DC2143FCB for ; Thu, 6 Feb 2003 11:30:03 -0800 (PST) (envelope-from pawmal@unia.3lo.lublin.pl) Received: (qmail 54812 invoked by uid 1007); 6 Feb 2003 19:30:40 -0000 Message-Id: <20030206193040.54811.qmail@unia.3lo.lublin.pl> Date: 6 Feb 2003 19:30:40 -0000 From: Pawel Malachowski Reply-To: Pawel Malachowski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/48015: make ipfw2 work with iplen ranges Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48015 >Category: bin >Synopsis: make ipfw2 work with iplen ranges >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 06 11:30:21 PST 2003 >Closed-Date: >Last-Modified: >Originator: Paweł Małachowski >Release: FreeBSD 4.7-STABLE i386 >Organization: ASK ZiN >Environment: System: System: FreeBSD gargantua.zin.ask 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Feb 3 23:33:35 CET 2003 root@gargantua.zin.ask:/mnt/j1/obj/usr/src/sys/PM-UX-AUTO-47S i386 >Description: I would like to match packets by their size (for example to assign small and big packets to different dummynet pipes), using len ranges rather than or-blocks { iplen 1000 or iplen 1001 or ... }, like this: ipfw add pipe 10 ip from any to any iplen 1000-1500 Probably the same idea would be helpful with other options, like ipttl: ipfw add pipe 20 ip from any to any { ipttl 32-38 or ipttl 64-70 } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message