From: Ahmet Selman İnanç (selmaninanc@ihlas.net.tr)
Date: Mon 23 May 2005 - 10:05:58 EEST
acl porno url_regex "/etc/squid/porno.regexp"
acl porno_izinli src 192.168.1.99
http_access allow porno_izinli
http_access porno
acl izinverurl "/etc/squid/izinverilen_url"
acl izinver_makina1 src 192.168.1.99
acl internet_kapali src 192.168.1.98
acl internet_kapali src 192.168.1.97
http_access deny internet_kapali
Ahmet Selman İNANÇ
IHLAS YAPI A.S.
System Support Specialist
Phone : +90 (212) 454 22 58
Fax : +90 (212) 454 45 60
e-mail : selmaninanc@ihlas.net.tr
_____
From: linux-sunucu-bounces@liste.linux.org.tr
[mailto:linux-sunucu-bounces@liste.linux.org.tr] On Behalf Of æ æ
Sent: Friday, May 20, 2005 1:53 PM
To: linux-sunucu@liste.linux.org.tr
Subject: [Linux-sunucu] squid yardim...
merhaba,
kullanmakta olduğum squid.conf dosyam ;
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
visible_hostname yyy.xxx.com
cache_mgr sqadmin@xxx.com
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_dir ufs /home/squid 1000 16 256
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localdomain src 192.6.2.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl deniedDomains dstdomain .xxx.net .xxx.com
acl EXE urlpath_regex \.[eE][xX][eE]
acl CONNECT method CONNECT
http_access deny deniedDomains
http_access allow manager
http_access allow localhost
http_access allow localdomain
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_access deny EXE
icp_access allow all
miss_access allow all
-----------------
yukardaki squid conf dosyasinda;
3 liste olusturmak istiyorum...
1ncisinde tüm ipler belirledigim sitelere giremesin. (denied satiri ile
yapiyorum ama dosya seklinde olabiliyorsa linklerin kontrolu daha kolay
olabilir benim icin)
2sinde bazı ipler denied ettigim sitelerin bazılarına erisebilsinler...
3sünde ise bazı ipler hic bir yere cikamasin...
mumkunse tr dokuman yada yardimci olabileceklere simdiden tesekkur ederim.
saygilarimla.
_____
Walla! Mail - get your free 1G mail today <http://www.walla.com>
_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu