<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Squid слушает udp порт, подскажите?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=22828&amp;type=atom" />
	<updated>2012-06-21T11:08:52Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=22828</id>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283383#p283383" />
			<content type="html"><![CDATA[<p>Можно увидеть весь squid.conf целиком?</p>]]></content>
			<author>
				<name><![CDATA[Vadimsky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=411</uri>
			</author>
			<updated>2012-06-21T11:08:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283383#p283383</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283369#p283369" />
			<content type="html"><![CDATA[<p>прописать </p><div class="codebox"><pre><code>udp_incoming_address  &lt;внешний ip-адрес&gt;</code></pre></div><p> ?<br />упрощенно говоря, порты для ИСХОДЯЩИХ пакетов не СЛУШАЮТ. слушают только для ВХОДЯЩИХ<br />вообще вам эта директива нужна только если у вас иерархия кешей. к тому же есть подозрение что некоректная конфигурация этих параметров может повлиять на работу резолвера и пр. использующих udp.</p>]]></content>
			<author>
				<name><![CDATA[osorkon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16356</uri>
			</author>
			<updated>2012-06-21T10:47:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283369#p283369</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283326#p283326" />
			<content type="html"><![CDATA[<p>ЕСЛИ прописываю<br /></p><div class="quotebox"><cite>KRUTO пишет:</cite><blockquote><p>tcp_outgoing_address&nbsp; &nbsp;&lt;внешний ip-адрес&gt;<br />udp_incoming_address&nbsp; &lt;внутренний ip-адрес&gt;<br />udp_outgoing_address&nbsp; &lt;внешний ip-адрес&gt;</p></blockquote></div><p>То получаю, что протокол &#039;udp&#039; squid слушает&nbsp; на &lt;внешнем ip-адресе&gt;, а не на &lt;внутреннем ip-адресе&gt;</p><p>Если убираю строку </p><div class="codebox"><pre><code>udp_outgoing_address  &lt;внешний ip-адрес&gt;</code></pre></div><p>, то получаю то, что надо...<br />Но как тогда указать параметру udp_outgoing_address слушать &lt;внешний ip-адрес&gt;, короче хочу такую схему:<br /></p><div class="codebox"><pre><code>tcp_outgoing_address   &lt;внешний ip-адрес&gt;
udp_incoming_address  &lt;внутренний ip-адрес&gt;
udp_outgoing_address  &lt;внешний ip-адрес&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[KRUTO]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20447</uri>
			</author>
			<updated>2012-06-21T08:14:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283326#p283326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283322#p283322" />
			<content type="html"><![CDATA[<p>А в чём собственно проблема?</p>]]></content>
			<author>
				<name><![CDATA[Vadimsky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=411</uri>
			</author>
			<updated>2012-06-21T08:04:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283322#p283322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=282651#p282651" />
			<content type="html"><![CDATA[<p>[osorkon],<br />Спасибо за подсказку, но вот какая вещь: вручную прописываю <br /></p><div class="codebox"><pre><code>tcp_outgoing_address   &lt;внешний ip-адрес&gt;
udp_incoming_address  &lt;внутренний ip-адрес&gt;
udp_outgoing_address  &lt;внешний ip-адрес&gt;</code></pre></div><p>Тогда картирна такая: <br />Proto&nbsp; &nbsp; &nbsp;Recv-Q Send-Q Local Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Foreign Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;State&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PID/Program name<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.10:22&nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1350/sshd&nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.10.1:3128&nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1510/(squid) <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.10:22&nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.15:4041&nbsp; ESTABLISHED 1436/sshd: fartrule<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.10:45951&nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1510/(squid) <br />Почему-то udp_incoming_address не срабатывает... Когда комментирую строчку<br /> </p><div class="codebox"><pre><code>udp_outgoing_address  &lt;внешний ip-адрес&gt;</code></pre></div><p>То получаю желаемое:<br />Proto&nbsp; &nbsp; &nbsp;Recv-Q Send-Q Local Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Foreign Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;State&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PID/Program name<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.10:22&nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1350/sshd&nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.10.1:3128&nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1510/(squid) <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.10:22&nbsp; &nbsp; &nbsp; &nbsp; 192.168.15.15:4041&nbsp; ESTABLISHED 1436/sshd: fartrule<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.10.1:45951&nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1510/(squid) </p><p>Почему криво срабатывают директивы?</p>]]></content>
			<author>
				<name><![CDATA[KRUTO]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20447</uri>
			</author>
			<updated>2012-06-18T02:07:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=282651#p282651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=282025#p282025" />
			<content type="html"><![CDATA[<p>icp или dns<br />проверь что в udp_outgoing_address</p>]]></content>
			<author>
				<name><![CDATA[osorkon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16356</uri>
			</author>
			<updated>2012-06-14T14:14:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=282025#p282025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Squid слушает udp порт, подскажите?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=281985#p281985" />
			<content type="html"><![CDATA[<p>Подскажите, что слушает squid по udp порту? Вот вывод netstat:<br />Proto Recv-Q Send-Q Local Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Foreign Address&nbsp; &nbsp; &nbsp; &nbsp;State&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PID/Program name<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.15.10:22&nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1031/sshd<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.10.1:3128&nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 16881/(squid)<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.15.10:22&nbsp; &nbsp; 192.168.15.15:4710 ESTABLISHED&nbsp; 6794/sshd: fartrule<br />udp&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:55534&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;16881/(squid)</p>]]></content>
			<author>
				<name><![CDATA[KRUTO]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20447</uri>
			</author>
			<updated>2012-06-14T08:35:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=281985#p281985</id>
		</entry>
</feed>
