From owner-freebsd-questions Thu Jan 11 3:28:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail3.rdc1.on.home.com (femail3.rdc1.on.home.com [24.2.9.90]) by hub.freebsd.org (Postfix) with ESMTP id EE76937B699 for ; Thu, 11 Jan 2001 03:28:13 -0800 (PST) Received: from magus ([24.114.209.187]) by femail3.rdc1.on.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010111112753.CGTK22375.femail3.rdc1.on.home.com@magus> for ; Thu, 11 Jan 2001 03:27:53 -0800 Message-ID: <002701c07bc1$a5c21b00$0300a8c0@magus> From: "William Wong" To: Subject: IPFILTER rules Date: Thu, 11 Jan 2001 06:28:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I have a quick question regarding a rule I'm using. I want to use: pass in quick on dc0 proto tcp from any to any port 49151 >< 65536 to pass in anything from 49152 to 65535 (inclusive), however IPFILTER complains that 65536 is an invalid port. My understanding from the >< syntax is that it's anything inbetween those two numbers. In the meantime I've been using: pass in quick on dc0 proto tcp from any to any port 49151 >< 65535 pass in quick on dc0 proto tcp from any to any port = 65535 as a workaround. I was wondering if there's a cleaner way of writing that rule, or if I have the understanding of the >< operator correct. Thanks, - Will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message