Re: [squid-users] url_regex matchint any IP

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 15 Oct 2013 14:33:18 +1300

On 15/10/2013 6:21 a.m., Alfredo Rezinovsky wrote:
> El 14/10/13 12:07, Alfredo Rezinovsky escribió:
>> I'm trying
>>
>> acl dotted_ip url_regex -i
>> ^http:\/\/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\/
>>
>> to match any ip address hostname.
>>
>> I don't need to be strict, http://999.777.555.333 could match and I
>> dont care.
>> The problem is that my url_regex doesn't match ANY ip address.
>>
>>
> One of the dots int my config regex were a comma... Sorry.

The pattern will not match all IP addresses in modern traffic anyway.
You can find a better pattern here:
http://wiki.squid-cache.org/ConfigExamples/Chat/Skype

Omit the ":443" port piece off the end of course.

Amos
Received on Tue Oct 15 2013 - 01:33:23 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 15 2013 - 12:00:05 MDT