Thread: Security Rules?
View Single Post
  #5 (permalink)  
Old January 30th, 2005
GregorK GregorK is offline
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Oh by the way if you like to block from x.y.z.00 to x.y.z.255
you can also use the address type 2 for a netmask...
like 255.255.255.0 in this case

address type would be 2
ip would be x.y.z.0
compareIp would be 255.255.255.0

resulting in a block of x.y.z.0 - x.y.z.255


The address type 2 is the most performant when evaluated and should therefore be preferred if possible. Most IP ranges can be specified with the use of a net mask.
Just search in google for a decent netmask calculation tool.
__________________
Reply With Quote