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 04-03-2007, 10:12 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Adding to Firestarter's Default List of Services


When you want to make a rule to allow a new service using Firestarter, The "Name" box has a dropdown menu with several common services like http, ssh, ntp, etc.

I would like to add another service to that list, but can't find out how to do it. I've looked thru the obvious Firestarter configuration files, but can't find one that includes such a list.

Anyone happen to know how to do it?
 
Old 04-05-2007, 09:43 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Have a look at the Firestarter man or help page. In a console window type: man firestarter or type: firestarter --help

Last edited by {BBI}Nexus{BBI}; 04-05-2007 at 09:49 AM.
 
Old 04-05-2007, 11:10 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Quote:
Firestarter man or help page...
You think I didn't do that?!?!? I consider it fairly bad manners to knock a question off the zero replies list without actually contributing to a solution.

Last edited by rickh; 04-05-2007 at 11:12 AM.
 
Old 04-05-2007, 12:26 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by rickh
You think I didn't do that?!?!? I consider it fairly bad manners to knock a question off the zero replies list without actually contributing to a solution.
Whoa slow down!

Did you put in your post that you'd tried those things? No

Am I a mind reader? No

Manners has nothing to do with it, simply apologise for not including as much info as possible in your post. As a Senior Member you should know how to post a query in a verbose manner.

Further more I believe you should be looking for the policy file.

Last edited by {BBI}Nexus{BBI}; 04-05-2007 at 12:44 PM.
 
Old 04-05-2007, 01:49 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
There is no "policy" file.

In the future you would be well advised to only recommend RTFM if you know the answer is there.
 
Old 04-05-2007, 02:24 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by rickh
There is no "policy" file.

In the future you would be well advised to only recommend RTFM if you know the answer is there.
Ok, I should have said the file which contains the policy rules and oh yes, 'RTFM' (which would still have knocked your post off the zero replies list).

Last edited by {BBI}Nexus{BBI}; 04-05-2007 at 02:26 PM.
 
Old 04-05-2007, 03:10 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Quote:
I should have said the file which contains the policy rules and oh yes, 'RTFM' (which would still have knocked your post off the zero replies list).
As I said in the original post, I read thru all the configuration files and rules files. None of them contain the information I am looking for. I suspect that information is compiled into the binary which strikes me as a clumsy design. I had hoped that some knowledgeable person would verify that, or present a workaround. Instead I got RTFM from a person who hasn't got a clue of what the manual says.

It's all well and good to try to clear zero-reply threads, but the objective is to clear them with something helpful.
 
Old 04-05-2007, 06:35 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by rickh
I suspect that information is compiled into the binary
if this is true, then grepping the source code should show you were the relevant parts are... even if you're not a programmer, you might be able to figure-out how to add your option... i'd probably start by looking at the service.c file...

that said, i would indeed expect an easier method to be available, but i have no firestarter experience so i'm not sure... =/

Last edited by win32sux; 04-05-2007 at 06:46 PM.
 
Old 04-06-2007, 12:47 AM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Quote:
...i'd probably start by looking at the service.c file
Aha. That's where they are all right. I can certainly see how to add my stuff into the source, and I think I can compile it. The big blocker left is that I'd like to get it back into a .deb file that I can install with aptitude.

Hmmm! I've always claimed that I wanted to learn how to do that. Maybe we'll see if I really did, or if I just liked the idea.

Thanks.
 
  


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
Help with list of services using chkconfig command pxumsgdxpcvjm Linux - General 2 03-04-2006 06:09 PM
List services maginotjr Linux - Newbie 3 05-30-2005 04:53 AM
How do I get a list of services running on my computer? imsam Linux - Newbie 4 10-27-2004 01:59 AM
List of System Services and their descriptions demerson3 Linux - Newbie 1 09-12-2004 03:27 AM
Adding new services iroxa Linux - Software 3 05-18-2004 08:10 PM

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

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