ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Программа лезет в Интернет
Date: Thu, 06 Jul 2006 16:16:12 +0300
Message-ID: <m3lkr6dgbn.fsf@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <20060706122343.GC6952@borodin.zarya> (Andrew Borodin's message of "Thu, 6 Jul 2006 16:23:43 +0400")

Andrew Borodin writes:

> Здравствуйте!
>
> Есть некоторый коммерческий софт, который при запуске со всей 
> дури ломится в интернет. Как бы ему наступить на горло?
>
> Или лучше я переформулирую. Есть программа /opt/foo/foo, которая 
> любит ходить на сайт www.foo.com. Как сделать так, чтобы эти 
> запросы не выходили за пределы моего хоста?
>
> Насколько я понимаю, надо фильтровать либо пакеты, идущие от 
> конкретного локального процесса, либо пакеты, идущие на 
> конкретный адрес. Второй вариант не совсем подходит, поскольку 
> тогда и браузером на тот сервер не зайдешь.
>
> iptables может такое?

Может. Несколькими путями.
1) Запускать приложение от отдельного пользователя и средствами
iptables запретить этому пользователю ходить в Инет
2) Смотреть pid приложения и запрещать ему ходить в Инет
Оба способа делаются с пом-ю критерия owner
> Вроде такой вопрос в рассылке когда-то мелькнул, и ответ на него 
> вроде был, но найти не могу.

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


  parent reply	other threads:[~2006-07-06 13:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 12:23 Andrew Borodin
2006-07-06 12:27 ` Шенцев Алексей Владимирович
2006-07-06 12:46   ` Alexei V. Mezin
2006-07-06 12:48     ` Шенцев Алексей Владимирович
2006-07-07  5:23   ` Andrew Borodin
2006-07-06 13:16 ` Maxim Tyurin [this message]
2006-07-06 19:32 ` Sergei Boudnik
2006-07-07  5:18   ` Andrew Borodin
2006-07-07  5:24     ` Fr. Br. George
2006-07-07  7:32       ` Andrew Borodin
2006-07-19 13:44 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lkr6dgbn.fsf@mrkooll.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git