Saturday, November 25, 2006

Squid: Block Skype with squid

# Prevent Skype connecting HTTPs using CONNECT requests to IP addresses (those not using domain names)
acl numeric_IPs url_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
http_access deny CONNECT numeric_IPs all
# Prevent Skype connecting http
acl Skype_UA browser Skype
http_access deny Skype_UA
# Prevent anyone to download anything from skype website
acl Skype_domain dstdomain skype.com
http_access deny Skype_domain

3 comments:

  1. 我參考了您的資料~~
    加強版我試了也沒效^^"
    最後我只好用iptables把要封鎖IP的443給drop掉
    不過時間有點久遠了~~^^

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. 回 devil,

    其實還是有用,但你的測試的電腦不能有直接連線 80, 443 的 port。 Skype 會自行選擇直接出去,或是透過 proxy 出去。

    ReplyDelete