/alcasar.sh |
---|
39,10 → 39,10 |
# antivirus : HAVP + libclamav configuration |
# tinyproxy : little proxy for user filtered with "WL + antivirus" and "antivirus" |
# ulogd : log system in userland (match NFLOG target of iptables) |
# nfsen : : Configuration du grapheur nfsen pour apache |
# nfsen : : Configuration of Nfsen Netflow grapher |
# dnsmasq : Name server configuration |
# vnstat : little network stat daemon |
# BL : BlackList of Toulouse configuration : split into 3 BL (for Dnsmasq, for dansguardian and for Netfilter) |
# BL : Adaptation of Toulouse University BlackList : split into 3 BL (for Dnsmasq, for dansguardian and for Netfilter) |
# cron : Logs export + watchdog + connexion statistics |
# fail2ban : Fail2ban IDS installation and configuration |
# gammu_smsd : Autoregister addon via SMS (gammu-smsd) |
1517,7 → 1517,7 |
# 2nd dnsmasq listen on udp 54 ("dnsmasq with blacklist") |
cat << EOF > /etc/dnsmasq-blacklist.conf |
# Configuration file for "dnsmasq with blacklist" |
# Add Toulouse blacklist domains |
# Add Toulouse University blacklist domains |
conf-file=$DIR_DEST_ETC/alcasar-dns-name # local DNS resolutions |
conf-dir=$DIR_DEST_SHARE/dnsmasq-bl-enabled |
pid-file=/var/run/dnsmasq-blacklist.pid |
1539,7 → 1539,7 |
# 3rd dnsmasq listen on udp 55 ("dnsmasq with whitelist") |
cat << EOF > /etc/dnsmasq-whitelist.conf |
# Configuration file for "dnsmasq with whitelist" |
# Inclusion de la whitelist <domains> de Toulouse dans la configuration |
# ADD Toulouse university whitelist domains |
conf-file=$DIR_DEST_ETC/alcasar-dns-name # local DNS resolutions |
conf-dir=$DIR_DEST_SHARE/dnsmasq-wl-enabled |
pid-file=/var/run/dnsmasq-whitelist.pid |
1595,7 → 1595,7 |
########################################################## |
BL () |
{ |
# copy and extract toulouse BL |
# copy and extract Toulouse university BL |
rm -rf $DIR_DG/lists/blacklists |
tar zxf $DIR_CONF/blacklists.tar.gz --directory=$DIR_DG/lists/ > /dev/null 2>&1 |
# creation of the OSSI BL and WL categories (domain name and url) |
/scripts/alcasar-bl.sh |
---|
155,7 → 155,7 |
echo "$usage" |
exit 0 |
;; |
# Retrieve Toulouse BL |
# Retrieve Toulouse University BL |
-download | --download) |
rm -rf /tmp/con_ok.html |
`/usr/bin/curl $BL_SERVER -# -o /tmp/con_ok.html` |
174,9 → 174,9 |
-cat_choice | --cat_choice) |
cat_choice |
;; |
# Adapt Toulouse BL to ALCASAR architecture (dnsmasq + DG + iptables) |
# Adapt Toulouse University BL to ALCASAR architecture (dnsmasq + DG + iptables) |
-adapt | --adapt) |
echo -n "Toulouse BlackList migration process. Please wait : " |
echo -n "Adaptation process of Toulouse University blackList. Please wait : " |
if [ -f $DIR_tmp/blacklists.tar.gz ] # when downloading the last version of the BL |
/web/acc/admin/bl_filter.php |
---|
115,7 → 115,7 |
$l_wait="Une fois validées, 10 secondes sont nécessaires pour traiter vos modifications"; |
$l_ip_filtering="Filtrer les URLs contenant une adresse IP au lieu d'un nom de domaine (ex: http://25.56.58.59/index.htm)"; |
$l_safe_searching="Activer le contrôle scolaire/parental des moteurs de recherche google."; |
$l_safe_youtube="Pour un Youtube restreint, suivez les étapes ici : "; |
$l_safe_youtube="Pour un contrôle parental sur Youtube, suivez les étapes ici : "; |
$l_youtube_id="(<a href='https://support.google.com/youtube/answer/174084?hl=fr' target='cat_help' onclick=window.open('https://support.google.com/youtube/answer/174084?hl=fr','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>lien pour créer un identifiant Youtube (Id)</a>)"; |
$l_error_open_file="Erreur d'ouverture du fichier"; |
$l_additional_file_title="Fichiers de 'listes noires' additionnels"; |
165,8 → 165,8 |
$l_record="Save changes"; |
$l_wait="Once validated, 10 seconds are necessary to compute your modifications"; |
$l_ip_filtering="Filtering URLs that contain an IP address instead of a domain name (ie: http://25.56.58.59/index.htm)"; |
$l_safe_searching="Enabling school/parental control for the search engines google, yahoo, bing, metacrawler and Youtube."; |
$l_safe_youtube="For safe Youtube, follow these steps : "; |
$l_safe_searching="Enabling school/parental control for the search engines google"; |
$l_safe_youtube="For a safe Youtube search, follow these steps : "; |
$l_youtube_id="(<a href='https://support.google.com/youtube/answer/174084?hl=en' target='cat_help' onclick=window.open('https://support.google.com/youtube/answer/174084?hl=en','cat_help','width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes') title='Youtube for school'>link to create a Youtube Id</a>)"; |
$l_error_open_file="Error opening file"; |
$l_additional_file_title="Additional blacklist files"; |