LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-20-2006, 09:12 PM   #1
Mercurius
Member
 
Registered: Jul 2005
Distribution: Slackware 11, Solaris 10
Posts: 143

Rep: Reputation: 15
Iptables and Firestarter


Firestarter does not detect the iptables in normal user mode, he says you dont have iptables, but I have iptables installed and can run as root very well. can anyone help me? Is it a permission problem?
 
Old 02-20-2006, 10:13 PM   #2
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Because Firestarter makes changes to your "system" you can't run it as a normal user, it must be run as root. You will need to either run firestarter from a root terminal, or if you have libgnomesu installed you can add gnomesu to the Exec= line in front of firestarter (Exec=gnomesu firestarter) in the /usr/share/applications/firestarter.desktop file. You will also need an rc.firewall script in /etc/rc.d so that your firewall will be started each time you boot.

Are you still running Dropline GNOME? If so I provide a Dropline Extra Firestarter package. You can download it from HERE. The Dropline Extra package is PAM enabled so if you are running a different GNOME now you can get my "regular" Firestarter package from HERE and my GNOMEsu (libgnomesu) from HERE. The last two packages are built using a clean Slackware 10.2 and Freerock GNOME 2.12.1 install. They both also put a rc.firewall.new file in /etc/rc.d so all you'll have to do is rename it to rc.firewall.

Whichever you download all you have to do is open a root terminal, cd to where the packages are located and type in:

upgradepkg --install-new *.tgz

The reason I always do upgradepkg is just in case the package is already installed it will upgrade it and with the --install-new switch if it ain't there it will installpkg it instead.

HTH,
MMYoung
 
Old 02-20-2006, 10:46 PM   #3
Mercurius
Member
 
Registered: Jul 2005
Distribution: Slackware 11, Solaris 10
Posts: 143

Original Poster
Rep: Reputation: 15
I use slack 10.2 with Dropline Gnome and 2.6.15 kernel. Done all you said. Firewall is started at boot-time, I login as normal user, go into a terminal, run "firestarter" and it gives me the same old problem, you must be root in order to run firestarter. In essence, I cant use firestarter as a normal user even with your packgage.

I run "gnomesu firestarter", asks for password and it seems to work, but in terminal appears this :
GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

I added the exec line, it dosent work, only gnomesu firestarter. But is there a way to actually logout of gnomesu? Or when I end the session of firestarter gnomesu ends?

Last edited by Mercurius; 02-20-2006 at 11:04 PM.
 
Old 02-20-2006, 11:02 PM   #4
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Try Applications --> System Tools --> Firestarter
[EDIT]
After I replied to your post I noticed that you edited to include the gnomesu stuff. If you are running Dropline GNOME and downloaded the Firestarter package that ends in xdle.tgz then you don't NEED to add anything to the desktop file. It will use PAM to authenticate so you can remove gnomesu from the Exec= line. If, on the other hand, you downloaded the package that ends in xmmy.tgz then you don't NEED to edit the desktop file because I've already done that for you during the package creation. Either way, you don't NEED to edit the desktop file at all .
[/EDIT]

HTH,
MMYoung

Last edited by MMYoung; 02-20-2006 at 11:10 PM.
 
Old 02-20-2006, 11:13 PM   #5
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Something else I just thought of, how did you install Firestarter initially?

Later,
MMYoung
 
Old 02-21-2006, 12:29 AM   #6
Mercurius
Member
 
Registered: Jul 2005
Distribution: Slackware 11, Solaris 10
Posts: 143

Original Poster
Rep: Reputation: 15
Initially, I compiled it from the sources from the offician firestarter site ...

EDIT

Removed everything, every package of firestarter, installed only yours, blissfull success! Keep up the good work

BTW : It asks me everytime I want to start firestarter for the pesky root password. I modify sudoers and add "username ALL= NOPASSWD: /usr/bin/firestarter" but when I launch it from a terminal with "sudo firestarter", it works fine but prints this on the terminal:

GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

Is it ok?

Last edited by Mercurius; 02-21-2006 at 12:52 AM.
 
Old 02-21-2006, 06:14 AM   #7
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by Mercurius
Initially, I compiled it from the sources from the offician firestarter site ...

EDIT

Removed everything, every package of firestarter, installed only yours, blissfull success! Keep up the good work
Great, glad you got it working!
Quote:
Originally Posted by Mercurius
BTW : It asks me everytime I want to start firestarter for the pesky root password.
That's exactly what it is supposed to do. My Dropline package uses PAM to authenticate but you STILL have to pass the root password to it.
Quote:
Originally Posted by Mercurius
I modify sudoers and add "username ALL= NOPASSWD: /usr/bin/firestarter" but when I launch it from a terminal with "sudo firestarter", it works fine but prints this on the terminal:

GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
By using sudo you are circumventing the PAM authenication. If you will look at /usr/bin/firestarter it is actually a symlink to /usr/bin/consolehelper. This consolehelper file "redirects" to the authenication file /etc/security/console.apps/firestarter.

HTH,
MMYoung
 
Old 03-06-2006, 03:15 PM   #8
Mercurius
Member
 
Registered: Jul 2005
Distribution: Slackware 11, Solaris 10
Posts: 143

Original Poster
Rep: Reputation: 15
Everytime I start i log into a normal account firestarter boots up ... i forgot what I did to do that. Any ideea where to look?
 
Old 03-06-2006, 03:37 PM   #9
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by Mercurius
Everytime I start i log into a normal account firestarter boots up ... i forgot what I did to do that. Any ideea where to look?
As long as you still have the rc.firewall script in /etc/rc.d then it will start when you boot (not firestater, but your firewall).

HTH,
MMYoung
 
Old 03-07-2006, 02:37 AM   #10
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Is this maybe a gnome-session issue?

"Start Menu" -> Desktop -> Preferences -> Sessions

You can check by creating a new user ("test" for example) and seeing if the problem persists with the new user.

MMYoung's latest package runs flawlessly (as far as I can tell), but you may have issues with previous configs (depending on how you set things up). One potential issue is that you set up the GNOME session improperly. Testing a new user will tell you if that may be the problem.
 
  


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
Iptables? firestarter? Santa Atrocity Fedora 5 02-23-2005 05:15 PM
iptables and firestarter question shilo Slackware 7 02-04-2005 12:18 AM
securing using firestarter or iptables PennyroyalFrog Linux - Security 3 10-13-2004 01:36 PM
firestarter iptables PennyroyalFrog Linux - Newbie 1 10-10-2004 03:08 PM
Firestarter or IPTables config? gbg Linux - Networking 2 03-31-2004 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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