LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2004, 10:41 AM   #1
CarlosSunden
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Red Hat
Posts: 17

Rep: Reputation: 0
Question no firewall option in RHL


hello

noticed at installation time of red hat linux 8, there are three options: high, medium and "no firewall"

what does "no firewall means" exactly in practical & technical tems?

we have some problems with the "firewall configuration" option in the setup tool ( typing setup at cmd prompt). It appears that modifying the FW config option within the setup tool, unless the specific ports & services are retyped or allowed again, it does not keep previous configured settings.

This has caused us to select the "no firewall" option at rhl 8 installation but it says that: "no firewall allows complete access and does no security checking." mmmm, does no security checking??

what happens then if no firewall option is selected? some our users do not like the idea of a "firewall" in this system, however, i think the setup tool will always have the option to go into the "firewall configuration" & modify settings there. The "firewall configuration" will always be there in the setup tool.

any thoughts, opinions?

thanks!
 
Old 05-13-2004, 10:58 AM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Yup. All ports are open and listening (provided there is a service on those ports). If you have apache installed, anyone can get to the web pages (unless you modified httpd.conf), but if you have those ports blocked by your firewall, only the localhost can get to the web pages.
Try running lokkit from the command line. You can select custom and allow http, ssh, telnet, etc. If you are going to make this a print server, open port 515. For anything else, you will have to look up the port numbers.

On the security note, I run a firewall on every one of my systems and allow traffic for only the services I wish to expose and block the rest. Even the exposed ones are only allowed from inside our network.
 
Old 05-13-2004, 11:25 AM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Also an FYI. In Redhat 8.0 there is a bug in the graphical firewall configuration tool that when opened, it will always display the firewall level as "high" regardless of what level you actually have it set on. Changing the settings in the tool will still affect the firewall though.
 
Old 05-13-2004, 11:47 AM   #4
CarlosSunden
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Ok.
So, there's no way to uninstall the setup tool?

The lokkit actually takes me back to the same Firewall Configuration interface. It might be modifying the same files as in when using the setup tool.

Any way to uninstall this "setup" thing? I wouldn't take it off since opening the system with "no firewall" option is not good, but it will be great to find out if the setup program can be taken off the system.
Thanks again!
 
Old 05-13-2004, 12:12 PM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I believe it's part of the setuptool rpm (do rpm -qa | grep setuptool). I don't understand why you'd want to remove it though? If you would rather just use lokkit/redhat-config-securitylevel or even just use iptables from the command line, you can do so. I guess my question is how would you benefit from removing the setup tool?
 
Old 05-18-2004, 09:50 AM   #6
CarlosSunden
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
OK.
So, if chossing no firewall at install time,or simply uninstalling the setuptool, this means I would have to modify files directly, right? I guess so. Is this the /etc/sysconfig/iptables file?
It doesn't look that easy to modify.
Thanks again!
 
Old 05-18-2004, 10:20 AM   #7
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I'm not entirely sure about the relationship between the setup tool and redhat-config-securitylevel. It would appear that when you are using the setup tool and choose to modify the firewall, the setup tool actually switches to redhat-config-securitylevel. So I don't really know what effect removing setup tool will have. If I had to guess, you could likely still use redhat-config-securitylevel. In fact, you can invoke redhat-config-security level or lokkit by themselves without using setup tool.

As far as editing the /etc/sysconfig/iptables file, you should never directly edit that file. Sometimes you can get away it, but editing it can cause problems even if the rules you add are syntactically correct. Usually most people will either manipulate the firewall rules using the command line or by putting them into a script. I recommend the second option, because they are easier to manipulate in that format.

If you choose no firewall during the install configuration, all of the firewall programs will still be installed on your system, however no firewall script will be generated and the firewall will not be activated. If you change your mind, you can still activate or de-activate the firewall at anytime.

If you are more specific about what you are trying to accomplish, maybe we could point you in the right direction?
 
Old 05-24-2004, 01:19 PM   #8
CarlosSunden
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Dear All,
The main issue arose (past tense of arise?) by the setup tool not retaining previous settings even when nothing was modified in the firewall configuration section.
Anyway, it boils down to the iptables program. It seems this is modified by either of these tools. Someone wanted the setuptool to be removed, but since it wasn't that the main "problem", then a suggestion to take the iptables off the system was voiced, which i think it's nuts even if a system is sitting (like a duck) inside the network. We'll resort to leaving the setup tool & specifiy necessary ports, services & leave alone. There's also other security options like TCP Wrappers, etc..
Thanks to all for the responses, very informational.
 
  


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
Web server behind RHL 9 Firewall yzxix Linux - Security 2 07-31-2004 08:02 PM
RHL 6.2 compat libs for RHL 9? cw3bst3r Programming 0 01-30-2004 09:41 AM
How can I add a service option to the firewall graymate Libranet 1 10-30-2003 06:20 PM
RHL 9.0 + mouse benue505 Linux - Hardware 25 08-17-2003 06:23 PM
Is RHL 7.2 better than 8.0? parthi4u Linux - Distributions 5 03-17-2003 12:59 AM

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

All times are GMT -5. The time now is 02:32 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