From: Tufan BIYIKTAS (tufan.biyiktas@gmail.com)
Date: Wed 13 Apr 2005 - 14:19:25 EEST
Merhaba
ben squid icin soyle bir atar yapiyorum.
squid conf ta
yetkilendirme programi olarak
#---------------------------------------------------#
#authenticate_program
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
#---------------------------------------------------#
kullanicilar la ilgili ayarlar icinse
acl super proxy_auth tfn
acl user_auth proxy_auth REQUIRED
acl all src 192.168.1.0/255.255.255.0
acl domain_deny dstdomain "/etc/squid/domain.deny"
acl domain_allow dstdomain "/etc/squid/domain.allow"
acl regex_deny url_regex "/etc/squid/regex.deny"
acl regex_allow url_regex "/etc/squid/regex.allow"
http_access allow super
http_access allow domain_allow
http_access allow regex_allow
http_access deny domain_deny
http_access deny regex_deny
http_access deny all
olarak tanimliyorum. buarada tfn super kullanici
butun istedigi yerlere gidebilir.
diger kullanicilar domain_allow,domain_allow dosyalarindaki
sitelere gidebilir. domain_deny,regex_deny dosyalrindaki adreslere
gidemiyor.
siz bunu istediginiz politikaya gore duzenleyebilirsiniz.
squide kullanicilari ekelemeniz yeterli.
_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag