From owner-freebsd-questions Wed May 8 18:15: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 7DDDC37B40A for ; Wed, 8 May 2002 18:14:55 -0700 (PDT) Received: from sdn-ar-003dcwashp298.dialsprint.net ([206.133.15.164] helo=moo.holy.cow) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 175cWE-0005R1-00; Wed, 08 May 2002 18:14:54 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 54A5650C33; Wed, 8 May 2002 21:16:20 -0400 (EDT) Date: Wed, 8 May 2002 21:16:20 -0400 From: parv To: Ivailo Tanusheff Cc: freebsd-questions@freebsd.org Subject: Re: ipf - "log" problem when port is specified (after mar. 16 2002 source) Message-ID: <20020509011620.GA56242@moo.holy.cow> Mail-Followup-To: Ivailo Tanusheff , freebsd-questions@freebsd.org References: <20020507204844.GA43365@moo.holy.cow> <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg>, wrote Ivailo Tanusheff thusly... > > parv wrote: > > > > after upgrading to freebsd -stable (may 2 2002) & ipf source > > dating apr. 27 2002, w/ following ipf rule... > > > > log body in on tun0 from any to any port < 1025 group 200 > > > > ...i get error message.. > > > > 111: cannot use port and neither tcp or udp > Maybe you must try specifying the protocol for this rule. As you > need port range for the rule, try tcp, udp or tcp/udp. thanks, that did solve the problem w/ the following syntax... log body in on tun0 proto tcp/udp from any to any port < 1025 group 200 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message