On Oct 21, 2007, at 2:08 PM, Cameron Knowlton wrote:
when trying:
add deny log tcp from 75.119.0.0 - 75.119.95.255 to any dst-port
25 in
or
add deny log tcp from 75.119.0.0-75.119.95.255 to any dst-port 25 in
Does not seem to work.
Correct, because neither one of those follows the example of using
a range you yourself already provided. Re-read the example of a
range you provided above. See how you specified a range for
83.0.0.0 to 82.255.255.255? That used a CIDR block. Additionally
you can use a netmask. See the docs.
Note, that since the above range you're trying to deny isn't
expressible using a single netmask. That leads me to question if
indeed that's really the range you wanted since you're not
describing a network anyway. If indeed it is the range you wanted,
break it down into two (or more) CIDR blocks according to the
networks you're trying to represent.
Good call, Dan.
Steve at al, here's a handy little CIDR calculator, I've used this
a lot for configuring Postfix blocks:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden