LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-14-2005, 10:06 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
Using Firestarter ... Can I Add/Drop rules from a terminal prompt?


I'm very impressed with Firestarter, but would like to add and drop some rules depending on what I'm doing. My actual goal is to attach scripts containing the rules related to certain programs to the starting and stopping of those programs.

Using an 'iptables -A INPUT ...' command, I can see the rule is displayed in an 'INPUT' chain, but when I add the rule using Firestarter's GUI, It gets added to an 'INBOUND' chain. (I suppose the 'INBOUND' chain is a user defined chain initialized by Firestarter. Problem is, my 'iptables -A INPUT ...' command does not work, and using the GUI does. I tried changing my command to 'iptables -A INBOUND ...', but that generates an error.

Any suggestions?
 
Old 06-15-2005, 03:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should be able to change iptables whever irrespective of firestarter, but last time i used it, firestarter uses it's own fixed startup script, so each reload of firestarter will nuke any external changes you made to it. no biggy though, i'm sure.

as far as the error, i'd have to assume that you're using the wrong syntax... what IS the error? you could always make that change in firestarter, and diff the before and after versions of firstarters config to see what's actually been changed and what the iptables command it actually uses is. After all, that's all it is... just a command wrapper.
 
  


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 how to add/edit/delete rules in existing chain? debug019 Linux - Newbie 1 11-11-2004 02:48 PM
How can I change the terminal prompt? ICO Slackware 4 02-15-2004 08:09 AM
no prompt in terminal xyfan Linux - Newbie 1 12-05-2003 11:25 PM
terminal with no prompt fletch88 Red Hat 0 11-17-2003 12:45 AM
iptables OUTPUT rules: DROP by process (PID)? gregory76 Linux - Security 6 07-11-2003 04:28 PM

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

All times are GMT -5. The time now is 05:51 PM.

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