RE: [Linux-sunucu] squid yardim...

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Serkan ATEŞ (serkanates@armafiltre.com.tr)
Date: Fri 20 May 2005 - 14:27:15 EEST


acl porno url_regex "/etc/squid/yasak/porno.liste"
acl hack url_regex "/etc/squid/yasak/hack.liste"
http_access deny hack
http_access deny porno

porno.liste ve hack.liste diye iki dosya yaratıp içine domainleri
yazabilirsiniz sanırım.

İyi çalışmalar...
________________________________________
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.

_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.