LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2003, 06:29 AM   #1
mike@wales
LQ Newbie
 
Registered: May 2003
Posts: 23

Rep: Reputation: 15
firestarter questions


i've just started using firestarter, and i have some questions. When i start firestarter in the terminal applet loads up and starts protecting, but in the terminal i get:

/etc/firestarter/firewall.sh: line 161: [: =: unary operator expected

line 161 is part of initial name server setup:

"if [ $s1 = 192.168.0.1 ] ; then"

it was: " if [ $s1 = "NAMESERVER" ] ; then"

i replaced "nameserver" because i thought this was required, but the problem persists.

What do i need to do?
 
Old 07-22-2003, 04:12 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK this is a *scripting* problem, not a security problem.
The variable s1 probably was not initialized.
If you can't retrace where the variable "s1" comes from, go find out what the command and args are the terminal applet uses to start Firestarter, then run it (if it is a script) as "sh -x <script+args> 2>&1 | tee /tmp/error.log". Then you can read back /tmp/error.log to see where the variable should be initialized.
 
  


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
firestarter firewall questions - post install buffed317 Linux - Security 7 05-04-2005 11:28 PM
Firestarter CrEsPo Linux - Security 10 05-02-2005 08:23 PM
Firestarter 1.0 brokenflea Linux - Security 1 11-26-2004 09:38 AM
FireStarter questions HoosTrax Linux - Security 2 02-29-2004 07:57 PM
Firestarter tied2 Linux - General 2 07-16-2002 09:01 PM

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

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