Search squid archive

Re: url_regex matchint any IP

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

 



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





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

  Powered by Linux