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: "Alexei Sorokin" Subject: Re: screend. Range of ports?? Date: 1999/11/12 Message-ID: <80gnqu$a55$1@nsl.nts.nnov.ru>#1/1 X-Deja-AN: 547689794 References: <7v9s78$o32$1@nsl.nts.nnov.ru> <80acn1$8b2@usenet.pa.dec.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: usenet@news.nts.nnov.ru X-Trace: nsl.nts.nnov.ru 942400158 10405 195.151.72.106 (12 Nov 1999 09:49:18 GMT) Organization: NTS NNTP-Posting-Date: 12 Nov 1999 09:49:18 GMT Newsgroups: comp.unix.osf.osf1 thanx, i've got it Jeffrey Mogul wrote in message <80acn1$8b2@usenet.pa.dec.com>... >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