<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Squid доработка существующего конфига]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=20389&amp;type=atom" />
	<updated>2012-02-20T11:54:14Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=20389</id>
		<entry>
			<title type="html"><![CDATA[Re: Squid доработка существующего конфига]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=252501#p252501" />
			<content type="html"><![CDATA[<p>Всегда пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[Vadimsky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=411</uri>
			</author>
			<updated>2012-02-20T11:54:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=252501#p252501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid доработка существующего конфига]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=252499#p252499" />
			<content type="html"><![CDATA[<p>спасибо помогло.</p>]]></content>
			<author>
				<name><![CDATA[shinma]]></name>
				<uri>https://linuxforum.ru/profile.php?id=19528</uri>
			</author>
			<updated>2012-02-20T11:46:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=252499#p252499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid доработка существующего конфига]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=252485#p252485" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>acl fun dstdomain &quot;/usr/local/squid/etc/ban/fun.conf&quot;
http_access deny fun</code></pre></div><p>fun.conf:<br /></p><div class="codebox"><pre><code>.ua
.vk.com
.relax.ru
.odnoklassniki.ru
.odnoklasniki.ru
.vkontakte.ru
.youtube.com</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Vadimsky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=411</uri>
			</author>
			<updated>2012-02-20T11:03:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=252485#p252485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Squid доработка существующего конфига]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=252426#p252426" />
			<content type="html"><![CDATA[<p>Помогите разобраться как наверняка забанить сайты &quot;.ua&quot;, но чтобы не банить все сайты где есть сочетание этих знаков.<br />часть кода squid.conf<br /></p><div class="codebox"><pre><code>acl porn url_regex &quot;/usr/local/squid/etc/ban/porn.conf&quot;
acl fun url_regex &quot;/usr/local/squid/etc/ban/fun.conf&quot;
acl chat url_regex &quot;/usr/local/squid/etc/ban/chat.conf&quot;
acl games url_regex &quot;/usr/local/squid/etc/ban/games.conf&quot;
acl muzz url_regex &quot;/usr/local/squid/etc/ban/muzz.conf&quot;
http_access deny muzz
http_access deny porn
http_access deny fun
http_access deny chat
http_access deny games
deny_info http://192.168.0.1/banned/index.html muzz
deny_info http://192.168.0.1/banned/index.html porn
deny_info http://192.168.0.1/banned/index.html fun
deny_info http://192.168.0.1/banned/index.html chat
deny_info http://192.168.0.1/banned/index.html games
#end of block</code></pre></div><p>Я пробовал добавить запись вида </p><div class="codebox"><pre><code>^.*ua.*$</code></pre></div><p> и </p><div class="codebox"><pre><code>^.*ua/*$</code></pre></div><p> в fun.conf . Но сквида не бананит эти домены.</p>]]></content>
			<author>
				<name><![CDATA[shinma]]></name>
				<uri>https://linuxforum.ru/profile.php?id=19528</uri>
			</author>
			<updated>2012-02-20T08:06:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=252426#p252426</id>
		</entry>
</feed>
