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
smtanner
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 106
Location: Colorado

PostPosted: Sat Apr 26, 2003 12:55 am    Post subject: firestarter Reply with quote

I'm trying to get firestarter working. When I run the setup, I get an error message:

Quote:
No dhcp client configuration found. The firewall will not be loaded automatically on a lease renewel. Please make sure your external interface is configured properly or deselect the dhcp option if you are using static settings


What client configuration is it talking about. I am using dhcp and my network access appears to working correctly. Not sure if there is a configuration file that it is looking for that I am missing or what.

thanks
Back to top
View user's profile Send private message
fatcat.00
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2002
Posts: 145

PostPosted: Sat Apr 26, 2003 2:52 am    Post subject: Not sure, but... Reply with quote

Gentoo by default stores its dhcpc (dhcp"c" is for "client") in /etc/dhcpc. In there is a file that seems to contain active lease information (the .info file).

Now, whether Firestarter is using this file to track when you get a new lease from your ISP, I cannot say.

Here is the part inside the Firestarter-created (v0.8.2) script that seems to get the IP address:

Code:
IF=eth0
INIF=eth1
IP=`/sbin/ifconfig $IF | grep inet | cut -d : -f 2 | cut -d \  -f 1`


Of course, this only works the first time the script is run, but somehow the firewall continues to work after the IP changes. I am unsure of the mechanism, but it doesn't appear to be anything Firestarter-specific. I suspect iptables somehow detects when an interface configured for DHCP changes IP addresses, if directed to do so.

That said, I will tell you that I am using Firestarter myself with a firewall that gets a periodic lease updates from my ISP. Firestarter seems to work well in this configuration, although I only use Firestarter to create an initial iptables script. I just edit the script afterwards to get exactly what I want.

Good Luck!

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


Joined: 16 Apr 2002
Posts: 239

PostPosted: Sun Apr 27, 2003 11:43 pm    Post subject: Reply with quote

Are there any Firestarter/ipables howtos?

I'm no expert on Firewalls. I've previously been using a windows box as my "gateway" with Kerio Personal Firewall.

I now want to set my linux box up to have similar functionality.
Back to top
View user's profile Send private message
fatcat.00
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2002
Posts: 145

PostPosted: Tue Apr 29, 2003 2:17 am    Post subject: Really no need for a HOWTO Reply with quote

Firestarter is really quite simple to run, and it starts with pretty conservative and sane defaults.

Unless you are hosting a strange service or you are running with a DMZ (if you don't know, then you aren't), I think anyone new to iptables will find it a great way to start.

It is probably not suitable once you gain a certain degree of understanding about iptables, or when you want to do something more specific than providing firewall services for your outbound use.

Check out: http://firestarter.sourceforge.net
_________________
-- Fatcat
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:00 am    Post subject: Reply with quote

Yeah I have that installed.

Get's some errors though. https://forums.gentoo.org/viewtopic.php?t=48477&highlight=
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