<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Блокировка сайтов, белый список]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8158&amp;type=atom" />
	<updated>2012-02-01T12:07:00Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=8158</id>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=247607#p247607" />
			<content type="html"><![CDATA[<p>/etc/hosts.{deny,allow} будет работать только в тех библиотеках которые это поддерживают...</p>]]></content>
			<author>
				<name><![CDATA[Харитон]]></name>
				<uri>https://linuxforum.ru/profile.php?id=627</uri>
			</author>
			<updated>2012-02-01T12:07:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=247607#p247607</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=111059#p111059" />
			<content type="html"><![CDATA[<p>спасиб, сегодня попробую</p>]]></content>
			<author>
				<name><![CDATA[TERMIN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11466</uri>
			</author>
			<updated>2010-11-09T07:03:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=111059#p111059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=111042#p111042" />
			<content type="html"><![CDATA[<p>iptables -P OUTPUT DROP<br />iptables -P INPUT ACCEPT<br />iptables -A OUTPUT -m string --string &quot;vkontakte.ru&quot; --algo kmp --to 65535 -j ACCEPT<br />iptables -A OUTPUT -m string --string &quot;odnoklassniki.ru&quot; --algo kmp --to 65535 -j ACCEPT</p><p>Ну а дальше мысль думаю ясна.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-11-09T06:06:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=111042#p111042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=111028#p111028" />
			<content type="html"><![CDATA[<p>да ладно, бывает</p>]]></content>
			<author>
				<name><![CDATA[TERMIN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11466</uri>
			</author>
			<updated>2010-11-09T04:25:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=111028#p111028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=111021#p111021" />
			<content type="html"><![CDATA[<p>нет, это я не совсем правильно вас понял.<br />приношу извинения...&nbsp; smile</p>]]></content>
			<author>
				<name><![CDATA[Termo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4469</uri>
			</author>
			<updated>2010-11-09T00:30:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=111021#p111021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=110845#p110845" />
			<content type="html"><![CDATA[<p>эмм, мне нужно именно разрешать эти сайты, а остальные блокировать. Либо я что то не понял</p>]]></content>
			<author>
				<name><![CDATA[TERMIN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11466</uri>
			</author>
			<updated>2010-11-08T16:53:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=110845#p110845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=110735#p110735" />
			<content type="html"><![CDATA[<p>а если прописать сайты в файле /etc/hosts.deny или просто /etc/hosts ?</p>]]></content>
			<author>
				<name><![CDATA[Termo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4469</uri>
			</author>
			<updated>2010-11-08T09:56:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=110735#p110735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=110703#p110703" />
			<content type="html"><![CDATA[<p>или быть может кто подскажет как написать скрипт, который берет первую строчку из файла, подставляет ее в командную строку (host yandex.ru к примеру)<br />в результате забирает результаты с экрана а именно IP адреса этого домена, и пишет их списком в новый файл переделывая его в формат <br />iptables -A OUTPUT -p tcp -d 87.240.188.254 -j ACCEPT<br />и с начала по циклу, но уже вторую строку</p>]]></content>
			<author>
				<name><![CDATA[TERMIN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11466</uri>
			</author>
			<updated>2010-11-08T08:40:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=110703#p110703</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Блокировка сайтов, белый список]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=110695#p110695" />
			<content type="html"><![CDATA[<p>Приветствую, думаю эта тема обсуждалась не раз, но немогу толком найти нормальные мануалы.<br />Имею: парк машин 10 штук (Ubuntu 10). Белый список сайтов к которым можно получать доступ, остальные игнорить.<br />Задача, реализовать блокировку, притом индивидуально на каждой машине, ОЧЕНЬ ХОЧЕТСЯ БЕЗ СЕРВЕРА!!!</p><p>Заранее благодарен.</p>]]></content>
			<author>
				<name><![CDATA[TERMIN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11466</uri>
			</author>
			<updated>2010-11-08T08:07:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=110695#p110695</id>
		</entry>
</feed>
