[In a message on Wed, 20 Apr 2005 17:12:52 +0200,
  Daniel Hartmeier wrote:]
>On Wed, Apr 20, 2005 at 09:56:48PM +0930, alex wilkinson wrote:
>
>> Is it possible to specify a range within a table ? e.g.
>> 
>> table <itunes>  const { 8000 >< 8999 }
>> 
>> I get a syntax error for the aformentioned table, so can anyone
>> suggest a method for what I'm trying to achieve ?
>
>No. Tables contain only addresses (and netblocks of addresses), but
>not ports.
>
>You can use a macro like
>
>  itunes="8000 >< 8999"
>  pass inet proto tcp from any port { $itunes , 80 }

Just a comment that that should probably be "8000:8999".  I got bit by
this before as the >< is not inclusive of the boundry ports. . . ;-)


Sean

Reply via email to