Blocking Skyep in squid is a two stage process, firstly Skype by default uses an outbound connction on a port in the range of 2940-3000, so these should be blocked on your egress filtering.
However, if skype cannot connect on these ports, it will try to connect using port 443, which you obviously cannot block without preventing SSL access to any sites. However, Skype uses a connect method called 'Connect' to make this connection, so this can be blocked by creating an access list that looks for connections to an IP address, using the 'Connect' method:
# Your acl definitions
acl numeric_IPs urlpath_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
acl connect method CONNECT
# Apply your acls
http_access deny connect numeric_IPs all
Skype is blocked by default after installation of Websense Express.
In the Websense Master Database, Skype is assigned to the protocol category called P2P File Sharing. This category is blocked by the policy Basic Security, which is set by default after Websense Express is installed. So check in your Master Database under P2P File Sharing and ensure that it is blocked.
Best Answer
Blocking Skyep in squid is a two stage process, firstly Skype by default uses an outbound connction on a port in the range of 2940-3000, so these should be blocked on your egress filtering.
However, if skype cannot connect on these ports, it will try to connect using port 443, which you obviously cannot block without preventing SSL access to any sites. However, Skype uses a connect method called 'Connect' to make this connection, so this can be blocked by creating an access list that looks for connections to an IP address, using the 'Connect' method:
Take a look at this article for more information.