RE: [squid-users] Blocking all IP sites

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 10 May 2005 09:32:45 -0800

>> -----Original Message-----
>> From: Winn Rama [mailto:winnorama@gmail.com]
>> Sent: Tuesday, May 10, 2005 2:06 PM
>> To: squid-users@squid-cache.org
>> Subject: [squid-users] Blocking all IP sites
>>
>>
>> Can you guide me how to block all dest IP based sites (no domain
>> name), while name based requests are still allowed?
>> They make my box overloaded and too much flood.
>>
>> Thank you.
>> Winn
>
>
> -----Original Message-----
> From: Mukunthan D [mailto:mukunthd@future.futsoft.com]
> Sent: Tuesday, May 10, 2005 12:52 AM
> To: 'Winn Rama'; squid-users@squid-cache.org
> Subject: RE: [squid-users] Blocking all IP sites
>
>
> Hi Winn
>
> url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
>
>
> regards
> Mukunthd
>
>

I don't know if it would be less processor intensive, but

url_regex http://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}

would be more accurate. :o)

Chris
Received on Tue May 10 2005 - 11:33:03 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT