{"id":959,"date":"2015-08-21T14:44:35","date_gmt":"2015-08-21T14:44:35","guid":{"rendered":"http:\/\/linuxmotto.ir\/blog\/?p=959"},"modified":"2015-08-21T14:44:35","modified_gmt":"2015-08-21T14:44:35","slug":"%d8%aa%d8%a7%d8%b2%d9%87-%d9%87%d8%a7-%d8%af%d8%b1-jessie-%d8%b3%d8%b1%d9%88%db%8c%d8%b3-squid","status":"publish","type":"post","link":"https:\/\/linuxmotto.io\/blog\/?p=959","title":{"rendered":"\u062a\u0627\u0632\u0647 \u0647\u0627 \u062f\u0631 Jessie &#8211; \u0633\u0631\u0648\u06cc\u0633 Squid"},"content":{"rendered":"<p>\u0633\u0631\u0648\u06cc\u0633 squid \u06cc\u06a9\u06cc web proxy \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0645\u06cc \u0628\u0627\u0634\u062f. \u0627\u0632 \u062c\u0645\u0644\u0647 cacching \u0648 reverse proxy \u06cc\u0627 accelerator \u0648 &#8230; .\u062f\u0631 \u062f\u0628\u06cc\u0627\u0646 Jessie \u0646\u0633\u062e\u0647 3.4 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648 \u062f\u06cc\u06af\u0631 \u0645\u0627\u0646\u0646\u062f \u0646\u0633\u062e\u0647 \u0642\u0628\u0644 \u0627\u062b\u0631\u06cc \u0627\u0632 squid \u0646\u0633\u062e\u0647 2.7 \u0646\u06cc\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0686\u0646\u062f \u062a\u0641\u0627\u0648\u062a \u0648 \u0645\u0634\u06a9\u0644 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0630\u06a9\u0631 \u062e\u0648\u0627\u0647\u062f \u0634\u062f<\/p>\n<p><strong>acl all<\/strong><br \/>\n\u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062a\u0646\u0647\u0627 \u062f\u0631 Jessie \u0646\u06cc\u0633\u062a \u0648 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0646\u0633\u062e\u0647 3.x \u0645\u06cc \u0628\u0627\u0634\u062f. \u062f\u0631 \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc \u062f\u0628\u06cc\u0627\u0646\u060c wheezy \u0646\u06cc\u0632 \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0646\u0633\u062e\u0647 3.0 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a. \u062f\u0631 \u0646\u0633\u062e\u0647 3 \u0628\u0647 \u0628\u0639\u062f \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06cc\u06a9 acl \u0628\u0631\u0627\u06cc all \u0646\u06cc\u0633\u062a \u0648 all \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0627\u0633\u062a \u0648 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 acl \u0647\u0627\u06cc \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0645\u062b\u0644\u0627 \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062a\u0639\u0631\u06cc\u0641 acl \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 all \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f<\/p>\n<p class=\"command\" dir=\"ltr\">http_access allow all<\/p>\n<p><strong>\u062a\u063a\u06cc\u06cc\u0631 \u0646\u0627\u0645 helper \u0647\u0627<\/strong><br \/>\n\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u0647\u0645 \u0627\u0632 helper \u0647\u0627 \u0632\u06cc\u0627\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062f\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0646\u0627\u0645 helper \u0647\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a. \u06a9\u0627\u0641\u06cc \u0645\u0633\u06cc\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f<\/p>\n<div class=\"command\" dir=\"ltr\">~# ls \/usr\/lib\/squid3\/<\/div>\n<div class=\"command\" dir=\"ltr\">basic_db_auth \u00a0 \u00a0 \u00a0basic_radius_auth \u00a0 ext_ldap_group_acl negotiate_wrapper_auth<\/div>\n<div class=\"command\" dir=\"ltr\">basic_fake_auth \u00a0 \u00a0 \u00a0basic_sasl_auth \u00a0 ext_session_acl ntlm_fake_auth<\/div>\n<div class=\"command\" dir=\"ltr\">basic_getpwnam_auth \u00a0 \u00a0 \u00a0basic_smb_auth \u00a0 ext_sql_session_acl ntlm_smb_lm_auth<\/div>\n<div class=\"command\" dir=\"ltr\">basic_ldap_auth \u00a0 \u00a0 \u00a0basic_smb_auth.sh \u00a0 ext_unix_group_acl pinger<\/div>\n<div class=\"command\" dir=\"ltr\">basic_msnt_auth \u00a0 \u00a0 \u00a0cert_tool \u00a0 ext_wbinfo_group_acl storeid_file_rewrite<\/div>\n<div class=\"command\" dir=\"ltr\">basic_msnt_multi_domain_auth \u00a0digest_file_auth \u00a0 helper-mux.pl unlinkd<\/div>\n<div class=\"command\" dir=\"ltr\">basic_ncsa_auth \u00a0 \u00a0 \u00a0digest_ldap_auth \u00a0 log_db_daemon url_fake_rewrite<\/div>\n<div class=\"command\" dir=\"ltr\">basic_nis_auth \u00a0 \u00a0 \u00a0diskd \u00a0 log_file_daemon url_fake_rewrite.sh<\/div>\n<div class=\"command\" dir=\"ltr\">basic_pam_auth \u00a0 \u00a0 \u00a0ext_file_userip_acl \u00a0 negotiate_kerberos_auth<\/div>\n<div class=\"command\" dir=\"ltr\">basic_pop3_auth \u00a0 \u00a0 \u00a0ext_kerberos_ldap_group_acl \u00a0negotiate_kerberos_auth_test<\/div>\n<div><\/div>\n<div><strong>\u0645\u0634\u06a9\u0644 \u062f\u0631 pam_auth helper<\/strong><br \/>\n\u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0628\u06cc\u0634\u062a\u0631 \u0634\u0628\u06cc\u0647 \u06cc\u06a9 bug \u0627\u0633\u062a. \u0632\u06cc\u0631\u0627 \u062f\u0631 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u067e\u06cc\u0634\u06cc\u0646 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0634\u062a \u0648 \u0634\u0627\u06cc\u062f \u062f\u0631 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0647\u0627\u06cc \u0628\u0639\u062f\u06cc \u0645\u0634\u06a9\u0644 \u0628\u0631\u0637\u0631\u0641 \u06af\u0631\u062f\u062f. \u0645\u0634\u06a9\u0644 \u0645\u0631\u0628\u0648\u0637 \u0627\u0633\u062a \u0628\u0647 basic_pam_auth. \u0627\u06cc\u0646 helper \u0628\u0631\u0627\u06cc \u0622\u0646\u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u062f \u0641\u0627\u06cc\u0644 shadow \u0631\u0627 \u0628\u0628\u06cc\u0646\u062f \u0648 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u0646\u06cc\u0627\u0632\u0628\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0627\u0632 \u062f\u0628\u06cc\u0627\u0646 \u0627\u06cc\u0646 \u0645\u062c\u0648\u0632 \u0647\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0627\u0646\u062c\u0627\u0645 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a. \u067e\u0633 \u0645\u062c\u0648\u0632 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0627\u0635\u0644\u0627\u062d \u06a9\u0646\u06cc\u062f<\/div>\n<div><\/div>\n<div>\n<div dir=\"ltr\">~# chgrp shadow \/usr\/lib\/squid3\/basic_pam_auth<\/div>\n<div class=\"command\" dir=\"ltr\">~# chmod g+s \/usr\/lib\/squid3\/basic_pam_auth<\/div>\n<div><\/div>\n<div>\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 helper \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0639\u0645\u0644 \u06a9\u0646\u06cc\u062f<\/div>\n<div><\/div>\n<div>\u00a0\u0627\u062f\u0627\u0645\u0647 \u062f\u0631 <a href=\"http:\/\/www.cvak.ir\/article\/141\/%D8%AA%D8%A7%D8%B2%D9%87-%D9%87%D8%A7-%D8%AF%D8%B1-jessie-%D8%B3%D8%B1%D9%88%DB%8C%D8%B3-squid#\">\u0633\u06cc\u0648\u06a9<\/a><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0633\u0631\u0648\u06cc\u0633 squid \u06cc\u06a9\u06cc web proxy \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0645\u06cc \u0628\u0627\u0634\u062f. \u0627\u0632 \u062c\u0645\u0644\u0647 cacching \u0648 reverse proxy \u06cc\u0627 accelerator \u0648 &#8230; .\u062f\u0631 \u062f\u0628\u06cc\u0627\u0646 Jessie \u0646\u0633\u062e\u0647 3.4 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648 \u062f\u06cc\u06af\u0631 \u0645\u0627\u0646\u0646\u062f \u0646\u0633\u062e\u0647 \u0642\u0628\u0644 \u0627\u062b\u0631\u06cc \u0627\u0632 squid \u0646\u0633\u062e\u0647 2.7 \u0646\u06cc\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0686\u0646\u062f \u062a\u0641\u0627\u0648\u062a \u0648 \u0645\u0634\u06a9\u0644 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0630\u06a9\u0631 \u062e\u0648\u0627\u0647\u062f \u0634\u062f acl all \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062a\u0646\u0647\u0627 \u062f\u0631 Jessie \u0646\u06cc\u0633\u062a \u0648 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0646\u0633\u062e\u0647 3.x \u0645\u06cc \u0628\u0627\u0634\u062f. \u062f\u0631 \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc \u062f\u0628\u06cc\u0627\u0646\u060c wheezy \u0646\u06cc\u0632 \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0646\u0633\u062e\u0647 3.0 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a. \u062f\u0631 \u0646\u0633\u062e\u0647 3 \u0628\u0647 \u0628\u0639\u062f \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06cc\u06a9 acl \u0628\u0631\u0627\u06cc all \u0646\u06cc\u0633\u062a \u0648 all \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0627\u0633\u062a \u0648 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 acl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12],"tags":[277,279,31,52,245,243,275,278,274,276,273,272,239,240,244,241,204],"class_list":["post-959","post","type-post","status-publish","format-standard","hentry","category-administration","category-debian","tag-auth-helper","tag-authentication-helper","tag-debian-2","tag-jessie","tag-new-in-debian-8","tag-new-in-jessie","tag-pam","tag-pam-auth-helper","tag-pam-authentication","tag-permission","tag-squi3","tag-squid","tag----jessie","tag-240","tag-244","tag-241","tag-204"],"_links":{"self":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=959"}],"version-history":[{"count":3,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959\/revisions"}],"predecessor-version":[{"id":962,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/959\/revisions\/962"}],"wp:attachment":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}