PDA

View Full Version : Firewall conflicts with firestarter...


Zigzagcom
27th February 2005, 12:02 PM
:) Hi all,
I'm still in the process of debugging a server configuration and stumbled on a couple of interesting issues with 'firestarter'. I have "Webmin" installed as an interface for remote admin, and it runs on its own server on port 10000 by default. This application is extremely versatile and you can configure iptables from within the interface in the networking module.

Out of curiosity I installed 'firestarter v1.0.1' and ran the wizard, but did not set up any specific configuration and exited 'firestarter'.
This means that I have 3 utilities installed with which I could affect iptables, apart from the shell.
1. The 'security level' tool that comes with FC3 by default.
2. The 'Webmin' iptables module
3. 'Firestarter'

Previous to the install of 'firestarter', I had no issues with rebooting and accessing web-content. In other words, the iptables configuration via the 'Webmin' interface remained intact. Once 'firestarter' was installed I consistently was unable to access httpd from other machines on the network, after the server was restarted. After re-applying the "Webmin" iptables config locally, access to the httpd service was restored. I was able to follow the configuration changes via the 'services' app and selecting 'iptables' and querying the status pane. I decided to uninstall 'firestarter' with Synaptic. Synaptic has this cool feature at the end of the uninstall process, warning you of saved files. One of the files was
/etc/firestarter/firewall.rpmsave....a quick su - and 'more firewall.rpmsave' leads me to believe that 'firestarter' can basically hijack an iptables configuration from another app.

I am aware of the conflict that can arise from using the 'security level' tool, but 'firestarter'
seemingly does not dynamically adjust to configuration changes. It just happily hangs onto its configuration and resets iptables on a restart. Funny and vexing. :D
This is possibly a good thing and I obviously don't want to have a hodgepodge of firewalls
on a server. Just thought this was interesting.

Jman
28th February 2005, 04:31 AM
Firestarter replaces the default iptables script with it's own and starts it's own service, replacing it. How this relates to webmin I don't know.

aztlan
2nd March 2005, 01:06 AM

Why install the firestarter and use it over what comes with fc3? Is there an advantage?

crackers
2nd March 2005, 03:46 AM
You get a much finer-grained control over ports, IP addresses, masquerading/NAT, and basically the full power of IPTables in a very easy to use GUI.

Zigzagcom
2nd March 2005, 05:43 AM
aztlan,
it was an experiment. Just as in Windows, certain firewall and AV utilities do not play well with one another when installed in parallel. I installed firestarter out of curiosity. I wanted to see what it does, how it works and the overall functionality overall. It would be a great firewall for a desktop environment. I have since removed it from the configuration, as it conflicted with the Webmin interface.
For me it is important to have remote access via a GUI, since I am still learning iptables via the shell and therfore is a good crutch. I have only been doing this for 1 1/2 months on linux (FC3 of course).

aztlan
2nd March 2005, 11:29 AM
Thank you for explaining in detail. I am new to fdc3 but not linux. I have installed fd3 on a laptop that I use at hot spots and was hoping that I have it sufficiently locked down to use in an open environment. :)

SeanOS
5th March 2005, 11:02 PM
I used firestarter for all of a day.
found that it wasn't the best at the rules it did & in my case it didn't do as it was supposed to (it blocked things I set it to not block).

after that I just configured iptables manually ... found it fairly easy, took a few hours to read up on iptables & configure the firewall for what I wanted.