Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1149 → Rev 1150

/conf/etc/alcasar-uamallowed
File deleted
/conf/etc/alcasar-uamdomain
File deleted
\ No newline at end of file
/conf/etc/alcasar-uamallowed-sample
0,0 → 1,12
uamallowed="activation.sls.microsoft.com"
uamallowed="crl.microsoft.com"
uamallowed="download.microsoft.com"
uamallowed="download.windowsupdate.com"
uamallowed="go.microsoft.com"
uamallowed="ntservicepack.microsoft.com"
uamallowed="stats.update.microsoft.com"
uamallowed="update.microsoft.com"
uamallowed="update.microsoft.com.nsatc.net"
uamallowed="update.nai.com"
uamallowed="view.atdmt.com"
uamallowed="www.msftncsi.com"
/conf/etc/alcasar-uamdomain-sample
0,0 → 1,10
uamdomain=".akamaiedge.net"
uamdomain=".akamaitechnologies.com"
uamdomain=".download.microsoft.com"
uamdomain=".download.windowsupdate.com"
uamdomain=".ds.download.windowsupdate.com"
uamdomain=".microsoft.com"
uamdomain=".update.microsoft.com"
uamdomain=".update.microsoft.com.nsatc.net"
uamdomain=".windowsupdate.microsoft.com"
uamdomain=".alcasar.net"
/alcasar.sh
486,8 → 486,6
cat <<EOF > /etc/hosts.deny
ALL: ALL: spawn ( /bin/echo "service %d demandé par %c" | /bin/mail -s "Tentative d'accès au service %d par %c REFUSE !!!" security ) &
EOF
# modify "network-functions" Mageia script (waiting for bug fix bugzilla:10623)
$SED "s?/sbin/ethtool?/usr/sbin/ethtool?g" /etc/sysconfig/network-scripts/network-functions
# Firewall config
$SED "s?^EXTIF=.*?EXTIF=\"$EXTIF\"?g" $DIR_DEST_BIN/alcasar-iptables.sh $DIR_DEST_BIN/alcasar-iptables-bypass.sh
$SED "s?^INTIF=.*?INTIF=\"$INTIF\"?g" $DIR_DEST_BIN/alcasar-iptables.sh $DIR_DEST_BIN/alcasar-iptables-bypass.sh
1001,7 → 999,6
# create file for DHCP static ip. Reserve the second IP address for eth1 (the first one is for tun0)
echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
# create files for trusted domains and urls
# cp -f $DIR_CONF/etc/alcasar-uam* $DIR_DEST_ETC/.
touch $DIR_DEST_ETC/alcasar-uamallowed $DIR_DEST_ETC/alcasar-uamdomain
chown root:apache $DIR_DEST_ETC/alcasar-*
chmod 660 $DIR_DEST_ETC/alcasar-*
1637,7 → 1634,7
chmod -R 660 $DIR_DEST_ETC/*
chmod ug+x $DIR_DEST_ETC/digest
 
# correction temporaire du bug du paquet ethtool
# Fix the Mageia bug in function "/etc/sysconfig/network-scripts/network-functions"
[ -e /sbin/ethtool ] || ln -s /usr/sbin/ethtool /sbin/ethtool
 
# Apply and save the firewall rules