ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dubrovskiy Viacheslav <slava@tangramltd.com>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Options for ipt_NETFLOW in modules.conf
Date: Thu, 05 Apr 2012 09:35:19 -0400
Message-ID: <4F7D9F97.8090902@tangramltd.com> (raw)
In-Reply-To: <CANM4RugEumzjCG2NTQJpHzndT57F_-_a3EqL3SouMCHMs1vv0A@mail.gmail.com>

05.04.2012 03:51, Eugene Prokopiev пишет:
> Здравствуйте!
>
> # cat /etc/modules.conf
> options ipt_NETFLOW destination=127.0.0.1:2055
>
> # cat /etc/sysconfig/iptables
> *filter
> :INPUT ACCEPT [47:2936]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [25:2280]
> -A INPUT -j NETFLOW
> -A OUTPUT -j NETFLOW
> COMMIT
>
> И вот после service iptables start в /proc/net/stat/ipt_netflow я вижу
> sock0: 127.0.0.1:2055. А после chkconfig iptables on и перезагрузки
> ничего подобного я там не вижу, т.е. параметр destination не
> применяется.
>
> Помогает перенос времени загрузки iptables ближе к концу (например,
> меняем 08 на 91 в /etc/init.d/iptables).
>
> Собственно, вопрос: кем читается содержимое modules.conf и почему так поздно?
Кажется потому что модули для iptables загружаются из 
/etc/sysconfig/iptables_modules.
Указывать модуль и опции нужно там.

-- 
WBR,
Dubrovskiy Viacheslav



  parent reply	other threads:[~2012-04-05 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  7:51 Eugene Prokopiev
2012-04-05 10:21 ` Eugene Prokopiev
2012-04-06  3:40   ` Eugene Prokopiev
2012-04-05 10:44 ` Denis Kuznetsov
2012-04-05 11:18   ` Eugene Prokopiev
2012-04-05 13:35 ` Dubrovskiy Viacheslav [this message]
2012-04-06  3:49   ` Eugene Prokopiev
2012-04-06 13:11     ` Denis Kuznetsov
2012-04-07 11:10 ` Sergey

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=4F7D9F97.8090902@tangramltd.com \
    --to=slava@tangramltd.com \
    --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