From: "Alexei Sorokin" <Alexei.Sorokin@rcm.nnov.ru>
Subject: Re: screend. Range of ports??
Date: 1999/11/12 [thread overview]
Message-ID: <80gnqu$a55$1@nsl.nts.nnov.ru> (raw)
In-Reply-To: 80acn1$8b2@usenet.pa.dec.com
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"
<Alexei.Sorokin@rcm.nnov.ru> writes:
>|> hi everybody
>|> can i enable/disable range of ports by one line??
>|>
>|> e.x.
>|>
>|> between host <ip address>[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 <ip_address> tcp port reserved
> and any tcp port reserved reject;
> between host <ip_address> and any accept;
>
>because "reserved" means ports 0-1023.
>
>You *might* be able to use this:
>
> between host <ip_address> 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
prev parent reply other threads:[~1999-11-12 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-28 4:00 screend. Range of ports?? Alexei Sorokin
1999-11-10 5:00 ` Jeffrey Mogul
1999-11-12 5:00 ` Alexei Sorokin [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox