From owner-freebsd-questions Wed Oct 6 6:23:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.rtpnc.epa.gov (merlin.rtpnc.epa.gov [134.67.208.148]) by hub.freebsd.org (Postfix) with ESMTP id C5FC5156ED for ; Wed, 6 Oct 1999 06:23:39 -0700 (PDT) (envelope-from Jenkins.Mike@epamail.epa.gov) Received: from myrtle.rtpnc.epa.gov by epamail.epa.gov (PMDF V5.1-12 #26439) with ESMTP id <0FJ600ELEMPBQ3@epamail.epa.gov> for questions@freebsd.org; Wed, 6 Oct 1999 08:58:57 -0400 (EDT) Received: from EPAHUB2.RTP.EPA.GOV by epamail.epa.gov (PMDF V5.1-12 #26438) with SMTP id <0FJ600BS0MOSZC@epamail.epa.gov> for questions@freebsd.org; Wed, 06 Oct 1999 08:58:05 -0400 (EDT) Received: by EPAHUB2.RTP.EPA.GOV(Lotus SMTP MTA v4.6.3 hotfix 1 (767.1 12-15-1998)) id 85256802.0046C6D5 ; Wed, 06 Oct 1999 08:53:04 -0400 Date: Wed, 06 Oct 1999 07:58:07 -0500 From: Jenkins.Mike@epamail.epa.gov Subject: Re: ipfw and ports > 1023? To: dnelson@emsphone.com Cc: questions@freebsd.org Message-id: <85256802.0046C3A7.00@EPAHUB2.RTP.EPA.GOV> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline X-Lotus-FromDomain: EPA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >The ports are stored internally as an array of 10 numbers; if the >IP_FW_F_SRNG flag is set for the rule, the first two ports in the array >are interpreted as a range. > >So you can have a range and it can be as wide as you like, but it must >be specified first in the port list, and you can only have one range >per rule. Ahh. Much clearer now. I can have "1024-65535,3,4,5,6,7,8,9,10" which is 2 numbers of a range and 8 individual numbers. Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message