[squid-users] block Skype with Squid

2006-09-18 Thread Pavel Ivanchev

Hi there!
I'm interesting in how to block skype with squid. I found in the net 
some how-to and i followed it, but no result:

acl block_skype_IPs urlpath_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
acl connect method CONNECT
http_access deny connect block_skype_IPs all

After that i was still able to use skype. Just for test, i wrote in 
browser address bar https://196.34.23.4 , i don'n know what this ip 
is,but anyway, the connection wasn't rejected by squid, after while 
connection failed with Connection time out

The log file says:
CONNECT 196.34.23.4:443 HTTP/1.0 503 0 TCP_MISS:DIRECT   instead of 
TCP_DENIED


Where I wrong?



Re: [squid-users] block Skype with Squid

2006-09-18 Thread Christoph Haas
On Monday 18 September 2006 14:03, Pavel Ivanchev wrote:
 Hi there!
 I'm interesting in how to block skype with squid. I found in the net
 some how-to and i followed it, but no result:
 acl block_skype_IPs urlpath_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
 acl connect method CONNECT
 http_access deny connect block_skype_IPs all

1. You likely don't need all here.
2. Try url_regex instead of urlpath_regex.

Note that I don't use Skype (and never will be) so I can't test it.

 Christoph