Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firestarter
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tmo318
n00b
n00b


Joined: 17 Mar 2003
Posts: 21
Location: Minnesota

PostPosted: Fri Apr 18, 2003 1:38 pm    Post subject: Firestarter Reply with quote

I have firestarter installed to start my firewall and I have a couple of questions. How do I get it to start at boot? Right now after I log in, I have to open a console log is as root and then start firestarter. Also when I start firestarter I get a error that reads:

Failed to open system log

No realtime hit information will be available. Please make sure the syslog daemon is running.

I installed Metalog during the install as per the install guide and it starts up at boot. How do I get firestarter to see Metalog and use it?

Thanks
Tim
Back to top
View user's profile Send private message
tmo318
n00b
n00b


Joined: 17 Mar 2003
Posts: 21
Location: Minnesota

PostPosted: Sat Apr 26, 2003 3:38 pm    Post subject: Reply with quote

Can someone help me with this?

Thanks

Tim
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sat Apr 26, 2003 6:30 pm    Post subject: Reply with quote

for gentoo, you usually will have a script in /etc/init.d for daemons. To start at boot time, just add it to the boot level (see Gentoo Linux init system)

Code:

rc-update add firestarter default


( I cannot tell it for sure, because I don't have firestarter installed in my system, but it is probably the case)
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Mon Apr 28, 2003 12:08 am    Post subject: Reply with quote

Firestarter doesn't appear to have an init.d script.

Code:

rc-update add firestarter default


gives the following error
Code:

* /sbin/rc-update: /etc/init.d/firestarter not found; aborting.
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Mon Apr 28, 2003 12:58 am    Post subject: Reply with quote

After you apply the iptables configuration in the console, save it like this:

/etc/init.d/iptables save

Then do a:

rc-update add iptables default

As for your metalog issue ... I dunno, never used metalog.
Back to top
View user's profile Send private message
tmo318
n00b
n00b


Joined: 17 Mar 2003
Posts: 21
Location: Minnesota

PostPosted: Mon Apr 28, 2003 1:36 am    Post subject: Reply with quote

Thank You

I now how my firewall start on log in. As for Metalog I will probably will not look at the log anyway.

Thanks

Tim
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Mon Apr 28, 2003 7:17 am    Post subject: Reply with quote

I believe that the firestarter ebuild is not running the ./postinstall script.

According to the firestarter website this script is what installs the init.d script and the ability to run firestarter as a non root user.

Any ideas on why this isn't being run (or why it isn't working if it is being run?). I'm really keen to get firestarter completely setup so I can have my box fully stealthed like it was under windows with Kerio (tiny) Personal Firewall.

:)


Also, I get the following issues as well
Code:

root@eyevee99 ryan # firestarter
 
(firestarter:22191): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
NETFILTER detected
Log file not found or access denied.
Firewall log monitoring disabled.: Bad address
iptables: Invalid argument
Firewall started


Anyone know what any of these errors mean?

I too am running metalog. Anyone aware of how to get firestarter to work correctly with metalog rather than syslog?
Back to top
View user's profile Send private message
tmo318
n00b
n00b


Joined: 17 Mar 2003
Posts: 21
Location: Minnesota

PostPosted: Tue Apr 29, 2003 2:07 am    Post subject: Reply with quote

I ran firestarter and did the /etc/init.d/iptables save

rc-update add iptables default

It would start the firewall but it would not start NAT. Now this is what I did to get the firewall going with NAT.

as root

ln -s /etc/firestarter/firewall.sh /etc/init.d/

rc-update add firewall.sh default

Now the firewall starts and NAT works. When I got to http://scan.sygate.com/ all my ports are blocked. I this do not know how to get Metalog to work though.
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Apr 29, 2003 4:07 am    Post subject: Reply with quote

Just an FYI

I am going to assume (yes, I know) that the issue is that iptables save doesn't do this:

echo 1 > /proc/sys/net/ipv4/ip_forward

you can change/add this in your /etc/sysctl.conf file
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Tue Apr 29, 2003 8:29 am    Post subject: Reply with quote

Strangely connection sharing no longer works either.

If I have no iptables and no firestarter running. Connection sharing doesn't work. ie Remote machine can't access the net. It hasn't changed and was working fine last night.

If I run iptables, no connection sharing

If I run firestarter, even with connection sharing enabled, no connection sharing.

I'm stumped.
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Sun Jul 20, 2003 9:51 pm    Post subject: Reply with quote

Answer to the Metalog problem can be found here

https://forums.gentoo.org/viewtopic.php?t=59506&highlight=firestarter

also to get it starting at boot, add the following line to /etc/conf.d/local.start

/usr/bin/firestarter -s

Also in reply to the /.postinstall aspect of firestarter i suspect the reason why gentoo doesnt use it is that it wont complile, well at least it wont on mine, reason > doesnt recognise kernel .. my kernel = gentoo-sources 2.4.20-r5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum