/scripts/alcasar-netflow.sh |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/scripts/alcasar-conf.sh |
---|
217,7 → 217,6 |
ORGANISME=`grep ORGANISM $CONF_FILE|cut -d"=" -f2` |
DOMAIN=`grep DOMAIN $CONF_FILE|cut -d"=" -f2` |
DHCP_mode=`grep DHCP= $CONF_FILE|cut -d"=" -f2` |
INT_DNS_active=`grep INT_DNS_ACTIVE= $CONF_FILE|cut -d"=" -f2` |
if [ "$PARENT_SCRIPT" != "alcasar.sh" ] # don't launch on install stage |
then |
if [ $DHCP_mode = "off" ] |
224,8 → 223,6 |
then |
$DIR_SBIN/alcasar-dhcp.sh --off |
fi |
# Implementation of a local internal DNS server |
$DIR_SBIN/alcasar-dns-local.sh --$INT_DNS_active |
# Implementation of the authentification LDAP |
# $DIR_SBIN/alcasar-ldap.sh --$INT_LDAP_active |
/scripts/alcasar-iptables.sh |
---|
41,8 → 41,6 |
DNSMASQ_WL_ENABLED="/usr/local/share/dnsmasq-wl-enabled" # enabled domain names for the Whitelist |
TMP_users_set_save="/tmp/users_set_save" # tmp file for backup users set |
TMP_set_save="/tmp/ipset_save" # tmp file for blacklist and whitelist creation |
QOS=`grep ^QOS= $CONF_FILE|cut -d"=" -f2` # QOS (on/off) |
QOS=${QOS:=off} |
SSH=`grep ^SSH= $CONF_FILE|cut -d"=" -f2` # sshd active (on/off) |
SSH=${SSH:=off} |
SSH_ADMIN_FROM=`grep ^SSH_ADMIN_FROM= $CONF_FILE|cut -d"=" -f2` |
383,11 → 381,6 |
$IPTABLES -A FORWARD -i $TUNIF -p icmp -j REJECT |
fi |
# If QOS is activate # |
if [ $QOS = on ] && [ -e /usr/local/etc/alcasar-iptables-qos.sh ]; then |
. /usr/local/etc/alcasar-iptables-qos.sh |
fi |
# Autorisation des connections sortant du LAN |
# Allow forward connections with log |
#$IPTABLES -A FORWARD -i $TUNIF -s $PRIVATE_NETWORK_MASK -m state --state NEW -j ULOG --ulog-prefix "RULE F_all -- ACCEPT " |
/scripts/sbin/alcasar-qos.sh |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-LF |
\ No newline at end of property |
Deleted: svn:executable |
-* |
\ No newline at end of property |
Deleted: svn:keywords |
-Id Author Date |
\ No newline at end of property |
/scripts/sbin/alcasar-dateLog.sh |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-LF |
\ No newline at end of property |
Deleted: svn:executable |
-* |
\ No newline at end of property |
Deleted: svn:keywords |
-Id Author Date |
\ No newline at end of property |
/scripts/sbin/alcasar-dns-local.sh |
---|
File deleted |
Property changes: |
Deleted: svn:eol-style |
-native |
\ No newline at end of property |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/scripts/sbin/alcasar-profil.sh |
---|
51,7 → 51,7 |
chmod 640 $DIR_KEY/key_* |
} |
usage="Usage: alcasar-profil.sh --list | --add | --del | --pass" |
usage="Usage: alcasar-profil.sh [-l|--list] [-a|--add] [-d|--del] [-p|--pass]" |
nb_args=$# |
args=$1 |
79,7 → 79,7 |
echo "$usage" |
exit 0 |
;; |
--add|-add) |
--add|-a) |
# ajout d'un compte |
list |
if [ $Lang == "fr" ] |
117,7 → 117,7 |
concat |
list |
;; |
--del|-del) |
--del|-d) |
# suppression d'un compte |
list |
if [ $Lang == "fr" ] |
134,7 → 134,7 |
concat |
list |
;; |
--pass|-pass) |
--pass|-p) |
# changement du mot de passe d'un compte |
list |
if [ $Lang == "fr" ] |
159,7 → 159,7 |
done |
concat |
;; |
--list|-list) |
--list|-l) |
# liste des comptes par profile |
list |
;; |