From owner-freebsd-questions Tue Oct 5 9: 4:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 2B6A5156ED for ; Tue, 5 Oct 1999 09:03:07 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id TAA63578; Tue, 5 Oct 1999 19:01:27 +0300 (EEST) (envelope-from ru) Date: Tue, 5 Oct 1999 19:01:27 +0300 From: Ruslan Ermilov To: Jenkins.Mike@epamail.epa.gov Cc: questions@FreeBSD.ORG Subject: Re: ipfw and ports > 1023? Message-ID: <19991005190127.D8085@relay.ucb.crimea.ua> Mail-Followup-To: Jenkins.Mike@epamail.epa.gov, questions@FreeBSD.ORG References: <85256801.0051E276.00@EPAHUB2.RTP.EPA.GOV> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <85256801.0051E276.00@EPAHUB2.RTP.EPA.GOV>; from Jenkins.Mike@epamail.epa.gov on Tue, Oct 05, 1999 at 09:59:33AM -0500 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 05, 1999 at 09:59:33AM -0500, Jenkins.Mike@epamail.epa.gov wrote: > > > How do you say "ports > 1023" in ipfw? > I see the port-port syntax but that is for a limited range of ports. > ipfw(8) manpage, in particular, says: : With the TCP and UDP protocols, optional ports may be specified as: : : {port|port-port}[,port[,...]] : : Service names (from /etc/services) may be used instead of numeric port : values. A range may only be specified as the first value, and the length ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : of the port list is limited to IP_FW_MAX_PORTS (as defined in : /usr/src/sys/netinet/ip_fw.h) ports. A `\' can be used to escape the `-' : character in a service name: So, we say "1024-". Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message