Search squid archive

RE: [squid-users] Blocking all IP sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> -----Original Message-----
>> From: Winn Rama [mailto:winnorama@xxxxxxxxx]
>> Sent: Tuesday, May 10, 2005 2:06 PM
>> To: squid-users@xxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, May 10, 2005 12:52 AM
> To: 'Winn Rama'; squid-users@xxxxxxxxxxxxxxx
> 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux