Date: Tue, 5 Oct 1999 19:01:27 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Jenkins.Mike@epamail.epa.gov Cc: questions@FreeBSD.ORG Subject: Re: ipfw and ports > 1023? Message-ID: <19991005190127.D8085@relay.ucb.crimea.ua> 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 References: <85256801.0051E276.00@EPAHUB2.RTP.EPA.GOV>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991005190127.D8085>