@TheHobbit:
The patch is not sufficient to fix the issue. I realized that the /etc/firestarter/firestarter.sh generated by Firestarter wizard contains the following:
# External network interface data IP=`LANG=C /sbin/ifconfig $IF | grep inet | cut -d : -f 2 | cut -d \ -f 1` MASK=`LANG=C /sbin/ifconfig $IF | grep Mas | cut -d : -f 4` BCAST=`LANG=C /sbin/ifconfig $IF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1` NET=$IP/$MASK
if [ "$NAT" = "on" ]; then # Internal network interface data INIP=`/sbin/ifconfig $INIF | grep inet | cut -d : -f 2 | cut -d \ -f 1` INMASK=`/sbin/ifconfig $INIF | grep Mas | cut -d : -f 4` INBCAST=`/sbin/ifconfig $INIF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1` INNET=$INIP/$INMASK fi
So the IP, MASK, BCAST and NET variables are right, but the INIP, INMASK, INBCAST and INNET are still using the wrong locale.
What about setting LANG=C at the beggining of the firestarter.sh generated script?
@TheHobbit:
The patch is not sufficient to fix the issue. I realized that the /etc/firestarte r/firestarter. sh generated by Firestarter wizard contains the following:
# External network interface data
IP=`LANG=C /sbin/ifconfig $IF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
MASK=`LANG=C /sbin/ifconfig $IF | grep Mas | cut -d : -f 4`
BCAST=`LANG=C /sbin/ifconfig $IF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1`
NET=$IP/$MASK
if [ "$NAT" = "on" ]; then
INIP=` /sbin/ifconfig $INIF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
INMASK= `/sbin/ ifconfig $INIF | grep Mas | cut -d : -f 4`
INBCAST= `/sbin/ ifconfig $INIF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1`
INNET= $INIP/$ INMASK
# Internal network interface data
fi
So the IP, MASK, BCAST and NET variables are right, but the INIP, INMASK, INBCAST and INNET are still using the wrong locale.
What about setting LANG=C at the beggining of the firestarter.sh generated script?