/alcasar.sh |
---|
1384,8 → 1384,7 |
cp $DIR_CONF/nfsen/install-surfmap.sh /tmp/SURFmap/install.sh |
cd /tmp/SURFmap |
/usr/bin/sh install.sh |
tar xzf $DIR_CONF/nfsen/GeoLiteCityv4_v6.tar.gz /var/www/nfsen/plugins/SURFmap/lib/MaxMind |
chown -R apache:apache /var/www/nfsen/plugins/SURFmap/lib/MaxMind/GeoLiteCity* |
# clear the installation |
cd $DirTmp |
rm -rf /tmp/nfsen-1.3.6p1/ |
1627,10 → 1626,13 |
[ -e /var/Save/logs/security/watchdog.log ] || touch /var/Save/logs/security/watchdog.log |
chmod 644 /var/log/fail2ban.log |
chmod 644 /var/Save/logs/security/watchdog.log |
/usr/bin/touch /var/log/auth.log |
# Edition de l'unité fail2ban |
[ -e /usr/lib/systemd/system/fail2ban.service ] || cp /usr/lib/systemd/system/fail2ban.service /usr/lib/systemd/system/fail2ban.service.default |
[ -e /usr/lib/systemd/system/fail2ban.service ] && cp /usr/lib/systemd/system/fail2ban.service /usr/lib/systemd/system/fail2ban.service.default |
$SED '/Type/a\PIDFile=/var/run/fail2ban/fail2ban.pid' /usr/lib/systemd/system/fail2ban.service |
$SED '/After=*/c After=syslog.target network.target httpd.service' /usr/lib/systemd/system/fail2ban.service |
} #Fin de fail2ban_install() |
/conf/nfsen/GeoLiteCityv4_v6.tar.gz |
---|
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/nfsen/SURFmap_v3.3b1.tar.gz |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/conf/nfsen/install-surfmap.sh |
---|
164,8 → 164,8 |
################################################################################################################################################## |
# Deleting temporary files |
# rm -rf ${TMP_DIR} |
rm -rf ${GEO_DB} |
rm -rf ${GEOv6_DB} |
# rm -rf ${GEO_DB} |
# rm -rf ${GEOv6_DB} |
# Check whether an old SURFmap version was found and ask whether frontend configuration and data structures should be retained |
if [ $INSTALL_FRONTEND = 1 -a -d ${SURFMAP_BACKUPDIR_FRONTEND} ]; then |
/web/error.php |
---|
258,7 → 258,7 |
<title>ALCASAR - <?php echo $l_error; ?></title> |
<meta http-equiv="Cache-control" content="no-cache"> |
<meta http-equiv="Pragma" content="no-cache"> |
<link rel="stylesheet" type="text/css" href="css/style_intercept.css"> |
<link rel="stylesheet" type="text/css" href="/css/style_intercept.css"> |
<script type="text/javascript"> |
</script> |
</head> |
268,7 → 268,7 |
<p id=\"acces_controle\" class=\"titre_refus\">$l_error</p>"; |
?> |
<div id="boite_logo"> |
<img src="images/organisme.png"> |
<img src="/images/organisme.png"> |
</div> |
</div> |