Subject: ipkungfu: unary operator expected
Package: ipkungfu
Version: 0.5.2-7
Severity: normal

*** Please type your report below this line ***
When I start ipkungfu as a standalone machine (after modifying the config) the command:
 "ipkungfu -t" produces the following result

Checking configuration...
 RECENT support detected!
Your external interface is: eth0
Your internal interface is: lo
You /usr/sbin/ipkungfu: line 884: [: !=: unary operator expected
want IP forwarding
You /usr/sbin/ipkungfu: line 889: [: !=: unary operator expected
want IP masquerading

I guess there is a problem with these lines:
===================================
 if [ $IP_FORWARD != 1 ] ; then
  echo -n "do NOT "
 fi
===================================
and
===================================
 if [ $MASQ_LOCAL_NET != 1 ] ; then
  echo -n "do NOT "
 fi
====================================

IP_forward and masquerade are not enabled.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ipkungfu depends on:
ii  iproute                 20051007-4       Professional tools to control the
ii  iptables                1.3.5.0debian1-1 Linux kernel 2.4+ iptables adminis

ipkungfu recommends no packages.

-- no debconf information

--
Best regards
Rossen Naydenov

Reply via email to