From owner-cvs-all@FreeBSD.ORG Thu Jun 15 09:39:23 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30CB216A505; Thu, 15 Jun 2006 09:39:23 +0000 (UTC) (envelope-from oleg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFE0543D53; Thu, 15 Jun 2006 09:39:22 +0000 (GMT) (envelope-from oleg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5F9dMnf019959; Thu, 15 Jun 2006 09:39:22 GMT (envelope-from oleg@repoman.freebsd.org) Received: (from oleg@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5F9dMrB019958; Thu, 15 Jun 2006 09:39:22 GMT (envelope-from oleg) Message-Id: <200606150939.k5F9dMrB019958@repoman.freebsd.org> From: Oleg Bulyzhin Date: Thu, 15 Jun 2006 09:39:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 09:39:23 -0000 oleg 2006-06-15 09:39:22 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c sbin/ipfw ipfw.8 ipfw2.c Log: Add support of 'tablearg' feature for: - 'tag' & 'untag' action parameters. - 'tagged' & 'limit' rule options. Rule examples: pipe 1 tag tablearg ip from table(1) to any allow ip from any to table(2) tagged tablearg allow tcp from table(3) to any 25 setup limit src-addr tablearg sbin/ipfw/ipfw2.c: 1) new macros GET_UINT_ARG - support of 'tablearg' keyword, argument range checking. PRINT_UINT_ARG - support of 'tablearg' keyword. 2) strtoport(): do not silently truncate/accept invalid port list expressions like: '1,2-abc' or '1,2-3-4' or '1,2-3x4'. style(9) cleanup. Approved by: glebius (mentor) MFC after: 1 month Revision Changes Path 1.189 +7 -3 src/sbin/ipfw/ipfw.8 1.91 +121 -77 src/sbin/ipfw/ipfw2.c 1.135 +30 -15 src/sys/netinet/ip_fw2.c