Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] iptables (not) started?
Date: Fri, 29 Mar 2013 19:05:39
Message-Id: 5155E59D.4000009@gmail.com
In Reply to: Re: [gentoo-user] iptables (not) started? by Mick
1 On 29-Mar-13 19:43, Mick wrote:
2 > On Friday 29 Mar 2013 18:25:11 Jarry wrote:
3 >> Hi Gentoo-users,
4 >>
5 >> I noticed one thing on my server: during boot-up no message
6 >> about firewall being started is printed on console. I always
7 >> have to check manually if iptables-rules have been loaded.
8 >> Strange thing, when doing shutdown, I see messages I expect:
9 >>
10 >> * Saving iptables state ... [ ok ]
11 >> * Stopping firewall ... [ ok ]
12 >>
13 >> I checked also /etc/init.d/iptables and I think it should
14 >> show some messages at start:
15 >>
16 >> start() {
17 >> checkconfig || return 1
18 >> ebegin "Loading ${iptables_name} state and starting firewall"
19 >> ${iptables_bin}-restore ${SAVE_RESTORE_OPTIONS} < "${iptables_save}"
20 >> eend $?
21 >> }
22 >>
23 >> Can someone explain to me why this message is not printed?
24 >
25 > Do you have some other script starting your iptables, rather than the vanilla
26 > /etc/init.d/iptables?
27
28 No.
29
30 > Does '/etc/init.d/iptables status' show that it is running?
31
32 * status: started
33
34 I recorded screen with my video-camera to be sure I did not miss
35 some message. But I found no trace about iptables being started...
36
37 Jarry
38 --
39 _______________________________________________________________
40 This mailbox accepts e-mails only from selected mailing-lists!
41 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] iptables (not) started? Mick <michaelkintzios@×××××.com>