From owner-p4-projects@FreeBSD.ORG Sat Aug 9 17:15:05 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 286461065677; Sat, 9 Aug 2008 17:15:05 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFC11106566B for ; Sat, 9 Aug 2008 17:15:04 +0000 (UTC) (envelope-from gk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CB85D8FC23 for ; Sat, 9 Aug 2008 17:15:04 +0000 (UTC) (envelope-from gk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m79HF49I022433 for ; Sat, 9 Aug 2008 17:15:04 GMT (envelope-from gk@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m79HF4eC022431 for perforce@freebsd.org; Sat, 9 Aug 2008 17:15:04 GMT (envelope-from gk@FreeBSD.org) Date: Sat, 9 Aug 2008 17:15:04 GMT Message-Id: <200808091715.m79HF4eC022431@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gk@FreeBSD.org using -f From: Gleb Kurtsou To: Perforce Change Reviews Cc: Subject: PERFORCE change 146996 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 17:15:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=146996 Change 146996 by gk@gk_h1 on 2008/08/09 17:14:46 document state-options (mostly copy-pasted from pf.conf(5)) Affected files ... .. //depot/projects/soc2008/gk_l2filter/sbin-ipfw/ipfw.8#6 edit Differences ... ==== //depot/projects/soc2008/gk_l2filter/sbin-ipfw/ipfw.8#6 (text+ko) ==== @@ -1465,6 +1465,21 @@ Matches TCP packets that have the SYN bit set but no ACK bit. This is the short form of .Dq Li tcpflags\ syn,!ack . +.It Cm state-options Ar spec +Specifies options for dynamic rule creation by +.Cm keep-state +or +.Cm limit . +.Ar spec +is comma separated list of options. +The supported options are: +.Bl -tag -width xxxxxxxx -compact +.It Cm ether +Enable layer 2 stateful filtering for a rule. +Source and destination ethernet addresses (MAC addresses) are used to +create a state entry (dynamic rule) and to check if packet matches any +state entry. +.El .It Cm src-arp Ar src-arp Matches Address Resolution Protocol (ARP) packets whose .Em Sender protocol address (SPA)