LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-05-2008, 12:58 PM   #16
DennisC31
Member
 
Registered: May 2007
Location: beyond my means
Distribution: Mint 11.04
Posts: 55

Rep: Reputation: 19

Quote:
Originally Posted by ScotHypnotist View Post
Kewpie,
Thanks you for your help.
I am simply looking for something
that I can install and forget.
I am not yet so savi with linux
that I am punching my own code.
Namaste'
Scot
Hey Scot.

Here's a HUGE bit of advice that I wish I had been given.

Tattoo this on your right hand:

Code:
I will never be able to learn everything there is to know about linux.
I'll probably get some flames for saying that. But, it's true.

I mention this because you mentioned "I am not yet so savi [] that I am punching my own code." You don't have to be a coder to use linux. Many, many programmers love to use linux. But you don't have to be a coder to use the OS.

Good luck with your firewall search. There are MANY options for firewalling.

If you know how to configure the nitty gritty details of a firewall, use the built in iptables software.

Other than that, well... I'm no firewall junkie. I stick everything behind a NAT, configure holes for my DMZ boxes and DMZ firewalls, and leave it at that.

Last edited by DennisC31; 04-11-2012 at 05:42 PM.
 
Old 01-05-2008, 01:17 PM   #17
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by ScotHypnotist View Post
TheNbom aka Rod,
I am using Xubuntu with the XFCE GUI.
I would be looking for what you described as
a canned package.
One that I have little or no chance of screwing up.

Namaste'
Scot
The package I am most familiar with is for setting up a dedicated firewall/router. It is called HomeLANSecurity, and can be easily located on the web. If you are looking for a package to protect only a single local host, it is not appropriate for your needs.
What I describe as a canned package will invariably be something on the level of what win32sux has provided in this forum. To be truthful, what he has given you is not so difficult to install. You probably just need to examine what he has described, ask a few questions here to fill in the blanks and attempt an installation. As much as you would like to think of a firewall as an 'install-and-forget' project, it is probably not so realistic. You will probably someday want to run some sort of service requiring you to open some port(s). For instance, you may want to enable SSH to allow you to login remotely. You may wish to enable certain P2P services. Online games may require specific configuration. Most times, these updates are not difficult to perform, but it does require some understanding of where to look and how to restart the system.
--- rod.
 
Old 01-22-2008, 05:06 PM   #18
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Okay, this thread got me interested enough to try out Firestarter. I ran it on a firewall host that had previously been configured with the aforementioned homeLanSecurity. It seemed to generate a more or less acceptable firewall script, but I didn't want to keep it as a permanent set up. Therein lies my problem. I did a
Code:
service firestarter stop
, and re-ran the homeLanSecurity script. Everything worked fine, until WAN interface lease expired, at which point it reloaded itself, removing all of the settings applied by homeLanSecurity. The documentation for Firestarter states: When the network device bound to the DHCP service is assigned an IP address (either when connecting for the first time or on a lease renewal) the firewall is started or refreshed.
This seems to be happening, and I don't want it to. I cannot seem to locate the mechanism by which this is occurring. Can anyone tell me how to terminate this? A re-boot did not solve the problem. Thanks.

BTW, my take is that the basic scripts generated by Firestarter would probably be a decent starting point for someone who wanted to generate a more highly customized or special-purpose firewall. Significant changes would probably make the Hits tool work incorrectly, however, as would probably be lost

I wonder what acid_kewpie objects to about the script generator in Firestarter? Care to expand on that, acid_kewpie (not saying you're wrong, would just like more detail)?
--- rod.

Last edited by theNbomr; 01-23-2008 at 11:11 AM.
 
Old 01-23-2008, 11:29 AM   #19
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Okay, in answer to my own question...
The firestarter tool, either the installer or the tool itself, creates an entry in the /etc/dhclient-exit-hooks file, which re-runs the firewall startup script immediately after the WAN interface renews its DHCP lease. I am hopeful that removing the entry from /etc/dhclient-exit-hooks will stop firestarter from clobbering my preferred firewall. I will know for sure in a couple of hours when the lease is renewed.
--- rod.
 
Old 01-23-2008, 01:58 PM   #20
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
you could simply uninstall or purge the firestarter package from your distro if you don't intend to continue using it.. wouldn't have to worry about it restarting then..


Firestarter is a great choice for new Linux users imho. It's simple to use sorta like zone-alarm in windows..
 
Old 01-23-2008, 02:59 PM   #21
internetSurfer
Member
 
Registered: Jan 2008
Location: w3c
Distribution: Slackware 12 Zenwalk 5.2
Posts: 71

Rep: Reputation: 16
Advanced Policy Firewall (APF)
http://rfxnetworks.com/apf.php

Useful Guide: Securing & Hardening Linux v1.0
_
 
Old 01-23-2008, 04:00 PM   #22
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by farslayer View Post
you could simply uninstall or purge the firestarter package from your distro if you don't intend to continue using it.. wouldn't have to worry about it restarting then..


Firestarter is a great choice for new Linux users imho. It's simple to use sorta like zone-alarm in windows..
I did use yum remove, which deleted all of the binaries and scripts, except the troublesome ones. In my searches for a solution to this, it appeared that this was considered a bug, at least by people responsible for Debian packages, although mine is a Fedora RPM. The firestarter homepage seems to say that the behavior I object to is a feature, but I don't see it that way. It is hardly inconceivable that one might wish to turn a firewall off for arbitrary time periods (like,,,, forever), and to have it autocratically restart itself just seems wrong to me.

Maybe this kind of thing is prevalent with packages like firestarter, and that might be what acid_kewpie objects to.

--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 07:38 AM
Linux Firewall Vs Firewall Appliance depam Linux - Security 4 11-20-2006 01:55 PM
how to m$ win client+firewall to linux sshd and use linux to access the M$ computer c_mitulescu Linux - Networking 7 05-14-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration