From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,524e261c82f7825a X-Google-Attributes: gidfee84,public From: mogul@actitis.pa.dec.com (Jeffrey Mogul) Subject: Re: screend. Range of ports?? Date: 1999/11/10 Message-ID: <80acn1$8b2@usenet.pa.dec.com>#1/1 X-Deja-AN: 546692115 References: <7v9s78$o32$1@nsl.nts.nnov.ru> Organization: DEC Western Research Newsgroups: comp.unix.osf.osf1 In article <7v9s78$o32$1@nsl.nts.nnov.ru>, "Alexei Sorokin" writes: |> hi everybody |> can i enable/disable range of ports by one line?? |> |> e.x. |> |> between host [tcp ports from 1024 to 65535] and any [tcp ports |> from 1024 to 65535] accept; |> |> ??? |> actually, need to enable ICQ Screend (at least, the original version that I wrote) does not have a syntax to express arbitrary ranges of tcp ports. However, the specific example that you cite could be expressed as: between host tcp port reserved and any tcp port reserved reject; between host and any accept; because "reserved" means ports 0-1023. You *might* be able to use this: between host tcp port-not reserved and any tcp port-not reserved accept; but I can't remember if the code actually knows how to deal with "port-not reserved" in the way that you would hope. -Jeff