From owner-freebsd-questions Wed Oct 9 22:44:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87C8D37B401 for ; Wed, 9 Oct 2002 22:44:26 -0700 (PDT) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id BC6B843E75 for ; Wed, 9 Oct 2002 22:44:22 -0700 (PDT) (envelope-from budsz@kumprang.or.id) Received: (qmail 96605 invoked by uid 1008); 10 Oct 2002 05:46:02 -0000 Date: Thu, 10 Oct 2002 12:46:01 +0700 From: budsz To: Michael Cc: FreeBSD-Questions Subject: Re: Question port in ipfw Message-ID: <20021010054601.GA96555@kumprang.or.id> References: <20021010043537.GA94881@kumprang.or.id> <200210092143.37604.michael.lawver@pointoflightproducts.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <200210092143.37604.michael.lawver@pointoflightproducts.com> User-Agent: Mutt/1.4i X-Pubkey: "http://www.kumprang.or.id/~budsz/Pubkey.txt" X-Pubkey-MD5: "http://www.kumprang.or.id/~budsz/Pubkey-checksum.md5" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-System-Operation: FreeBSD 4.6-STABLE i386 X-Organization: "Internet Cafe and Game PC Kumprang" X-Virus-Scanned: by AMaViS perl-11 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 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 09, 2002 at 09:43:37PM -0700, Michael wrote: >This is a good question and maybe someone can answer the question with reg= ards=20 >to using a variable to do it. > >I do know however that it does support a range because I've used it within= my=20 >rules like this: 1030-1050 but not seperating multiple ranges with comma's. > >The one time I did try to use multiple ranges I couldn't get it to work=20 >either. I just assumed that it was just my lack of knowing how to format = it=20 >and not that it couldn't be done. In man ipfw explain like: [-cut-] With the TCP and UDP protocols, optional ports may be specified as: {port|port-port|port:mask}[,port[,...]] The `-' notation specifies a range of ports (including bound- aries). [-cut-] Well, If I following this manual of couse with multiple ranges port is no problem. can somebody explain about this? --=20 budsz --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE9pRQZ9kxLTmJpUwQRAvrZAJ49rcmYKssFRnsa3ts+49/ovw5HegCgq72Q vaUWJ/HsdZRLxo3IExApAMo= =TtQP -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message