this works for me:

block in quick proto tcp/udp from any to any port 134 >< 140

the '=' after port is what's causing the error

jacob martinson wrote:

is it possible to specify a port range in ipfilter?  i'm running
3.4.32 on a solaris 8 machine, and none of the syntax i've seen
documented seems to work.

i've tried:

pass in quick on iface0 proto tcp from 1.2.3.4/32 to any port = 1000 - 1010
pass in quick on iface0 proto tcp from 1.2.3.4/32 to any port = 1000 <> 1010
pass in quick on iface0 proto tcp from 1.2.3.4/32 to any port = 1000 >< 1010

and they all give syntax errors when i try loading the config.

thanks!!!

-jacob


--
Erik Huizing
Regional Services
(403)-781-4906

Reply via email to