LinuxQuestions.org
Help answer threads with 0 replies.
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 12-07-2005, 09:19 PM   #1
sbowman22
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Rookie broke firewall


I have Fedora 4 loaded.

I added this line to the firewall (Desktop\System Settings\Security Level): 5901:tcp

I closed the firewall and retried VNCing into box. No luck so I restarted linux. Still no luck, I tried to access the firewall again. It opens for 2 seconds and closes.

When I run this: system-config-securitylevel --> at the command prompt, I get this:

Traceback (most recent call last):
File "usr/share/system-config-securitylevel/system-config-securitylevel.py" line 18, in ? app.stand_alone()
File "usr/share/system-config-securitylevel/secruitylevel.py" line 453, in stand_alone self readFile()
File "usr/share/system-config-securitylevel/secruitylevel.py", line 353, in readFile protoname=socket.getservbyport(int(service), protocl)
socket.error: port/proto not found


Any ideas, I cant get VNC to work or edit the firewall

Thanks
 
Old 12-08-2005, 03:40 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
That syntax looks ok, so it might be some kind of bug with the firewall GUI. Try using the command line instead:

Open a new terminal
Become root with su -
Enter root password when prompted
Enter the following:
iptables -I INPUT -p tcp --dport 5901 -j ACCEPT

Test out your VNC
If it works, then make changes permanent with:
service iptables save
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mepis Rookie kraydl MEPIS 10 10-23-2005 06:37 PM
rookie at work hannible808 Linux - Software 2 11-28-2004 12:15 PM
sniffing rookie yimboli Linux - Security 2 11-07-2004 01:00 PM
rookie compiling zabir Linux - Newbie 1 09-24-2004 12:25 PM
hi, question of a rookie Killah Linux - Hardware 2 02-17-2004 02:10 PM

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

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