Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-13 Thread Amos Jeffries
On 13/05/2016 8:22 p.m., Walter H. wrote: > On Fri, May 13, 2016 07:32, Amos Jeffries wrote: >> On 13/05/2016 3:44 p.m., Walter H. wrote: >>> p.s. >>> the sample here >>> http://wiki.squid-cache.org/ConfigExamples/Chat/Skype >>> doesn't work, too >>> >> >> The skype pattern is matching the port

Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-13 Thread Walter H.
On Fri, May 13, 2016 07:32, Amos Jeffries wrote: > On 13/05/2016 3:44 p.m., Walter H. wrote: >> p.s. >> the sample here >> http://wiki.squid-cache.org/ConfigExamples/Chat/Skype >> doesn't work, too >> > > The skype pattern is matching the port Skype uses. You need to drop that > off the pattern.

Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-12 Thread Amos Jeffries
On 13/05/2016 3:44 p.m., Walter H. wrote: > On 12.05.2016 22:20, Walter H. wrote: >> Hello, >> can someone please tell me how I can achive this? >> >> the result should be that >> any URL like this >> http(s)://ip-address/ should be blocked by the specified error page >> >> Thanks and Greetings

Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-12 Thread Walter H.
On 12.05.2016 22:20, Walter H. wrote: Hello, can someone please tell me how I can achive this? the result should be that any URL like this http(s)://ip-address/ should be blocked by the specified error page Thanks and Greetings from Austria, Walter p.s. the sample here

[squid-users] Regular expressions with dstdom_regex ACL

2016-05-12 Thread Walter H.
Hello, can someone please tell me which regular expression(s) would really block domains which are IP hosts for IPv4 this is my regexp: ^[12]?[0-9]{1,2}\.[12]?[0-9]{1,2}\.[12]?[0-9]{1,2}\.[12]?[0-9]{1,2}$ and this works as expected acl block_domains_iphost dstdom_regex