Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 679 → Rev 681

/scripts/alcasar-conf.sh
163,7 → 163,7
else
echo "LDAP=on" >> $CONF_FILE
fi
PROTOCOLS_FILTERING=`grep ^FILTERING /usr/local/bin/alcasar-iptables.sh | cut -d"=" -f2`
PROTOCOLS_FILTERING=`grep ^PROTO_FILTERING /usr/local/bin/alcasar-iptables.sh | cut -d"=" -f2`
PROTOCOLS_FILTERING=${PROTOCOLS_FILTERING:="no"}
if [ $PROTOCOLS_FILTERING = "no" ]; then
echo "PROTOCOLS_FILTERING=off" >> $CONF_FILE
/web/acc/admin/net_filter.php
73,6 → 73,7
exec ("sudo /usr/local/sbin/alcasar-nf.sh -off");
break;
case 'new_proto' :
$_POST['add_proto'] = str_replace (CHR(32),"-",$_POST['add_proto']);
if ((trim($_POST['add_port']) != "80") and ($_POST['add_port'] != "") and ($_POST['add_proto'] != "") and (is_numeric($_POST['add_port'])))
{
$tab=file($services_list);