LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   firestarter questions (https://www.linuxquestions.org/questions/linux-security-4/firestarter-questions-74533/)

mike@wales 07-21-2003 06:29 AM

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?

unSpawn 07-22-2003 04:12 PM

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.


All times are GMT -5. The time now is 04:29 PM.