ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@lists.altlinux.org
Subject: Re: [Comm] Программа лезет в Интернет
Date: Wed, 19 Jul 2006 16:44:52 +0300
Message-ID: <20060719134452.GK28446@osdn.org.ua> (raw)
In-Reply-To: <20060706122343.GC6952@borodin.zarya>

On Thu, Jul 06, 2006 at 04:23:43PM +0400, Andrew Borodin wrote:
> Или лучше я переформулирую. Есть программа /opt/foo/foo, которая 
> любит ходить на сайт www.foo.com. Как сделать так, чтобы эти 
> запросы не выходили за пределы моего хоста?
> Насколько я понимаю, надо фильтровать либо пакеты, идущие от 
> конкретного локального процесса, либо пакеты, идущие на 
> конкретный адрес. Второй вариант не совсем подходит, поскольку 
> тогда и браузером на тот сервер не зайдешь.
> iptables может такое?

Запускайте foo от пользователя foo и его и фильтруйте на
iptables.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


      parent reply	other threads:[~2006-07-19 13:44 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
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 [this message]

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=20060719134452.GK28446@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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