Mark Weaver wrote:
> 
> Hi LIst,
> 
> I was wondering if anyone has either done this or knows if it's legal to be
> done. I want to list an entire net block in the hosts.deny file on my machine.
> 
> EX:
> 
>         ALL:224.0.0.0 - 239.255.255.255
> 
> Would the above be a valid entry in the hosts.deny file?

Not that I know of; but 
   ALL:224. 225. 226. <etc>
would handle it.

However, you want the old Class D which can easily be covered with:
   ALL:224.0.0.0/240.0.0.0

This _looks_ like your range; but it's really a mask that blocks every IP that
starts with 224-239 (1110xxxx...)

BTW, are you absolutely sure you want to block this range..?  Routing protocols
and other multicast services reside in this range.

HTH,
Pierre

> thanks,
> 
> Mark

Reply via email to