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

Re: Squid - hotmail attachment problemi



merhaba

yasaklamalar icinde msn ile ilgili herhangi birsey yok.sadece dosya uzantisi bazinda kisitlama yapiyorum.mp3,mpg,pif vs gibi.squid.conf dosyam asagidaki gibidir.

---
visible_hostname proxy.test.domain

http_port 3128

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 256 MB

maximum_object_size 128 KB
minimum_object_size 0 KB

cache_dir ufs /var/spool/squid 4096 8 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl local src 10.0.0.0/255.255.0.0
acl nonlocal src 10.1.0.0/255.255.0.0
acl adsl0 src 192.168.0.0/255.255.255.0
acl adsl1 src 192.168.1.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 1755        # mms
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 81          # 81 port
acl Safe_ports port 8110         # 8110 port

acl CONNECT method CONNECT
acl yasak_dosyalar urlpath_regex "/etc/squid/dosyalar.regexp"
http_access deny yasak_dosyalar
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow local
http_access allow nonlocal
http_access allow adsl0
http_access allow adsl1
http_access deny all

Hakan Yiğit wrote:
http://by110fd.bay110.hotmail.msn.com/cgi-bin/saferd/ICT8%2d5%2epdf

Adresinin herhangi bir kısmını yasaklamalar içerisinde kullanmışsan mesela " msn " gibi bir yasaklaman varsa calismaz. Onun haricinde bende herhangi bir problem oluşmuyor sana bir acl oluşturalim acl permitted_urls dstdomain .msn.com http_access deny downloadkisitlaman !permitted_urls



Reply to: