Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fedora 8 SELinux won't completely turn off

Status
Not open for further replies.

NewtownGuy

Technical User
Jul 27, 2007
146
US
Hello,

I'm a Newbie when it comes to SELinux. I'm running Fedora 8 with the latest patches as of Jan 4, 2009. I've disabled the firewall in Setup, and I've set SELinux to disabled in its configuration file.

The problem is that remote access to one of my custom server applications is still blocked. DMESG reports that SELinux is in permissive mode, not disabled.

How can I fully turn off SELinux ? What else could be blocking remote access to my server application ?

I have changed the ports for SSH and HTTP, and they work ok with the new ports.

If I wanted to use the Customize mode of the firewall, what delimiter should I use between a series of port:protocol entries in Setup >> Firewall ?

Thank you.

NewtownGuy

 
What is the output of iptables --list?

What port is your application running on?

What's the output of netstat -an | grep ':nnn ' where nnn is the port number (include the space after it)?

As far as I know the firewall and SELinux are separate beasts, but I'm not an SELinux aficionado.

Annihilannic.
 
I have changed the ports for SSH and HTTP, and they work ok with the new ports.
If SELinux was enabled, you would not be able to start sshd or httpd on alternate ports without first configuring a SELinux rule. The SELinux config file is /etc/selinux/config.

--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top