<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; centos 5.4 прокси прозрачка через iptables]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=2474&amp;type=atom" />
	<updated>2010-04-08T10:29:06Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=2474</id>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33353#p33353" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>leonardo пишет:</cite><blockquote><p>есть у кого конфиг squid для сравнение?&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p></blockquote></div><p>в инетрнете есть куча готовых конфигов для squid, даже есть генераторы конфигов, вам необходимо подставить нужные значения и опа, готово все <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Воспользуйтесь поиском все же <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Как подставите конфиг, так сраз сюда, получится - не -&nbsp; получится <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T10:29:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33353#p33353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33352#p33352" />
			<content type="html"><![CDATA[<p>есть у кого конфиг squid для сравнение?&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T10:26:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33352#p33352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33349#p33349" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>leonardo пишет:</cite><blockquote><p>точнее стандартную настройку, объясните smile</p></blockquote></div><p>посмотрите squid.conf.default</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T10:21:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33349#p33349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33329#p33329" />
			<content type="html"><![CDATA[<p>точнее стандартную настройку, объясните smile</p>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T09:48:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33329#p33329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33325#p33325" />
			<content type="html"><![CDATA[<p><strong>leonardo</strong>, Внимательно смотрите конфиг squid, у вас ошибки в конфиге, нет логов&nbsp; к томуже. Возьмите конфиг по дефолту, не удаляйте коментарии а выполните стандартную настройку <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T09:41:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33325#p33325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33324#p33324" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>[root@centos ~]# squid -z
2010/04/08 14:33:19| parseConfigFile: line 5 unrecognized: &#039; &#039;
FATAL: Bungled squid.conf line 7: acl Safe_ports port 80        # http
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
[root@centos ~]# tail -20  /var/log/squid/cache.log
tail: cannot open `/var/log/squid/cache.log&#039; for reading: No such file or directory
[root@centos ~]# </code></pre></div>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T09:36:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33324#p33324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33321#p33321" />
			<content type="html"><![CDATA[<p>перед service squid start, сделай squid -z, и покажи то что я тебе писал уже:&nbsp; tail -20&nbsp; /var/log/squid/cache.log</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T09:18:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33321#p33321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33319#p33319" />
			<content type="html"><![CDATA[<p>конфин вот в этих областях ругается <br /></p><div class="codebox"><pre><code>acl SSL_ports port 443 563
acl Safe_ports port 80        # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443        # https
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl CONNECT method CONNECT</code></pre></div><div class="codebox"><pre><code>[root@centos ~]# mkdir /var/cache/squid
[root@centos ~]# 
[root@centos ~]# vim /etc/squid/squid.conf
[root@centos ~]# 
[root@centos ~]# 
[root@centos ~]# 
[root@centos ~]# ls -l /var/cache/squid
total 0
[root@centos ~]# 
[root@centos ~]# 
[root@centos ~]# chown -R squid:squid /var/cache/squid
[root@centos ~]# 
[root@centos ~]# 
[root@centos ~]# service squid start
init_cache_dir /var/cache/squid... Starting squid:         [FAILED]
[root@centos ~]# </code></pre></div><br /><br /><div class="codebox"><pre><code>[root@centos ~]# tail 10 /etc/squid/squid.conf|grep -v &#039;#&#039;
tail: cannot open `10&#039; for reading: No such file or directory
==&gt; /etc/squid/squid.conf &lt;==
 
visible_hostname yourdomain.com
 
icp_port 3130
 
always_direct    allow    all
 
forwarded_for off
 
coredump_dir /var/cache/squid</code></pre></div>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T09:16:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33319#p33319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33318#p33318" />
			<content type="html"><![CDATA[<p>что там в конфиге то ? поправил?&nbsp; <strong> tail 10 /etc/squid/squid.conf|grep -v &#039;#&#039;</strong></p><p>mkdir /var/cache/squid<br />chown -R squid:squid /var/cache/squid</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T09:09:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33318#p33318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33317#p33317" />
			<content type="html"><![CDATA[<p>i2ks <br /></p><div class="codebox"><pre><code>[root@centos ~]# squid -z
2010/04/08 14:03:01| parseConfigFile: line 5 unrecognized: &#039; &#039;
FATAL: Bungled squid.conf line 7: acl Safe_ports port 80        # http
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
[root@centos ~]# /etc/init.d/squid start
init_cache_dir /var/spool/squid... Starting squid:         [FAILED]
[root@centos ~]# </code></pre></div><div class="codebox"><pre><code>[root@centos ~]# ls -l /var/cache/squid
ls: /var/cache/squid: No such file or directory
[root@centos ~]# ls -l /var/spool/squid
total 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T09:07:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33317#p33317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33316#p33316" />
			<content type="html"><![CDATA[<p><strong>leonardo</strong>, ls -l /var/cache/squid</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T09:05:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33316#p33316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33314#p33314" />
			<content type="html"><![CDATA[<p>отредактировал на /var/cache/squid точно также</p>]]></content>
			<author>
				<name><![CDATA[leonardo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3299</uri>
			</author>
			<updated>2010-04-08T09:03:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33314#p33314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33313#p33313" />
			<content type="html"><![CDATA[<p><strong>leonardo</strong>, покажи tail -20&nbsp; /var/log/squid/cache.log или попробуй запустить так squid -z , а потом /etc/init.d/squid start</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T09:03:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33313#p33313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33312#p33312" />
			<content type="html"><![CDATA[<p>а по поводу кэша: скорее всего путь указан не правильно и директория отсутствует...</p><div class="quotebox"><cite>i2ks пишет:</cite><blockquote><div class="quotebox"><cite>Hrafn пишет:</cite><blockquote><p>в первой строке пропущена первая буква &quot;а&quot;<br />в пятой проверьте, что за ковычки стоят</p><p>а что там про /var/spool/cache?</p></blockquote></div><p>скорее всего прав не хватает на этот каталог</p></blockquote></div><p>у меня в центоси нет такой директории вообще... кэш лежит в /var/spool/squid или /var/cache/squid</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-04-08T08:58:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33312#p33312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: centos 5.4 прокси прозрачка через iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=33311#p33311" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hrafn пишет:</cite><blockquote><p>в первой строке пропущена первая буква &quot;а&quot;<br />в пятой проверьте, что за ковычки стоят</p><p>а что там про /var/spool/cache?</p></blockquote></div><p>скорее всего прав не хватает на этот каталог</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-04-08T08:57:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=33311#p33311</id>
		</entry>
</feed>
