LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2004, 01:00 PM   #1
tom_on_linux
LQ Newbie
 
Registered: Jul 2004
Location: Cologne, DE
Distribution: RedHat | Debian
Posts: 6

Rep: Reputation: 0
redhat-config-securitylevel constantly on "high"...


good news everybody...

i know i'm new to this forum, so be assured i checked every possibility for duplicate threads.

my problem is quite similar to this thread:
LinuxQuestions.org > Forums > Linux - Security > Bypassing lokkit, gnome-lokkit and redhat-config-securitylevel on RedHat 8.0


i am running an yet unmodified/not updated redhat 8 (psyche).
though here the problem of the above given thread persists.
when i try to regulate the securitylevel of the machine, it accepts the changes
and quits. if i re-run the tool everything is back to the old defaults.

by checking this: bugzilla.redhat.com/bugzilla/show_bug.cgi?id=72678
(since i'm a new member i can't post URLs...)

i found out that it is a common bug in gnome-lokkit.

though with my machine it causes more trouble, because i cannot change the settings at all.
that means, that everytime i restart xinetd (after making the security changes) the ethx interface refuses to start up.

even if i pass a static ip to the interface, it comes up but can't reach the outer perimeter of the network. within the same subnet i can ping. not so with a public address...

i disabled all iptables and everything that could have influence on the process.


you know there is two things that can happen to a racedriver:
either you run out of road or out of talent... :-)

i guess i'm running out of talent...

thanks for readin'
tom



----------------------
please sign here!

Last edited by tom_on_linux; 07-01-2004 at 01:05 PM.
 
Old 07-01-2004, 11:01 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
This may provide some starting ground

http://www.linuxquestions.org/questi...55#post1017255

Comment out (# at the beginning of the line) the line "iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT"

Also have a look at the docs at http://www.netfilter.org

http://www.linuxquestions.org/questi...threadid=45261

Last edited by ppuru; 07-01-2004 at 11:03 PM.
 
Old 07-02-2004, 07:31 AM   #3
tom_on_linux
LQ Newbie
 
Registered: Jul 2004
Location: Cologne, DE
Distribution: RedHat | Debian
Posts: 6

Original Poster
Rep: Reputation: 0
@ppuru: thanks for the answer... though that didn't help...

i don't think this is an iptables problem, it persists even with iptables switched off.

more i think it has something to do with the redhat-config-securitylevel binary.
this thing just doesn't work right i guess...

can anyone tell me which files this script modifies and/or it has a *.conf file (i didn't find one...)?

the interface still wouldn't come up at boottime.
this is a result of the "securitylevel = high" setting, which i can also see (but not change!) in the GUI version of
redhat-config-securitylevel.

besides the mentioned bug it somehow does not affect ANY settings i make and remains in
the state of high-protection.
thus the eth0 interface is not a trusted device and may not be started. neither at boottime nor
afterwards. this kinda sucks...

[there's a catch though concerning DHCP:
if i assign the int eth0 an ip manually and bring it up, i can ping the inner network, not the public address room ==> "network is unreachable..."]

how does the system define itself as highly protected?
i mean there must be some location that is constantly altered by the default settings from
redhat-config-securitylevel / gnome-lokkit...


help is greatly appriciated...

tom
 
Old 07-02-2004, 10:30 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
the redhat security level binary creates a config for iptables at /etc/sysconfig/iptables.

When you start iptables, it reads this file to setup the filters.

Lokkit only facilitates building this file.

Can we think your situation as iptables impeding your system's ability to procure a DHCP address from your ISP.

Request you try this ... shut down iptables, restart the network.

#service iptables stop
#service network restart

Check whether you can get a DHCP Address.

#/sbin/ifconfig -a


Last edited by ppuru; 07-02-2004 at 10:35 AM.
 
Old 07-07-2004, 08:09 AM   #5
tom_on_linux
LQ Newbie
 
Registered: Jul 2004
Location: Cologne, DE
Distribution: RedHat | Debian
Posts: 6

Original Poster
Rep: Reputation: 0
yo, been gone for a few days...

yeah, i tried that before... with no accepptable result.
i mean, i can get a dhcp address with/without iptables enabled.

somehow the int gets its ip and i can ping the router but not across it.
(yeah, i checked all configs on the router, other clients also on linux pass through correctly...)
metric and bcast are set correctly.

at boottime the int fails with the error: LINK FAIL, check media...
of course the cable is attached, a knoppix boot works just fine... (can browse inet and so forth)
iptables is disabled at boottime and also afterwards (makes no difference if ena/disa).

this problem is a little quaint, cause i even tried a fresh install and also updated the packages
lokkit and redhat-config-securitylevel.

what i cannot identify is the trusted state of eth0...
where can i check the settings if a device is trusted or not?
i figure that this might be the bottom line...


greetings earthlings
TOM
 
  


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
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 10:47 AM
"redhat-config-packages --isodir=/opt/linux/Fedora/rpms" does not work ch_abhishek Red Hat 0 09-23-2004 06:16 AM
redhat-config-securitylevel and SAMBA chromedog Programming 0 05-02-2004 04:48 PM
redhat-config-securitylevel, cannot specify other ports? nsong Linux - Software 2 03-10-2004 08:47 PM
[RedHat] "make xconfig" changes stock .config gbell Linux - Distributions 0 07-07-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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