Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: how do I check that rc.firewall is running, ps -A doesn't show rc.firewall< Next Oldest | Next Newest >
TWILIGHT32 Offline





Group: Members
Posts: 13
Joined: Oct. 2006
Posted: Mar. 01 2008,13:56 QUOTE

another newbie question.

I have installed rc.firewall and started it. however ps -A doesn't show me it is running.

is there any way I can check it is really running ?

thanks
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 01 2008,14:08 QUOTE

Which version of DSL are you running? That extension is for the 2.4.26 kernel, not 2.4.31. If you started it with the correct kernel version, it's running. You can stop it from console and restart and it should show your IP, etc.

Code Sample
sudo /etc/init.d/rc.firewall stop
sudo /etc/init.d/rc.firewall start


If you're running kernel 2.4.31, I think you will get some errors for iptable mismatch because it's going to look for them in /lib/modules/2.4.26.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: Mar. 01 2008,15:53 QUOTE

I don't think the firewall is a separate process, it is part of the kernel. You can use this command to list the rules:
iptables -L
Back to top
Profile PM 
TWILIGHT32 Offline





Group: Members
Posts: 13
Joined: Oct. 2006
Posted: Mar. 02 2008,15:54 QUOTE

Hello skaos,
thanks for your reply.
this is what I get when I run the iptables -L command, however I don't know how to interpret this. does that look ok to you?

thanks
*****************************************************************

with DSL userid:------------------
dsl@box:~$ iptables -L
Note: /etc/modules.conf is more recent than /lib/modules/2.4.31/modules.dep
iptables v1.2.6a: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.

using sudo --------------------
dsl@box:~$ sudo iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination        
ACCEPT     all  --  anywhere             anywhere           state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere           state NEW
TRUSTED    all  --  anywhere             anywhere           state NEW

Chain FORWARD (policy DROP)
target     prot opt source               destination        

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        
DROP       icmp --  anywhere             anywhere           state INVALID

Chain TRUSTED (1 references)
target     prot opt source               destination        
ACCEPT     icmp --  anywhere             anywhere           icmp echo-request
DROP       icmp --  anywhere             anywhere
Back to top
Profile PM 
TWILIGHT32 Offline





Group: Members
Posts: 13
Joined: Oct. 2006
Posted: Mar. 02 2008,16:00 QUOTE

Hi Lucky13
thanks for your reply.
attached below is what I get when I stop and start the firewall using the commands you sent.

I get the same message when I start the rc.firewall from mydsl  menu.

it still doesn't show anything under ps -A . Unless as Skaos suggested the rc.firewall is part of the kernel.

can anyone confirm that ?

thanks

=============================================
dsl@box:~$ sudo /etc/init.d/rc.firewall stop
-> Projectfiles.com Linux Firewall version 2.0rc9 running.
-> Performing sanity checks. [ PASSED ]
-> Firewall disabled.
dsl@box:~$ sudo /etc/init.d/rc.firewall start
-> Projectfiles.com Linux Firewall version 2.0rc9 running.
-> Performing sanity checks...... [ PASSED ]
-> Building firewall.... [ DONE ]
-> Successfully secured the following addresses:
Back to top
Profile PM 
6 replies since Mar. 01 2008,13:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: how do I check that rc.firewall is running

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code