{"id":582,"date":"2015-10-03T20:13:17","date_gmt":"2015-10-03T17:13:17","guid":{"rendered":"http:\/\/freebsd.ml\/?p=71"},"modified":"2019-10-23T06:14:38","modified_gmt":"2019-10-23T03:14:38","slug":"squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd","status":"publish","type":"post","link":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD"},"content":{"rendered":"<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-73 alignright\" src=\"http:\/\/freebsd.ml\/wp-content\/uploads\/2015\/10\/Caching-Proxy-Squid-3-3-10-Sees-Numerous-Fixes-300x163.png\" alt=\"Caching-Proxy-Squid-3-3-10-Sees-Numerous-Fixes\" width=\"248\" height=\"135\" \/>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438.<!--more--><\/p>\n<h3 style=\"text-align: justify;\">\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h3>\n<ul style=\"text-align: justify;\">\n<li><a href=\"#install\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid<\/a><\/li>\n<li><a href=\"#config\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid<\/a><\/li>\n<li><a href=\"#custom-error-pages\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid<\/a><\/li>\n<li><a href=\"#start\">\u0417\u0430\u043f\u0443\u0441\u043a Squid<\/a><\/li>\n<li><a href=\"#cache-manager\">\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid<\/a><\/li>\n<li><a href=\"#ipfw\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW<\/a><\/li>\n<li><a href=\"#logs-rotation\">\u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid<\/a><\/li>\n<li><a href=\"#pkg-upgrade\">\u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid<\/a><\/li>\n<li><a href=\"#cache-settings\">\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid<\/a><\/li>\n<li><a href=\"#access-restrictions\">\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid<\/a><\/li>\n<li><a href=\"#request-header-request\">\u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 Squid<\/a><\/li>\n<li><a href=\"#move-logs-to-usr\">\u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u043b\u043e\u0433\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Squid<\/a><\/li>\n<li><a href=\"#kernel-forwarding\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044f\u0434\u0440\u0430 (FreeBSD 9.1 \u0438 \u0440\u0430\u043d\u0435\u0435)<\/a><\/li>\n<li><a href=\"#troubleshoot\">\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/a><\/li>\n<li><a href=\"#links\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/a><\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\"><a id=\"install\" name=\"install\"><\/a>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid<\/h2>\n<p style=\"text-align: justify;\">\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Squid \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. Squid, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c, \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<p style=\"text-align: justify;\">\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043f\u043e\u0440\u0442\u043e\u0432:<\/p>\n<pre>portsnap fetch update<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u043f\u043e\u0440\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u043f\u0435\u0440\u0432\u044b\u0435, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0435\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e:<\/p>\n<pre>portsnap fetch extract<\/pre>\n<p style=\"text-align: justify;\">\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u043e\u0440\u0442\u0430:<\/p>\n<pre>cd \/usr\/ports\/www\/squid\nmake config<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<pre>[x] LARGEFILE      Support large (&gt;2GB) cache and log files\n[x] LAX_HTTP       Do not enforce strict HTTP compliance\n...\n[ ] TP_IPF         Enable transparent proxying with IPFilter\n[x] TP_IPFW        Enable transparent proxying with IPFW\n[ ] TP_PF          Enable transparent proxying with PF\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0446\u0438\u0439 via, request_header_access), \u0442\u0430\u043a\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c LAX_HTTP, \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 Squid \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8212;enable-http-violations.<\/p>\n<p style=\"text-align: justify;\">\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442:<\/p>\n<pre>make install clean<\/pre>\n<p style=\"text-align: justify;\">\u0411\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u043c \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 Squid \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c:<\/p>\n<pre>pkg lock squid<\/pre>\n<p style=\"text-align: justify;\">\u041e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f Squid \u0447\u0438\u0442\u0430\u0435\u043c <a href=\"#pkg-upgrade\">\u043d\u0438\u0436\u0435<\/a>.<\/p>\n<h2 style=\"text-align: justify;\"><a id=\"config\" name=\"config\"><\/a>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid<\/h2>\n<p style=\"text-align: justify;\">\u0412 FreeBSD 9.1 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0441 IPFW \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 <a href=\"#kernel-forwarding\">\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044f\u0434\u0440\u0430<\/a>. \u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 FreeBSD 9.2, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044f\u0434\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p style=\"text-align: justify;\">\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre>ee \/usr\/local\/etc\/squid\/squid.conf<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre>#\n# \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f:\n#\n\n# \u041e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0441\u0435\u0442\u044c\n# \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0430\u0448\u0438\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 IP-\u0441\u0435\u0442\u0435\u0439,\n# \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\n#acl localnet src 10.0.0.0\/8    # RFC1918 possible internal network\n#acl localnet src 172.16.0.0\/12 # RFC1918 possible internal network\nacl localnet src 192.168.0.0\/16 # RFC1918 possible internal network\n#acl localnet src fc00::\/7       # RFC 4193 local private network range\n#acl localnet src fe80::\/10      # RFC 4291 link-local (directly plugged) machines\n\n# \u041f\u043e\u0440\u0442 SSL \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443\nacl SSL_ports port 443\n# \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u0442\u043e\u0432, \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTP\nacl Safe_ports port 80          # http\nacl Safe_ports port 21          # ftp\nacl Safe_ports port 443         # https\nacl Safe_ports port 70          # gopher\nacl Safe_ports port 210         # wais\nacl Safe_ports port 1025-65535  # unregistered ports\nacl Safe_ports port 280         # http-mgmt\nacl Safe_ports port 488         # gss-http\nacl Safe_ports port 591         # filemaker\nacl Safe_ports port 777         # multiling http\nacl CONNECT method CONNECT\n\n#\n# \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:\n#\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u043e\u0440\u0442\u0430\u043c, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0432\u044b\u0448\u0435\nhttp_access deny !Safe_ports\n\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 CONNECT \u043d\u0435 \u043d\u0430 SSL-\u043f\u043e\u0440\u0442\nhttp_access deny CONNECT !SSL_ports\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0435\u043c\nhttp_access allow localhost manager\nhttp_access deny manager\n\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043a\u0441\u0438\n# \u041d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\n# \u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u0430\u043c (127.0.0.1 \u0438 \u0434\u0440.).\nhttp_access deny to_localhost\n\n#\n# \u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432\n#\n\n# \u041e\u0431\u0440\u0430\u0437\u0435\u0446 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438\u0437 \u0432\u0430\u0448\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438\n# \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0430\u0448\u0438\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 IP-\u0441\u0435\u0442\u0435\u0439, \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0432 acl localnet\nhttp_access allow localnet\nhttp_access allow localhost\n\n# \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0432\u044b\u0448\u0435\nhttp_access deny all\n\n\n# \u0410\u0434\u0440\u0435\u0441 \u0438 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439\n# \u041e\u0431\u044b\u0447\u043d\u043e Squid \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0440\u0442 3128\n# \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438, \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c\nhttp_port 3128\n#http_port 127.0.0.1:3128\n\n# \u0414\u043b\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u043e\u0440\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430 \u0442\u0440\u0430\u0444\u0438\u043a\u0430\nhttp_port 127.0.0.1:3128 intercept\n\n\n# \u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u0434\u043b\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\n# \u041a\u044d\u0448: \u0444\u043e\u0440\u043c\u0430\u0442, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435, \u0440\u0430\u0437\u043c\u0435\u0440 \u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u0430\u0445, \u0447\u0438\u0441\u043b\u043e \u043f\u0430\u043f\u043e\u043a \u043f\u0435\u0440\u0432\u043e\u0439 \u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438\n# \u0423\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u044d\u0448\u0430 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u0434\u0435\u0440\u0436\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 20% \u043c\u0435\u043d\u044c\u0448\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\n# \u0414\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 cache_dir, \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043a\u044d\u0448 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432\n#cache_dir ufs \/var\/squid\/cache 100 16 256\n\n# \u041f\u0443\u0442\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043c\u043f\u043e\u0432 \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f\ncoredump_dir \/var\/squid\/cache\n\n#\n# \u0412\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0430\u043d\u0438\u044f \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445, \u0435\u0441\u043b\u0438 \u044f\u0432\u043d\u043e \u043d\u0435 \u0437\u0430\u0434\u0430\u043d\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c\n# \u041f\u043e\u043b\u044f: \u0448\u0430\u0431\u043b\u043e\u043d URL, \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445, \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445\n# \u0415\u0441\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c, \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f\n# \u0420\u0430\u0441\u0447\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0436\u0438\u0437\u043d\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435: (\u0412\u0440\u0435\u043c\u044f\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f-\u0412\u0440\u0435\u043c\u044f\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u044f)*\u041f\u0440\u043e\u0446\u0435\u043d\u0442\n# \u0427\u0435\u043c \u0441\u0442\u0430\u0440\u0435\u0435 \u043e\u0431\u044a\u0435\u043a\u0442, \u0442\u0435\u043c \u0434\u043e\u043b\u044c\u0448\u0435 \u043e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u043a\u044d\u0448\u0435, \u043d\u043e \u043d\u0435 \u0434\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438\n# http:\/\/etutorials.org\/Server+Administration\/Squid.+The+definitive+guide\/Chapter+7.+Disk+Cache+Basics\/7.7+refresh_pattern\/\n#\n# \u0412\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 FTP \u0438 GOPHER\nrefresh_pattern ^ftp:           1440    20%     10080\nrefresh_pattern ^gopher:        1440    0%      1440\n# \u041d\u0443\u043b\u0435\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u0434\u043b\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430\nrefresh_pattern -i (\/cgi-bin\/|\\?) 0     0%      0\n# \u0412\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\nrefresh_pattern .               0       20%     4320\n\n#\n# \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\n#\n\n# \u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c IPv6, \u0435\u0441\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d IPv4-\u0430\u0434\u0440\u0435\u0441\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u043e\u0442\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 IPv6, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043e\u0448\u0438\u0431\u043a\u0430\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 IPv6 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d\ndns_v4_first on\n\n\n# \u041f\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439, \u0442\u0430\u043a \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438\n# \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0436\u0434\u0435\u0442 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e - 30 \u0441\u0435\u043a\u0443\u043d\u0434, \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043c \u0432\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u0434\u043e \u043e\u0434\u043d\u043e\u0439 \u0441\u0435\u043a\u0443\u043d\u0434\u044b\nshutdown_lifetime 1 seconds\n\n# \u0410\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a\n# \u0417\u0430\u0434\u0430\u0442\u044c \u043f\u0440\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445 \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u0438\u043c\u0435\u043d\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\n#visible_hostname proxy.localnet.local\n\n# \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\n#cache deny all\n\n# \u0420\u0430\u0437\u043c\u0435\u0440 \u043a\u044d\u0448\u0430 \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 256\u041c\u0431\n#cache_mem 256 MB\n\n# \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438\n# \u041e\u0431\u044a\u0435\u043a\u0442\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f\n#maximum_object_size_in_memory 512 KB\n\n\n# \u041f\u0443\u0442\u044c \u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u0430\n#access_log daemon:\/var\/log\/squid\/access.log squid\n#access_log stdio:\/var\/log\/squid\/access.log squid\n\n# \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0446\u0435\u043b\u044f\u0445 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u0438 \u0432 \u043b\u043e\u0433\u0435 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b CGI-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\n#strip_query_terms off\n\n# \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c http-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e\n#log_mime_hdrs on\n\n# \u041d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a X-Forwarded-For \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\n#forwarded_for transparent\n\n# \u041d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Via \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0438 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430\n# \u041e\u043f\u0446\u0438\u044f \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 HTTP-\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u0431\u043e\u0440\u043a\u0430 Squid \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c LAX_HTTP, \u043e\u043d \u0436\u0435 --enable-http-violations\n#via off\n\n# \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u043b\u043e\u0433\u043e\u0432\n# \u041f\u0440\u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 newsyslog\n#logfile_rotate 0\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0437\u0430\u0434\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b squid.conf:<\/p>\n<ul style=\"text-align: justify;\">\n<li><a href=\"#cache-settings\">\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430<\/a><\/li>\n<li><a href=\"#access-restrictions\">\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443<\/a><\/li>\n<li><a href=\"#request-header-request\">\u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/a><\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\"><a id=\"custom-error-pages\" name=\"custom-error-pages\"><\/a>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid<\/h2>\n<p style=\"text-align: justify;\">\u0418\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u044f \u043f\u043e \u0413\u0440\u0438\u043d\u0432\u0438\u0447\u0443, \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u043e\u0448\u0438\u0431\u043e\u043a. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 %T \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u0438\u0440\u043e\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, %t &#8212; \u043c\u0435\u0441\u0442\u043d\u043e\u0435.<\/p>\n<p style=\"text-align: justify;\">\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043f\u0430\u043f\u043a\u0443 erros.local:<\/p>\n<pre>mkdir -p \/usr\/local\/etc\/squid\/errors.local\/ru\ncp \/usr\/local\/etc\/squid\/errors\/ru\/* \/usr\/local\/etc\/squid\/errors.local\/ru<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043e\u0431\u0449\u0435\u043c\u0438\u0440\u043e\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f (%T), \u043d\u0430 \u043c\u0435\u0441\u0442\u043d\u043e\u0435 (%t):<\/p>\n<pre>sed -i .bak \"s\/%T\/%t\/g\" \/usr\/local\/etc\/squid\/errors.local\/ru\/* &amp;&amp; rm \/usr\/local\/etc\/squid\/errors.local\/ru\/*.bak<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u0434\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c \u043e\u0448\u0438\u0431\u043e\u043a \u0432 squid.conf:<\/p>\n<pre>printf \"\\n\\n #\u041c\u0435\u0441\u0442\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a\\nerror_directory \/usr\/local\/etc\/squid\/errors.local\/ru\\n\" &gt;&gt; \/usr\/local\/etc\/squid\/squid.conf<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"start\" name=\"start\"><\/a>\u0417\u0430\u043f\u0443\u0441\u043a Squid<\/h2>\n<p style=\"text-align: justify;\">\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c Squid \u0432 rc.conf:<\/p>\n<pre>squid_enable=\"YES\"<\/pre>\n<p style=\"text-align: justify;\">\u0412\u0440\u0443\u0447\u043d\u0443\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c:<\/p>\n<pre>ee \/etc\/rc.conf<\/pre>\n<p style=\"text-align: justify;\">\u0418\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre>printf '\\nsquid_enable=\\\"YES\\\"\\n' &gt;&gt;\/etc\/rc.conf<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid start<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435: &#171;WARNING: Could not determine this machines public hostname. Please configure one or set &#8216;visible_hostname'&#187;.  \u0417\u0430\u0434\u0430\u0435\u043c \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#171;visible_hostname&#187; \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043b\u0438 \u0434\u0435\u043c\u043e\u043d:<\/p>\n<pre>ps -ax | grep squid<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0441\u043b\u0443\u0448\u0430\u0435\u0442\u0441\u044f \u043b\u0438 \u043f\u043e\u0440\u0442:<\/p>\n<pre>sockstat | grep squid\n<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043b\u043e\u0433 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043e\u0442 Squid:<\/p>\n<pre>grep squid \/var\/log\/messages<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c cache.log:<\/p>\n<pre>cat \/var\/log\/squid\/cache.log<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430 \u0432\u044b\u0432\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c:<\/p>\n<pre>2015\/03\/25 15:29:32 kid1| Set Current Directory to \/var\/squid\/cache\n2015\/03\/25 15:29:32 kid1| Starting Squid Cache version 3.4.12 for i386-portbld-freebsd10.1...\n2015\/03\/25 15:29:32 kid1| Process ID 32795\n2015\/03\/25 15:29:32 kid1| Process Roles: worker\n2015\/03\/25 15:29:32 kid1| With 14148 file descriptors available\n2015\/03\/25 15:29:32 kid1| Initializing IP Cache...\n2015\/03\/25 15:29:32 kid1| DNS Socket created at [::], FD 7\n2015\/03\/25 15:29:32 kid1| DNS Socket created at 0.0.0.0, FD 8\n2015\/03\/25 15:29:32 kid1| Adding nameserver 8.8.8.8 from \/etc\/resolv.conf\n2015\/03\/25 15:29:32 kid1| Logfile: opening log daemon:\/var\/log\/squid\/access.log\n2015\/03\/25 15:29:32 kid1| Logfile Daemon: opening log \/var\/log\/squid\/access.log\n2015\/03\/25 15:29:32 kid1| Store logging disabled\n2015\/03\/25 15:29:32 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects\n2015\/03\/25 15:29:32 kid1| Target number of buckets: 1008\n2015\/03\/25 15:29:32 kid1| Using 8192 Store buckets\n2015\/03\/25 15:29:32 kid1| Max Mem  size: 262144 KB\n2015\/03\/25 15:29:32 kid1| Max Swap size: 0 KB\n2015\/03\/25 15:29:32 kid1| Using Least Load store dir selection\n2015\/03\/25 15:29:32 kid1| Set Current Directory to \/var\/squid\/cache\n2015\/03\/25 15:29:32 kid1| Finished loading MIME types and icons.\n2015\/03\/25 15:29:32 kid1| HTCP Disabled.\n2015\/03\/25 15:29:32 kid1| Squid plugin modules loaded: 0\n2015\/03\/25 15:29:32 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 11 flags=9\n2015\/03\/25 15:29:32 kid1| Accepting NAT intercepted HTTP Socket connections at local=127.0.0.1:3128 remote=[::] FD 12 flags=41\n2015\/03\/25 15:29:33 kid1| storeLateRelease: released 0 objects\n<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"cache-manager\" name=\"cache-manager\"><\/a>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid<\/h2>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c squidclient.<\/p>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/p>\n<pre>squidclient cache_object:\/\/localhost\/info<\/pre>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439:<\/p>\n<pre>squidclient cache_object:\/\/localhost\/menu<\/pre>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre>squidclient -U admin -W <em>\u043f\u0430\u0440\u043e\u043b\u044c<\/em> cache_object:\/\/localhost\/config<\/pre>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0432 squid.conf:<\/p>\n<pre># \u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u0437\u0430\u0434\u0430\u043d, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0430\u0440\u043e\u043b\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b\n# \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 all, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u0432\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\ncachemgr_passwd <em>\u043f\u0430\u0440\u043e\u043b\u044c<\/em> config\n<\/pre>\n<p style=\"text-align: justify;\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430. \u0415\u0441\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0432 squid.conf:<\/p>\n<pre># IP-\u0430\u0434\u0440\u0435\u0441, \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c\nacl CacheManagerIP src <em>192.168.0.2<\/em>\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0435\u043c\nhttp_access allow localhost manager\nhttp_access allow CacheManagerIP manager\nhttp_access deny manager<\/pre>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c URL \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430: http:\/\/<em>\u0430\u0434\u0440\u0435\u0441<\/em>:3128\/squid-internal-mgr\/<em>\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/em>:<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 &#8212; http:\/\/192.168.0.1:3128\/squid-internal-mgr\/info<\/li>\n<li>\u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 &#8212; http:\/\/192.168.0.1:3128\/squid-internal-mgr\/menu<\/li>\n<li>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 &#8212; http:\/\/admin:<em>\u043f\u0430\u0440\u043e\u043b\u044c<\/em>@192.168.0.1:3128\/squid-internal-mgr\/config<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\"><a id=\"ipfw\" name=\"ipfw\"><\/a>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW<\/h2>\n<p style=\"text-align: justify;\">\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e IPFW \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u043c \u0432 <a href=\"https:\/\/www.freebsd.org\/doc\/ru_RU.KOI8-R\/books\/handbook\/firewalls-ipfw.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 FreeBSD<\/a>.<\/p>\n<p style=\"text-align: justify;\">\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c rc.conf:<\/p>\n<pre>ee \/etc\/rc.conf<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043b\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f:<\/p>\n<pre>gateway_enable=\"YES\"<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c NAT:<\/p>\n<pre>natd_enable=\"yes\"               # \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e NATD\nnatd_interface=\"em0\"            # \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\nnatd_flags=\"-dynamic -m\"        # -m = \u043f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u043e\u0440\u0442\u043e\u0432\n<\/pre>\n<p style=\"text-align: justify;\">\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b IPFW:<\/p>\n<pre>firewall_enable=\"YES\"\nfirewall_script=\"\/etc\/ipfw.rules\"\n<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438.<\/p>\n<p style=\"text-align: justify;\">\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0430\u0432\u0438\u043b IPFW:<\/p>\n<pre>ee <code class=\"filename\">\/etc\/ipfw.rules<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043a\u0440\u0430\u0441\u043d\u044b\u043c, \u043f\u0435\u0440\u0435\u0434 \u043f\u0440\u0430\u0432\u0438\u043b\u043e\u043c, \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442:<\/p>\n<pre>#!\/bin\/sh\ncmd=\"ipfw -q add\"\nskip=\"skipto 500\"\n\n# \u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\npif=em0\n\nipfw -q -f flush\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c SSH-\u0434\u043e\u0441\u0442\u0443\u043f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430\n# \u0420\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0442\u044c \u0441\u0435\u0431\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430\n#$cmd 001 allow ip from x.x.x.x to me dst-port 22 in via $pif\n#$cmd 001 allow ip from me to x.x.x.x src-port 22 out via $pif\n\n$cmd 002 allow all from any to any via em1  # \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0442\u0440\u0430\u0444\u0438\u043a \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435\n$cmd 003 allow all from any to any via lo0  # \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0442\u0440\u0430\u0444\u0438\u043a \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 loopback\n\n$cmd 100 divert natd ip from any to any in via $pif\n$cmd 101 check-state\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e Squid\n$cmd 124 allow all from me to any out via $pif keep-state uid squid\n# \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c http-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u043f\u043e\u0440\u0442 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438\n$cmd 125 fwd 127.0.0.1,3128 tcp from any to any 80 out via $pif keep-state\n\n$cmd 130 $skip all from any to any out via $pif keep-state\n\n# \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0432\u0435\u0441\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0441 \u043d\u0435\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\n#$cmd 300 deny all from 192.168.0.0\/16  to any in via $pif  #RFC 1918 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 IP\n$cmd 301 deny all from 172.16.0.0\/12   to any in via $pif  #RFC 1918 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 IP\n$cmd 302 deny all from 10.0.0.0\/8      to any in via $pif  #RFC 1918 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 IP\n$cmd 303 deny all from 127.0.0.0\/8     to any in via $pif  #loopback\n$cmd 304 deny all from 0.0.0.0\/8       to any in via $pif  #loopback\n# \u0417\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 DHCP\n$cmd 305 deny all from 169.254.0.0\/16  to any in via $pif  #DHCP \u0430\u0432\u0442\u043e-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\n$cmd 306 deny all from 192.0.2.0\/24    to any in via $pif  #\u0417\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0434\u043b\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438\n$cmd 307 deny all from 204.152.64.0\/23 to any in via $pif  #Sun cluster\n$cmd 308 deny all from 224.0.0.0\/3     to any in via $pif  #Class D &amp; E multicast\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b\n#$cmd 400 allow udp from xx.70.207.54 to any 68 in keep-state\n#$cmd 420 allow tcp from any to me 80 in via $pif setup limit src-addr 1\n\n\n$cmd 450 deny log ip from any to any\n\n# \u0420\u0430\u0437\u0434\u0435\u043b skipto \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0434\u043b\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432\n$cmd 500 divert natd ip from any to any out via $pif\n$cmd 510 allow ip from any to any\n\n######################## \u041e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0430\u0432\u0438\u043b ##################<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b rc.conf, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0438 NAT. \u0411\u0443\u0434\u044c\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u044b \u043f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e IP, \u0435\u0441\u0442\u044c \u0440\u0438\u0441\u043a \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0442\u044c \u0441\u0435\u0431\u0435 \u0434\u043e\u0441\u0442\u0443\u043f.<\/p>\n<pre>service routing restart\nservice natd start\n<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0430\u0432\u0438\u043b:<\/p>\n<pre><code class=\"filename\">sh \/etc\/ipfw.rules<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0418\u043d\u0438\u0446\u0438\u0438\u0440\u0443\u0435\u043c \u0432\u0435\u0431-\u0442\u0440\u0430\u0444\u0438\u043a \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043b\u043e\u0433 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre>tail -f \/var\/log\/squid\/access.log<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430:<\/p>\n<pre>ipfw show<\/pre>\n<p style=\"text-align: justify;\">\u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f (fwd 127.0.0.1,3128) \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0443\u043b\u0435\u0432\u044b\u043c.<\/p>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0441\u0430\u0439\u0442\u044b \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c cache.log \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043e\u0448\u0438\u0431\u043e\u043a:<\/p>\n<pre>cat \/var\/log\/squid\/cache.log<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"logs-rotation\" name=\"logs-rotation\"><\/a>\u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid<\/h2>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u0438 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 newsyslog.conf.d<\/p>\n<pre>ls \/etc\/newsyslog.conf.d<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0430\u043f\u043a\u0430 newsyslog.conf.d, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c newsyslog.conf:<\/p>\n<pre>ee \/etc\/newsyslog.conf<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043f\u0430\u043f\u043a\u0430 newsyslog.conf.d \u0438\u043c\u0435\u0435\u0442\u0441\u044f, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u0441 \u0442\u0435\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c \u0432 \/usr\/local\/etc:<\/p>\n<pre>mkdir \/usr\/local\/etc\/newsyslog.conf.d<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043f\u0440\u0430\u0432\u0438\u043b \u0440\u043e\u0442\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 Squid:<\/p>\n<pre>ee \/usr\/local\/etc\/newsyslog.conf.d\/squid<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0440\u043e\u0442\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432:<\/p>\n<pre>\/var\/log\/squid\/access.log squid:squid 600 180 * $D0 JC \/var\/run\/squid\/squid.pid 30\n\/var\/log\/squid\/cache.log  squid:squid 600 180 * $D0 JC \/var\/run\/squid\/squid.pid 30\n#\/var\/log\/squid\/store.log  squid:squid 600  30 * $D0 JC \/var\/run\/squid\/squid.pid 30\n<\/pre>\n<p style=\"text-align: justify;\">\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0432 \u043f\u043e\u043b\u043d\u043e\u0447\u044c, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043b\u043e\u0433\u0438 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 180 \u0434\u043d\u0435\u0439, \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 store.log, \u0435\u0441\u043b\u0438 \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u043e\u0442\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0432 squid.conf \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440:<\/p>\n<pre># \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0440\u043e\u0442\u0430\u0446\u0438\u044e \u043b\u043e\u0433\u043e\u0432\n# \u041f\u0440\u0438 \u0440\u043e\u0442\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 newsyslog\nlogfile_rotate 0<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"pkg-upgrade\" name=\"pkg-upgrade\"><\/a>\u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid<\/h2>\n<p style=\"text-align: justify;\">\u041f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438, \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442 \u043f\u043e\u0440\u0442, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0441 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p style=\"text-align: justify;\">\u0427\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c, \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 Squid:<\/p>\n<pre>pkg lock squid<\/pre>\n<p style=\"text-align: justify;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c Squid, \u043d\u043e \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0438\u043c \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0438 \u0432\u0441\u0435\u0445 \u0435\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0427\u0442\u043e \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u043d\u0435\u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043c\u043e\u043c\u0443 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u0443 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043a\u043e\u0433\u0434\u0430 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0430\u043a\u0435\u0442\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a.<\/p>\n<p style=\"text-align: justify;\">\u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c Squid \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0435\u043c Squid \u0438\u043b\u0438 \u0435\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438. \u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f.<\/p>\n<p style=\"text-align: justify;\">\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043f\u043e\u0440\u0442\u043e\u0432:<\/p>\n<pre>portsnap fetch update<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043d\u0438\u043c\u0430\u0435\u043c \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430:<\/p>\n<pre>pkg unlock squid<\/pre>\n<p style=\"text-align: justify;\">\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<pre>pkg upgrade<\/pre>\n<p style=\"text-align: justify;\">\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c Squid, \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435:<\/p>\n<pre>cd \/usr\/ports\/www\/squid\nmake<\/pre>\n<p style=\"text-align: justify;\">\u0423\u0434\u0430\u043b\u044f\u0435\u043c Squid:<\/p>\n<pre>pkg delete squid<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Squid:<\/p>\n<pre>make install clean<\/pre>\n<p style=\"text-align: justify;\">\u0411\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u043c \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 Squid:<\/p>\n<pre>pkg lock squid<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid restart<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"cache-settings\" name=\"cache-settings\"><\/a>\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid<\/h2>\n<p style=\"text-align: justify;\">\u041d\u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u043d\u044b\u0445 \u0431\u0435\u0437\u043b\u0438\u043c\u0438\u0442\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445 \u0441\u0432\u044f\u0437\u0438 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u043e \u0441\u0432\u043e\u044e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u0414\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b YouTube \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0442\u0435\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430, \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0440\u0430\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432.<\/p>\n<p style=\"text-align: justify;\">\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u043a\u044d\u0448 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d, \u043d\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u044d\u0448\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f 256\u041c\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 squid.conf:<\/p>\n<pre># \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\ncache deny all\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u043a\u044d\u0448, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 squid.conf \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre># \u041a\u044d\u0448: \u0444\u043e\u0440\u043c\u0430\u0442, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435, \u0440\u0430\u0437\u043c\u0435\u0440 \u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u0430\u0445, \u0447\u0438\u0441\u043b\u043e \u043f\u0430\u043f\u043e\u043a \u043f\u0435\u0440\u0432\u043e\u0439 \u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438\n# \u0423\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u044d\u0448\u0430 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u0434\u0435\u0440\u0436\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 20% \u043c\u0435\u043d\u044c\u0448\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\n# \u0414\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 cache_dir, \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0432\u044b\u0434\u0435\u043b\u0438\u0432 \u043f\u043e\u0434 \u043a\u044d\u0448 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b\ncache_dir ufs \/var\/squid\/cache 3000 16 256\n\n# \u041d\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 4\u041c\u0431\nmaximum_object_size 320 MB\n\n# \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0440\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0435\u0441\u043b\u0438 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\n# \u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043a\u044d\u0448\u0435 \u043f\u0440\u0438 \u043e\u0442\u043c\u0435\u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c\n# \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 0 \u0434\u043b\u044f quick_abort_min \u0438 quick_abort_max \u043e\u0442\u043c\u0435\u043d\u044f\u044e\u0442 \u0434\u043e\u043a\u0430\u0447\u043a\u0443\n# \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 -1 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u0443\u044e \u0437\u0430\u043a\u0430\u0447\u043a\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u043e\u0441\u0442\u0430\u0432\u0448\u0435\u0433\u043e\u0441\u044f \u043e\u0431\u044a\u0435\u043c\u0430, \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\n# \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 16 \u041a\u0431\nquick_abort_min 5 MB\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u043f\u0443\u0442\u044c \u043a \u043a\u0435\u0448\u0443 \u0431\u044b\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u043a\u044d\u0448\u0430, \u0437\u0430\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre>mkdir -p \/usr\/local\/squid\/cache\nchown root:squid \/usr\/local\/squid\/cache\nchmod 770 \/usr\/local\/squid\/cache<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043a\u044d\u0448\u0430:<\/p>\n<pre>\/usr\/local\/sbin\/squid -z<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"access-restrictions\" name=\"access-restrictions\"><\/a>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid<\/h2>\n<p style=\"text-align: justify;\">\u0421 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u043c \u0433\u0438\u0433\u0430\u043d\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438 \u043d\u0430 HTTPS \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 HTTPS-\u0442\u0440\u0430\u0444\u0438\u043a \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044f. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e\u043c\u0443 \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u043a\u0441\u0438, \u043b\u0438\u0431\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u0439\u0442\u044b \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 DNS.<\/p>\n<p style=\"text-align: justify;\">\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e \u0442\u0438\u043f\u0443 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u043e HTTPS-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u043d\u0438 \u0432 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u043c, \u043d\u0438 \u0432 \u043d\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435.<\/p>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c squid.conf \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre>...\nacl CONNECT method CONNECT\n\n\n<strong># \u041f\u0443\u0442\u044c \u043a \u0441\u043f\u0438\u0441\u043a\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0437\u0430\u043f\u0440\u0435\u0442\u044b\n#acl AdminsIP src \"\/usr\/local\/etc\/squid\/AccessLists\/AdminsIP.txt\"\n\n# \u041f\u0443\u0442\u044c \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432\n#acl RestrictedDomains dstdomain \"\/usr\/local\/etc\/squid\/AccessLists\/RestrictedDomains.txt\"\n\n# Mime-\u0442\u0438\u043f\u044b \u0434\u043b\u044f \u0430\u0443\u0434\u0438\u043e \u0438 \u0432\u0438\u0434\u0435\u043e\n#acl MimeAudioVideo  rep_mime_type audio video\n\n# \u0421\u0430\u0439\u0442\u044b \u0441 IP-\u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438\n#acl UrlIP url_regex -i ^http:\/\/[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\/.*<\/strong>\n\n\n#\n# \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:\n#\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u043e\u0440\u0442\u0430\u043c, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0432\u044b\u0448\u0435\nhttp_access deny !Safe_ports\n\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 CONNECT \u043d\u0435 \u043d\u0430 SSL-\u043f\u043e\u0440\u0442\nhttp_access deny CONNECT !SSL_ports\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0435\u043c\nhttp_access allow localhost manager\nhttp_access allow manager CacheManagerIP\nhttp_access deny manager\n\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043a\u0441\u0438\n# \u041d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\n# \u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 127.0.0.1.\nhttp_access deny to_localhost\n\n#\n# \u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432\n#\n\n<strong># \u041d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\nhttp_access allow localhost<\/strong>\n\n<strong># \u041d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c\n#http_access allow AdminsIP\n\n# \u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043d\u044b\u0435 \u0441\u0430\u0439\u0442\u044b\n#http_access deny RestrictedDomains\n\n# \u0417\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u043f\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0443\n#http_access deny UrlIP<\/strong>\n\n\n# \u041e\u0431\u0440\u0430\u0437\u0435\u0446 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438\u0437 \u0432\u0430\u0448\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438\n# \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0430\u0448\u0438\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 IP-\u0441\u0435\u0442\u0435\u0439, \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0432 acl localnet\nhttp_access allow localnet\n\n# \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0432\u044b\u0448\u0435\nhttp_access deny all\n\n\n<strong>#\n#\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430\u043c \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0441 HTTPS \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\n#\n\n# \u041d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c\n#http_reply_access allow AdminsIP\n\n# \u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0430\u0443\u0434\u0438\u043e\/\u0432\u0438\u0434\u0435\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430\n# \u0423\u0441\u043f\u0435\u0445 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\n# \u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438 MIME-\u0442\u0438\u043f\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c\n#http_reply_access deny MimeAudioVideo\n\n# \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\nhttp_reply_access allow all\n<\/strong>\n\n\n# \u0410\u0434\u0440\u0435\u0441 \u0438 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439\n# \u041e\u0431\u044b\u0447\u043d\u043e Squid \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0440\u0442 3128\n# \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438, \u043f\u043e\u0440\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c\nhttp_port 3128\n#http_port 127.0.0.1:3128\n...\n<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u0434\u043b\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre>mkdir \/usr\/local\/etc\/squid\/AccessLists<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u043f\u0438\u0441\u043a\u0438, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439.<\/p>\n<p style=\"text-align: justify;\">\u0421\u043f\u0438\u0441\u043e\u043a IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0441 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c:<\/p>\n<pre>ee \/usr\/local\/etc\/squid\/AccessLists\/AdminsIP.txt<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0430\u0439\u0442\u043e\u0432, \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u0422\u043e\u0447\u043a\u0430 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u043c \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u0432 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0435. \u0414\u043b\u044f \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0439 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0440\u0430\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0430 SquidGuard.<\/p>\n<pre>ee \/usr\/local\/etc\/squid\/AccessLists\/RestrictedDomains.txt<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid restart<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"request-header-request\" name=\"request-header-request\"><\/a>\u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 Squid<\/h2>\n<p style=\"text-align: justify;\">\u0414\u0435\u043b\u043e \u0431\u044b\u043b\u043e \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c Debian-\u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041e\u0434\u0438\u043d \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0440\u0430\u0434\u0438\u043e \u043f\u043e\u0440\u0442\u0430\u043b\u043e\u0432 \u043d\u0430\u043f\u0440\u043e\u0447\u044c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0441\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043c\u043e\u0435\u043c \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435, \u043d\u0430\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043b\u0435\u0439\u0435\u0440 \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043d\u0435 \u0431\u044b\u043b \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0446\u0435\u043d\u0442\u0440 \u043f\u043e\u0434 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u0443\u0442\u0435\u043c \u043f\u043e\u0434\u043c\u0435\u043d\u044b \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 User-Agent \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Squid&#8217;\u0430 \u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u043f\u043e\u0434\u043c\u0435\u043d\u044b HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0440\u0438 \u043e\u043f\u0446\u0438\u0438 \u0432 squid.conf:<\/p>\n<pre># \u041f\u043e\u0434\u043c\u0435\u043d\u0430 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 User-Agent\n# \u0417\u0430\u0434\u0430\u0435\u043c IP-\u0430\u0434\u0440\u0435\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043c\u0435\u043d\u0430\nacl MediaDevice src 192.168.0.3\n# \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 User-Agent\nrequest_header_access User-Agent deny MediaDevice\n# \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043e\u0434\u043c\u0435\u043d\u0443 HTTP-\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 User-Agent, \u0437\u0430\u0434\u0430\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u043e \u0432\u043a\u0443\u0441\u0443 ;)\nrequest_header_replace User-Agent Mozilla\/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko\/20100101 Firefox\/36.0\n<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid restart<\/pre>\n<p style=\"text-align: justify;\">\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u0435 \u043d\u0430\u0433\u043b\u043e \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 HTTP-\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u0431\u043e\u0440\u043a\u0430 Squid \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c LAX_HTTP, \u043e\u043d \u0436\u0435 &#8212;enable-http-violations.<\/p>\n<h2 style=\"text-align: justify;\"><a id=\"move-logs-to-usr\" name=\"move-logs-to-usr\"><\/a>\u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u043b\u043e\u0433\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Squid<\/h2>\n<p style=\"text-align: justify;\">\u041b\u043e\u0433\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Squid \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0431\u044a\u0435\u043c. \u041d\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\u0445, \u0433\u0434\u0435 \/var\/log \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c \u043b\u043e\u0433 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \/usr\/local.<\/p>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432, \u0437\u0430\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n<pre>mkdir -p \/usr\/local\/squid\/log\nchown root:squid \/usr\/local\/squid\/log\nchmod 770 \/usr\/local\/squid\/log<\/pre>\n<p style=\"text-align: justify;\">\u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid stop<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u043b\u043e\u0433\u0438 \u0432 \u043d\u043e\u0432\u043e\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435:<\/p>\n<pre>mv \/var\/log\/squid\/* \/usr\/local\/squid\/log<\/pre>\n<p style=\"text-align: justify;\">\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \/var\/log\/squid \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \/usr\/local\/squid\/log:<\/p>\n<pre>rmdir \/var\/log\/squid\nln -s \/usr\/local\/squid\/log \/var\/log\/squid<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Squid:<\/p>\n<pre>service squid start<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"kernel-forwarding\" name=\"kernel-forwarding\"><\/a>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044f\u0434\u0440\u0430 (FreeBSD 9.1 \u0438 \u0440\u0430\u043d\u0435\u0435)<\/h2>\n<p style=\"text-align: justify;\">\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 FreeBSD 9.2 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u044f\u0434\u0440\u0430 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f, \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u0438\u043d\u0433 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043e\u0442\u043d\u044b\u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 IPFIREWALL_FORWARD \u0443\u0434\u0430\u043b\u0435\u043d \u0438\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u044f\u0434\u0440\u0430.<\/p>\n<p style=\"text-align: justify;\">\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0432 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043e 9.2 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0431-\u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0443. \u0415\u0441\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f IPFW, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u0438\u043d\u0433 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0432 \u044f\u0434\u0440\u043e \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 IPFIREWALL_FORWARD.<\/p>\n<p style=\"text-align: justify;\">\u0412 \u044f\u0434\u0440\u0435 GENERIC \u043e\u043f\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0430. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre>grep ipfw \/var\/run\/dmesg.boot<\/pre>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<pre>ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u043c: &#171;<strong>rule-based forwarding disabled<\/strong>&#171;, \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u0438\u043d\u0433 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044f\u0434\u0440\u043e. \u0415\u0441\u043b\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0437\u043d\u0430\u0447\u0438\u0442 IPFW \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d.  \u0415\u0441\u043b\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#171;rule-based forwarding&#187;, \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0430 \u044f\u0434\u0440\u0430 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p style=\"text-align: justify;\">\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044f\u0434\u0440\u0430:<\/p>\n<pre>uname -i\n<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u0440\u0430\u043d\u0435\u0435 \u044f\u0434\u0440\u043e \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u043b\u043e\u0441\u044c, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<pre>GENERIC<\/pre>\n<p style=\"text-align: justify;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044f\u0434\u0440\u0430 IPFORWARD:<\/p>\n<pre>ee \/usr\/src\/sys\/i386\/conf\/IPFORWARD<\/pre>\n<p style=\"text-align: justify;\">\u0417\u0430\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre>#\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 GENERIC\ninclude GENERIC\n\n#\u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044f\u0434\u0440\u0430, \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044f\u0434\u0440\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\nident IPFORWARD\n\n#\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432\noptions IPFIREWALL\noptions IPFIREWALL_FORWARD<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<pre>cd \/usr\/src<\/pre>\n<p style=\"text-align: justify;\">\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u044b \u0432 \/usr\/src \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0448\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p style=\"text-align: justify;\">\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u044f\u0434\u0440\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433:<\/p>\n<pre>make kernel KERNCONF=IPFORWARD\n<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/p>\n<pre>shutdown -r now<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u044f\u0434\u0440\u0430:<\/p>\n<pre>uname -i\n<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044f\u0434\u0440\u0430, \u0432 \u043e\u0442\u0432\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<pre>IPFORWARD<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441 IPFW:<\/p>\n<pre>grep ipfw \/var\/run\/dmesg.boot<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<pre>ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding enabled, default to deny, logging disabled\n<\/pre>\n<h2 style=\"text-align: justify;\"><a id=\"troubleshoot\" name=\"troubleshoot\"><\/a>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/h2>\n<p style=\"text-align: justify;\">\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0432 cache.log:<\/p>\n<pre>WARNING: no_suid: setuid(0): (1) Operation not permitted<\/pre>\n<p style=\"text-align: justify;\">\u0411\u0430\u0433 Squid \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 3.2, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0430 BSD-\u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0438\u0437-\u0437\u0430 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 setuid.<\/p>\n<p style=\"text-align: justify;\">\u0411\u0430\u0433-\u0440\u0435\u043f\u043e\u0440\u0442: <a href=\"http:\/\/bugs.squid-cache.org\/show_bug.cgi?id=3785\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/bugs.squid-cache.org\/show_bug.cgi?id=3785<\/a><\/p>\n<p style=\"text-align: justify;\">\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Squid, \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 daemon \u043d\u0430 stdio \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043f\u0443\u0442\u0438 \u043a access.log-\u0443.<\/p>\n<hr \/>\n<p style=\"text-align: justify;\">\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 Squid:<\/p>\n<pre>FATAL: Bungled \/usr\/local\/etc\/squid\/squid.conf line 64: acl manager proto cache_object<\/pre>\n<p style=\"text-align: justify;\">\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 3.2 \u0441\u043f\u0438\u0441\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430: manager, localhost \u0438 to_localhost \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0441\u043a\u0432\u0438\u0434\u043e\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0438\u0445 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430. \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430.<\/p>\n<hr \/>\n<p style=\"text-align: justify;\">\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 cache.log:<\/p>\n<pre>ERROR: No forward-proxy ports configured.<\/pre>\n<p style=\"text-align: justify;\">\u041d\u0435 \u0437\u0430\u0434\u0430\u043d \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432 squid.conf \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b:<\/p>\n<pre>http_port 3128<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u043a\u0441\u0438, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 3.2, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0434\u0432\u0435 \u043e\u043f\u0446\u0438\u0438 http_port. \u041e\u0434\u0438\u043d\u0430 \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0432\u0442\u043e\u0440\u0430\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u0442\u0440\u0430\u0444\u0438\u043a\u0430:<\/p>\n<pre>http_port 3128\nhttp_port 127.0.0.1:3128 intercept\n\n<\/pre>\n<hr \/>\n<p style=\"text-align: justify;\">\u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 Squid \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f:<\/p>\n<pre>WARNING: (A) '192.168.0.0\/16' is a subnetwork of (B) '::\/0'\nWARNING: because of this '192.168.0.0\/16' is ignored to keep splay tree searching predictable\nWARNING: You should probably remove '192.168.0.0\/16' from the ACL named 'all'\n<\/pre>\n<p style=\"text-align: justify;\">\u0412 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f acl all. \u0412 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 all \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u043a\u0432\u0438\u0434\u043e\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430. \u0423\u0434\u0430\u043b\u0438\u0442\u0435 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0439\u0442\u0435 acl all.<\/p>\n<hr \/>\n<p style=\"text-align: justify;\">\u0412 cache.log \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0438\u0448\u0443\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f:<\/p>\n<pre>WARNING: transparent proxying not supported<\/pre>\n<p style=\"text-align: justify;\">\u041f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043d\u0435 \u0431\u044b\u043b\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430. \u041f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 Squid \u0438\u0437 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u043e\u0432 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.<\/p>\n<h2 style=\"text-align: justify;\"><a id=\"links\" name=\"links\"><\/a>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h2>\n<p style=\"text-align: justify;\">\u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:  \/usr\/local\/etc\/squid\/squid.conf.documented<\/p>\n<p style=\"text-align: justify;\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430: <a href=\"http:\/\/www.squid-cache.org\/Doc\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.squid-cache.org\/Doc\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[588],"tags":[584,594,595,596,382,38,597,383,71,122],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-588","tag-freebsd","tag-http","tag-ipfw","tag-make","tag-squid","tag-38","tag-597","tag-383","tag-71","tag-122"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"UNLIX\"\/>\n\t<meta name=\"keywords\" content=\"freebsd,http,ipfw,make,squid,\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430,\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439,\u043f\u0440\u043e\u043a\u0441\u0438,\u0441\u0435\u0440\u0432\u0435\u0440,\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430,\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"UNLIX - \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-10-03T17:13:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-23T03:14:38+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\" \/>\n\t\t<meta name=\"twitter:image\" content=\"http:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#article\",\"name\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid 3 \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438 \\u043d\\u0430 FreeBSD | UNLIX\",\"headline\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid 3 \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438 \\u043d\\u0430 FreeBSD\",\"author\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/freebsd.ml\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/Caching-Proxy-Squid-3-3-10-Sees-Numerous-Fixes-300x163.png\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#articleImage\"},\"datePublished\":\"2015-10-03T20:13:17+03:00\",\"dateModified\":\"2019-10-23T06:14:38+03:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#webpage\"},\"articleSection\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u043e\\u0432, FreeBSD, http, ipfw, Make, squid, \\u043d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430, \\u041f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u044b\\u0439, \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438, \\u0441\\u0435\\u0440\\u0432\\u0435\\u0440, \\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/skilx.cc\\\/unlix\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\\\/#listItem\",\"name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u043e\\u0432\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\\\/#listItem\",\"position\":2,\"name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u043e\\u0432\",\"item\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#listItem\",\"name\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid 3 \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438 \\u043d\\u0430 FreeBSD\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#listItem\",\"position\":3,\"name\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid 3 \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438 \\u043d\\u0430 FreeBSD\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\\\/#listItem\",\"name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u043e\\u0432\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\",\"name\":\"UNLIX\",\"description\":\"\\u0437\\u0430\\u043c\\u0435\\u0442\\u043a\\u0438 \\u043e UNIX \\u0438 LINUX \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u0430\\u0445\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/\",\"name\":\"UNLIX\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb658ed897a5bd13cad2519cd095d49eb0268cd23e9c6ae956a0bdc37bfd9ae8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"UNLIX\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#webpage\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/\",\"name\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid 3 \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438 \\u043d\\u0430 FreeBSD | UNLIX\",\"description\":\"\\u041d\\u0430\\u0441\\u0442\\u0440\\u0430\\u0438\\u0432\\u0430\\u0435\\u043c Squid \\u0432 \\u043a\\u0430\\u0447\\u0435\\u0441\\u0442\\u0432\\u0435 \\u043f\\u0440\\u043e\\u0437\\u0440\\u0430\\u0447\\u043d\\u043e\\u0433\\u043e \\u043f\\u0440\\u043e\\u043a\\u0441\\u0438-\\u0441\\u0435\\u0440\\u0432\\u0435\\u0440\\u0430 \\u0434\\u043b\\u044f \\u043d\\u0435\\u0431\\u043e\\u043b\\u044c\\u0448\\u043e\\u0439 \\u0441\\u0435\\u0442\\u0438. \\u0421\\u043e\\u0434\\u0435\\u0440\\u0436\\u0430\\u043d\\u0438\\u0435 \\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 Squid \\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 Squid \\u041e\\u0442\\u043e\\u0431\\u0440\\u0430\\u0436\\u0435\\u043d\\u0438\\u0435 \\u043c\\u0435\\u0441\\u0442\\u043d\\u043e\\u0433\\u043e \\u0432\\u0440\\u0435\\u043c\\u0435\\u043d\\u0438 \\u043d\\u0430 \\u0441\\u0442\\u0440\\u0430\\u043d\\u0438\\u0446\\u0430\\u0445 \\u043e\\u0448\\u0438\\u0431\\u043e\\u043a Squid \\u0417\\u0430\\u043f\\u0443\\u0441\\u043a Squid \\u041f\\u0440\\u043e\\u0442\\u043e\\u043a\\u043e\\u043b \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f \\u043a\\u044d\\u0448\\u0435\\u043c Squid \\u041d\\u0430\\u0441\\u0442\\u0440\\u043e\\u0439\\u043a\\u0430 IPFW \\u0420\\u043e\\u0442\\u0430\\u0446\\u0438\\u044f \\u043b\\u043e\\u0433\\u043e\\u0432 Squid \\u041f\\u0430\\u043a\\u0435\\u0442\\u043d\\u044b\\u0439 \\u043c\\u0435\\u043d\\u0435\\u0434\\u0436\\u0435\\u0440 \\u0438 \\u043a\\u0430\\u0441\\u0442\\u043e\\u043c\\u0438\\u0437\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u043d\\u044b\\u0439 Squid \\u041a\\u044d\\u0448\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043a\\u043e\\u043d\\u0442\\u0435\\u043d\\u0442\\u0430 \\u0432 Squid \\u041e\\u0433\\u0440\\u0430\\u043d\\u0438\\u0447\\u0435\\u043d\\u0438\\u044f \\u0434\\u043e\\u0441\\u0442\\u0443\\u043f\\u0430 \\u043a \\u0441\\u0430\\u0439\\u0442\\u0430\\u043c \\u0438 \\u043a\\u043e\\u043d\\u0442\\u0435\\u043d\\u0442\\u0443 \\u0432 Squid \\u041f\\u043e\\u0434\\u043c\\u0435\\u043d\\u0430 \\u0437\\u0430\\u0433\\u043e\\u043b\\u043e\\u0432\\u043a\\u043e\\u0432 \\u0432 \\u0437\\u0430\\u043f\\u0440\\u043e\\u0441\\u0435 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 \\u0432\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2015-10-03T20:13:17+03:00\",\"dateModified\":\"2019-10-23T06:14:38+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#website\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/\",\"name\":\"UNLIX\",\"description\":\"\\u0437\\u0430\\u043c\\u0435\\u0442\\u043a\\u0438 \\u043e UNIX \\u0438 LINUX \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u0430\\u0445\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX","description":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432","canonical_url":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/","robots":"max-image-preview:large","keywords":"freebsd,http,ipfw,make,squid,\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430,\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439,\u043f\u0440\u043e\u043a\u0441\u0438,\u0441\u0435\u0440\u0432\u0435\u0440,\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430,\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#article","name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX","headline":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD","author":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/skilx.cc\/unlix\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/freebsd.ml\/wp-content\/uploads\/2015\/10\/Caching-Proxy-Squid-3-3-10-Sees-Numerous-Fixes-300x163.png","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#articleImage"},"datePublished":"2015-10-03T20:13:17+03:00","dateModified":"2019-10-23T06:14:38+03:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#webpage"},"isPartOf":{"@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#webpage"},"articleSection":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, FreeBSD, http, ipfw, Make, squid, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430, \u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439, \u043f\u0440\u043e\u043a\u0441\u0438, \u0441\u0435\u0440\u0432\u0435\u0440, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"},{"@type":"BreadcrumbList","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix#listItem","position":1,"name":"Home","item":"https:\/\/skilx.cc\/unlix","nextItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\/#listItem","name":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432"}},{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\/#listItem","position":2,"name":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432","item":"https:\/\/skilx.cc\/unlix\/category\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#listItem","name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD"},"previousItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#listItem","position":3,"name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD","previousItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%be%d0%b2\/#listItem","name":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432"}}]},{"@type":"Organization","@id":"https:\/\/skilx.cc\/unlix\/#organization","name":"UNLIX","description":"\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","url":"https:\/\/skilx.cc\/unlix\/"},{"@type":"Person","@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author","url":"https:\/\/skilx.cc\/unlix\/author\/admin\/","name":"UNLIX","image":{"@type":"ImageObject","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/eb658ed897a5bd13cad2519cd095d49eb0268cd23e9c6ae956a0bdc37bfd9ae8?s=96&d=mm&r=g","width":96,"height":96,"caption":"UNLIX"}},{"@type":"WebPage","@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#webpage","url":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/","name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX","description":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/skilx.cc\/unlix\/#website"},"breadcrumb":{"@id":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/#breadcrumblist"},"author":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"creator":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"datePublished":"2015-10-03T20:13:17+03:00","dateModified":"2019-10-23T06:14:38+03:00"},{"@type":"WebSite","@id":"https:\/\/skilx.cc\/unlix\/#website","url":"https:\/\/skilx.cc\/unlix\/","name":"UNLIX","description":"\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/skilx.cc\/unlix\/#organization"}}]},"og:locale":"ru_RU","og:site_name":"UNLIX - \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","og:type":"article","og:title":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX","og:description":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432","og:url":"https:\/\/skilx.cc\/unlix\/squid-3-%d0%b2-%d0%ba%d0%b0%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b5-%d0%bf%d1%80%d0%be%d0%b7%d1%80%d0%b0%d1%87%d0%bd%d0%be%d0%b3%d0%be-%d0%bf%d1%80%d0%be%d0%ba%d1%81%d0%b8-%d0%bd%d0%b0-freebsd\/","og:image":"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg","og:image:secure_url":"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg","article:published_time":"2015-10-03T17:13:17+00:00","article:modified_time":"2019-10-23T03:14:38+00:00","twitter:card":"summary","twitter:title":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid 3 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438 \u043d\u0430 FreeBSD | UNLIX","twitter:description":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Squid \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Squid \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u0417\u0430\u043f\u0443\u0441\u043a Squid \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u044d\u0448\u0435\u043c Squid \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 IPFW \u0420\u043e\u0442\u0430\u0446\u0438\u044f \u043b\u043e\u0433\u043e\u0432 Squid \u041f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Squid \u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 Squid \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0432 Squid \u041f\u043e\u0434\u043c\u0435\u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432","twitter:image":"http:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg"},"aioseo_meta_data":{"post_id":"582","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 08:25:33","updated":"2026-06-08 18:34:21","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts\/582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":0,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"wp:attachment":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}