From owner-cvs-src@FreeBSD.ORG Sun Jun 22 10:33:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4925837B401; Sun, 22 Jun 2003 10:33:20 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A6D43F75; Sun, 22 Jun 2003 10:33:19 -0700 (PDT) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5MHXJ0U094383; Sun, 22 Jun 2003 10:33:19 -0700 (PDT) (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5MHXJHG094382; Sun, 22 Jun 2003 10:33:19 -0700 (PDT) Message-Id: <200306221733.h5MHXJHG094382@repoman.freebsd.org> From: Luigi Rizzo Date: Sun, 22 Jun 2003 10:33:19 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 17:33:20 -0000 luigi 2003/06/22 10:33:19 PDT FreeBSD src repository Modified files: sys/netinet ip_fw2.c sbin/ipfw ipfw.8 ipfw2.c Log: Add support for multiple values and ranges for the "iplen", "ipttl", "ipid" options. This feature has been requested by several users. On passing, fix some minor bugs in the parser. This change is fully backward compatible so if you have an old /sbin/ipfw and a new kernel you are not in trouble (but you need to update /sbin/ipfw if you want to use the new features). Document the changes in the manpage. Now you can write things like ipfw add skipto 1000 iplen 0-500 which some people were asking to give preferential treatment to short packets. The 'MFC after' is just set as a reminder, because I still need to merge the Alpha/Sparc64 fixes for ipfw2 (which unfortunately change the size of certain kernel structures; not that it matters a lot since ipfw2 is entirely optional and not the default...) PR: bin/48015 MFC after: 1 week Revision Changes Path 1.123 +32 -18 src/sbin/ipfw/ipfw.8 1.26 +59 -11 src/sbin/ipfw/ipfw2.c 1.31 +29 -12 src/sys/netinet/ip_fw2.c