/alcasar.sh |
---|
206,8 → 206,20 |
do |
/sbin/chkconfig --del $svc |
done |
# On installe les mises à jour spécifiques |
urpmi --no-verify --auto $DIR_CONF/rpms-update/*.rpm |
# On installe les RPMs spécifiques à la version |
fic=`cat /etc/product.id` |
old="$IFS" |
IFS="," |
set $fic |
for i in $* |
do |
if [ "`echo $i|grep arch|cut -d'=' -f1`" == "arch" ] |
then |
ARCH=`echo $i|cut -d"=" -f2` |
fi |
done |
IFS="$old" |
urpmi --no-verify --auto $DIR_CONF/rpms/$ARCH/*.rpm |
# On supprime les paquetages orphelins |
/usr/sbin/urpme --auto-orphans --auto |
# On vide le répertoire temporaire |
866,7 → 878,7 |
# on limite l'écoute de Dansguardian côté LAN |
$SED "s?^filterip =.*?filterip = $PRIVATE_IP?g" /etc/dansguardian/dansguardian.conf |
# on chaîne Dansguardian au proxy antivirus HAVP |
$SED "s?^proxyport.*?proxyport 8090?g" /etc/dansguardian/dansguardian.conf |
$SED "s?^proxyport.*?proxyport = 8090?g" /etc/dansguardian/dansguardian.conf |
# on remplace la page d'interception (template) |
cp -f $DIR_CONF/template.html /usr/share/dansguardian/languages/ukenglish/ |
cp -f $DIR_CONF/template-fr.html /usr/share/dansguardian/languages/french/template.html |
930,9 → 942,9 |
dd if=/dev/zero of=/tmp/havp-disk bs=1024k count=30 |
mkfs.ext4 -qF /tmp/havp-disk |
mkdir /var/tmp/havp /var/log/havp /var/run/havp |
chown havp:havp /var/tmp/havp /var/log/havp /var/run/havp |
echo "# Entry for havp tmp files scan partition" >> /etc/fstab |
echo "/tmp/havp-disk /var/tmp/havp ext4 loop,mand,noatime,async" >> /etc/fstab |
mount /var/tmp/havp |
# copie et configuration d'HAVP |
cp $DIR_CONF/havp/havp $DIR_DEST_SBIN |
cp -r $DIR_CONF/havp/etc/havp $DIR_DEST_ETC |
939,6 → 951,7 |
cp $DIR_CONF/havp/etc/init.d/havp /etc/init.d/ |
chkconfig --level 345 havp on |
chkconfig --level 01267 havp off |
chown -R havp.havp /var/tmp/havp /var/log/havp /var/run/havp $DIR_DEST_ETC/havp |
} |
################################################################################## |
/conf/rpms-update/mindi-2.0.7.1-1.mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms-update/python-coova-chilli-1.2.1-1mdv2010.0.noarch.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms-update/coova-chilli-1.2.1-1mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms-update/libchilli0-1.2.1-1mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/havp/etc/havp/templates/fr/virus.html |
---|
1,7 → 1,7 |
<html> |
<head> |
<title>HAVP - Accès refusé</title> |
<title>Accès refusé</title> |
<style type="text/css"> |
<!-- |
.style1 { |
18,7 → 18,7 |
<table width=700 height=540 border=0 align="center" cellpadding=2 cellspacing=0> |
<tr bgcolor="#FF6600"> |
<td height=100 colspan=2 align=center> |
<font face=arial,helvetica size=6><strong>HAVP - Acces refusé </strong></font></td> |
<font face=arial,helvetica size=6><strong> Acces refusé </strong></font></td> |
</tr> |
<tr> |
<td align=center valign=bottom width=150 bgcolor=#000066> </td> |
39,9 → 39,8 |
</td> |
</tr> |
<tr> |
<td align=center valign=middle bgcolor=#000066><span class="style1"><font face=arial,helvetica size=2 >Votre |
nom de société </font></span> </td> |
<td bgcolor=#FFFFFF align=center valign=middle><font face=arial,helvetica size=2> Powered by <a href="http://www.server-side.de" target="_blank">HAVP</a> </font> </td> |
<td align=center valign=middle bgcolor=#000066><span class="style1"><font face=arial,helvetica size=2 >ALCASAR</font></span> </td> |
<td bgcolor=#FFFFFF align=center valign=middle><font face=arial,helvetica size=2> Powered by HAVP </font> </td> |
</tr> |
</table> |
/scripts/sbin/alcasar-uninstall.sh |
---|
10,10 → 10,9 |
echo "-----------------------------------------------------------------------------" |
echo |
#services_stop |
for i in ntpd iptables ulogd dansguardian squid chilli httpd radiusd named |
for i in ntpd iptables ulogd dansguardian squid chilli httpd radiusd named freshclam havp |
do |
/sbin/chkconfig --del $i |
/etc/init.d/$i stop |
[ -e /etc/init.d/$i ] && /sbin/chkconfig --del $i && /etc/init.d/$i stop |
done |
echo "Réinitialisation des fonctions : " |
#init |
99,9 → 98,10 |
[ -d /etc/dansguardian/lists/blacklists.default ] && mv -f /etc/dansguardian/lists/blacklists.default /etc/dansguardian/lists/blacklists && echo -n "10" |
sleep 1 |
#antivirus |
echo -en "\n-11 antivirus(5) : " |
echo -en "\n-11 antivirus(6) : " |
chkconfig --del havp && echo -n "1, " |
umount /var/tmp/havp && echo -n "2, " |
sleep 2 |
rmdir /var/tmp/havp && echo -n "3, " |
rm -f /tmp/havp-disk && echo -n "4, " |
$SED "/^# Entry for havp/d" /etc/fstab |
/gestion/menu.php |
---|
146,10 → 146,5 |
</TABLE> |
</td></tr> |
</TABLE> |
<BR> |
<TABLE width="150" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><? echo "$l_access_nb"; ?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="images/pix.gif" width="1" height="2"></td></tr> |
</TABLE> |
</BODY> |
</HTML> |