ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: Sysadmins@lists.altlinux.org
Subject: [Sysadmins] Options for ipt_NETFLOW in modules.conf
Date: Thu, 5 Apr 2012 11:51:14 +0400
Message-ID: <CANM4RugEumzjCG2NTQJpHzndT57F_-_a3EqL3SouMCHMs1vv0A@mail.gmail.com> (raw)

Здравствуйте!

# 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 и почему так поздно?

-- 
С уважением,
Прокопьев Евгений

             reply	other threads:[~2012-04-05  7:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  7:51 Eugene Prokopiev [this message]
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
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=CANM4RugEumzjCG2NTQJpHzndT57F_-_a3EqL3SouMCHMs1vv0A@mail.gmail.com \
    --to=enp@itx.ru \
    --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