????????? ?????????? ??????????????????? ???:
colo> squid-z
????????? ? ?????????. ????? ?????? ????????? ??????-??????? ?????? ?? ??????????????? ????? ? ?????????? ????,??????? ?????? ?? ?????? *. Exe, *. Sys, *. Bat, *. Sys, *. Mp3, *. Avi, *. Mp4, *. Mov??????.
???????? ???????????? proxy-??????? ????????? ? ?????/Etc / squid / squid.conf. ????????????? ??? ??? ???? ??????:
????????? ???? ?? ??????? ????? ??????? ???????,? ????????? ??? Proxy «??????????»,?.?. ?????????? ?????? ?????????? ??????????????
http_port 3128 transparent
ACL (Access Control List -???????????????????) -??????????,?? ? ??? ??? ????? ???????? ?????? ? ??????????? ???????,? ????? ?????? ???????? ????????? ??? ????????? ????? ???????? ????????? ??? ????????. ? ??????? acl????????? ???????,? ???????? ????? ????????
????????? ??????? ? ??????? ??????? ??????? ? ???
acl all src 0.0.0.0/0.0.0.0manager proto cache_objectlocalhost src 127.0.0.1/255.255.255.255to_localhost dst 127.0.0.0/8SSL_ports port 443Safe_ports port 80 # httpSafe_ports port 21 # ftpSafe_ports port 443 # httpsSafe_ports port 70 # gopherSafe_ports port 210 # waisSafe_ports port 1025-65535 # unregistered portsSafe_ports port 280 # http-mgmtSafe_ports port 488 # gss-httpSafe_ports port 591 # filemakerSafe_ports port 777 # multiling httpCONNECT method CONNECT_access allow manager localhost_access deny manager_access deny! Safe_ports_access deny CONNECT! SSL_ports
????????? ???? ????????? ????
acl localnet src 172.16.100.0/24
????????? ????,? ??????? ???????? ?????????? ??????????? ????? ??????
acl banfiles urlpath_regex-i «/ etc / squid / include / permblock.files.acl»
????????? ????,? ??????? ??????? ?????? ??????,??????????? ? ?????????
acl banurl dstdomain-i «/ etc / squid / include / permblock.url.acl»
??????? ?????? ??? ????? ? ????? ???????? ? ??????? mime?????
acl banvideo rep_mime_type content-type audiobanvideo rep_mime_type content-type video
????????? ?????? ?? ???? ? ??????????? ????? ??????,?????? ? ????????.
http_access deny localnet banfiles_access deny localnet banurl_reply_access deny all banvideo
????????? ?????? ???? ??? ????? ?????????? ???????
_access allow localnet
??? ???? ????????? ????????? ???
_access deny all
?? ??????? ???????? ????? ??? ??????????????,??????? ?????? acl??????. ?????????? ????? ? ???????????? ????????:
Permblock.files.acl:
. exe $
. msi $
. bat $
. sys $. url.acl:
. vkontakte
. odnoklassniki
....