ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Хитрые настройки iptables
Date: Fri, 03 Feb 2006 00:01:39 +0200
Message-ID: <m3irrx4dz0.fsf@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <43E13B29.3000307@solin.spb.ru> (Aleksey Avdeev's message of "Thu, 02 Feb 2006 01:50:17 +0300")

Aleksey Avdeev writes:

> Denis Kirienko пишет:
>> Vladimir V. Kamarzin пишет:
>> 
> ...
>> 
>> Непонятно, как разрулить через ip rule. В ip rule нельзя задать в
>> качестве критерия номер порта. И судя по iptables tutorial пометить
>> исходящий пакет тоже нельзя: routing decision принимается до попадания
>> пакета в mangle.
>
>   Можно: когда срабатывает ip rule -- пакет ещё в ядре. (У меня --
> работает.)

Точно работает?
Для трафика *от локального процесса*?


>
> PS: См. <http://www.opennet.ru/docs/RUS/LARTC/x1308.html> на предмет
> фильтрации по метке пакета.

OUTPUT ROUTING срабатывает раньше iptables OUTPUT

Транзитный трафик можно крутить как угодно, а от локального процесса
нет :(
-- 

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



  reply	other threads:[~2006-02-02 22:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 18:15 Denis Kirienko
2006-01-31  5:51 ` Alexander Volkov
2006-01-31 17:57   ` Denis Kirienko
2006-02-01  6:26     ` Vladimir V. Kamarzin
2006-02-01 21:10       ` Denis Kirienko
2006-02-01 22:50         ` Aleksey Avdeev
2006-02-02 22:01           ` Maxim Tyurin [this message]
2006-02-02 22:51             ` Aleksey Avdeev
2006-02-03 14:49               ` Maxim Tyurin
2006-02-03 15:11                 ` Aleksey Avdeev
2006-02-03 19:04                   ` Re[2]: " Dank Bagryantsev
2006-02-05 17:29                     ` Aleksey Avdeev
2006-02-15 18:17                       ` Aleksey Avdeev
2006-02-02  6:44         ` Vladimir V. Kamarzin
2006-02-02 13:33     ` Ivan Fedorov

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=m3irrx4dz0.fsf@mrkooll.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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