<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Fedora17 + sams2 + squid]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=30105</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=30105&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Fedora17 + sams2 + squid».]]></description>
		<lastBuildDate>Wed, 04 Sep 2013 12:15:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fedora17 + sams2 + squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=361850#p361850</link>
			<description><![CDATA[<p>Что то в конфиге ещё не хватает для ограничения скорости и для блокировки. Вы всё верно сделали по мануалу????</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 04 Sep 2013 12:15:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=361850#p361850</guid>
		</item>
		<item>
			<title><![CDATA[Fedora17 + sams2 + squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=361846#p361846</link>
			<description><![CDATA[<p>Установил на fedora17 sams2. <br />Статистика работает трафик считается, но не работает ограничение по трафику и ограничение к доступу к сайтам. </p><p>По началу sams вообще не добавлял правила в squid.conf. Потом я прописал в squid следующие строки:<br /> # <br /># Следующие строки управляются SAMS <br /># </p><p># TAG: acl </p><p># TAG: http_access </p><p>#Конец управляемых настроек <br />http_access deny all </p><p>после добавление этих строчек, я нажал переконфигурить&nbsp; squid и получил следующие: <br /># <br /># Следующие строки управляются SAMS <br /># </p><p># TAG: acl <br />acl Sams2Time1 time MTWHFAS 23:00-23:59<br />acl Sams2Template1 src 192.168.0.132<br />acl Sams2Template1 src 192.168.0.57</p><p># TAG: http_access <br /># Setup Sams2 HTTP Access here<br />http_access allow Sams2Template1</p><p>#Конец управляемых настроек&nbsp; <br />http_access deny all </p><p>Но доступ так и не стал блокироваться....</p><p>Привожу вам полную конфигурацию squid:</p><p>#acl localnet src 10.0.0.0/8&nbsp; &nbsp; # RFC1918 possible internal network<br />acl localnet src 192.168.0.0/16&nbsp; &nbsp; # RFC1918 possible internal network<br />#acl localnet src 192.168.0.0/16&nbsp; &nbsp; # RFC1918 possible internal network<br />acl localnet src fc00::/7&nbsp; &nbsp; &nbsp; &nbsp;# RFC 4193 local private network range<br />acl localnet src fe80::/10&nbsp; &nbsp; &nbsp; # RFC 4291 link-local (directly plugged) machines<br />acl SSL_ports port 443<br />acl Safe_ports port 80&nbsp; &nbsp; &nbsp; &nbsp; # http<br />acl Safe_ports port 21&nbsp; &nbsp; &nbsp; &nbsp; # ftp<br />acl Safe_ports port 443&nbsp; &nbsp; &nbsp; &nbsp; # https<br />acl Safe_ports port 70&nbsp; &nbsp; &nbsp; &nbsp; # gopher<br />acl Safe_ports port 210&nbsp; &nbsp; &nbsp; &nbsp; # wais<br />acl Safe_ports port 1025-65535&nbsp; &nbsp; # unregistered ports<br />acl Safe_ports port 280&nbsp; &nbsp; &nbsp; &nbsp; # http-mgmt<br />acl Safe_ports port 488&nbsp; &nbsp; &nbsp; &nbsp; # gss-http<br />acl Safe_ports port 591&nbsp; &nbsp; &nbsp; &nbsp; # filemaker<br />acl Safe_ports port 777&nbsp; &nbsp; &nbsp; &nbsp; # multiling http<br />acl CONNECT method CONNECT<br />http_access allow localhost manager<br />http_access deny manager<br />http_access deny !Safe_ports<br />http_access deny CONNECT !SSL_ports<br />http_access allow localnet<br />http_access allow localhost<br />http_access deny all<br />http_port 192.168.0.1:3128 intercept<br />coredump_dir /var/spool/squid<br />refresh_pattern ^ftp:&nbsp; &nbsp; &nbsp; &nbsp; 1440&nbsp; &nbsp; 20%&nbsp; &nbsp; 10080<br />refresh_pattern ^gopher:&nbsp; &nbsp; 1440&nbsp; &nbsp; 0%&nbsp; &nbsp; 1440<br />refresh_pattern -i (/cgi-bin/|\?) 0&nbsp; &nbsp; 0%&nbsp; &nbsp; 0<br />refresh_pattern .&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; 20%&nbsp; &nbsp; 4320</p><p># <br /># Следующие строки управляются SAMS <br /># </p><p># TAG: acl <br />acl Sams2Time1 time MTWHFAS 23:00-23:59<br />acl Sams2Template1 src 192.168.0.132<br />acl Sams2Template1 src 192.168.0.57</p><p># TAG: http_access <br /># Setup Sams2 HTTP Access here<br />http_access allow Sams2Template1</p><p>#Конец управляемых настроек&nbsp; <br />http_access deny all </p><p>Уже не знаю куда рыть... Помогите разобраться.</p>]]></description>
			<author><![CDATA[null@example.com (grinka)]]></author>
			<pubDate>Wed, 04 Sep 2013 11:52:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=361846#p361846</guid>
		</item>
	</channel>
</rss>
