I think the working assumption is that the machine
running Firestarter is directly connected to the
internet and not behind a router. The NAT and DHCP
options would be available and perhaps set for a
'gateway' machine but not for a box behind a router
which itself provides the NAT and DHCP functions.
The proposed workaround in 'firestarter.sh' tries to
fix up the $BCAST variable in the case of a machine
behind a router by checking that both NAT and DHCP are
off, and that the $BCAST is not set to 255.255.255.255
as it would most likely be for a directly connected
machine:
BCAST=`/sbin/ifconfig $IF |grep Bcast: | cut -d : -f 3
| cut -d \ -f 1`
#
# If this is not a gateway or standalone machine
# connected directly to the internet, (i.e. behind a
# router), set external broadcast address to high
# values
# D. Brazziel 6/05/06
#
if [ "$NAT" = "off" ] && [ "$DHCP_SERVER" = "off" ] &&
[ "$BCAST" != "255.255.255.255" ]; then
BCAST=`255.255.255.255`
fi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]