Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-03-2007, 09:12 PM
|
#1
|
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:
|
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?
|
|
|
04-05-2007, 08:43 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
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 08:49 AM.
|
|
|
04-05-2007, 10:10 AM
|
#3
|
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:
|
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 10:12 AM.
|
|
|
04-05-2007, 11:26 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
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 11:44 AM.
|
|
|
04-05-2007, 12:49 PM
|
#5
|
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:
|
There is no "policy" file.
In the future you would be well advised to only recommend RTFM if you know the answer is there.
|
|
|
04-05-2007, 01:24 PM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
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 01:26 PM.
|
|
|
04-05-2007, 02:10 PM
|
#7
|
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:
|
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.
|
|
|
04-05-2007, 05:35 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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 05:46 PM.
|
|
|
04-05-2007, 11:47 PM
|
#9
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 05:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|