Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1382 → Rev 1383

/CHANGELOG
2,8 → 2,17
************ ALCASAR CHANGELOG ***********
------------------------2.9 ------------------------
 
BUGS - avoid a connection/deconnection loop when the URL asked is "http://logout"
NEWS
- Mageia4 migration
- Add the SMS auto-registration system
- Add filtering by users/groups
- Add whitelist filtering (domains and related IP addreses)
- Add the IP addresses of the Toulouse blacklist in the firewall targets
ACC
- simplify the user registration menu
- import in the blacklist a file containing a list of ip addresses (ie : CERT)
 
----------------------- 2.8 -----------------------
BUGS - The file "alcasar-services" is now sorted
- New graphic option in grub conf file in order to fix issues with mini-itx-ATOM moterboard
/alcasar.sh
1394,14 → 1394,14
##########################################################
BL ()
{
# on copie par défaut la BL de toulouse embarqués dans l'archive d'ALCASAR
# copy and extract of Toulouse BL
rm -rf $DIR_DG/lists/blacklists
tar zxf $DIR_CONF/blacklists.tar.gz --directory=$DIR_DG/lists/ > /dev/null 2>&1
# on crée le répertoire ossi (noms de domaine et URLs ajoutés à la BL)
# creation of the OSSI BL and WL categories (domain name and url)
mkdir $DIR_DG/lists/blacklists/ossi
touch $DIR_DG/lists/blacklists/ossi/domains $DIR_DG/lists/blacklists/ossi/domains_wl
touch $DIR_DG/lists/blacklists/ossi/urls $DIR_DG/lists/blacklists/ossi/urls_wl
# On crée les fichiers vides de sites ou d'URL réhabilités
# creation of file for the rehabilited domains and urls
[ -e $DIR_DG/lists/exceptionsitelist.default ] || mv $DIR_DG/lists/exceptionsitelist $DIR_DG/lists/exceptionsitelist.default
[ -e $DIR_DG/lists/exceptionurllist.default ] || mv $DIR_DG/lists/exceptionurllist $DIR_DG/lists/exceptionurllist.default
touch $DIR_DG/lists/exceptionsitelist
/conf/clamav-main.cvd
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
/scripts/sbin/alcasar-bl.sh
255,9 → 255,7
chown dansguardian:apache $PATH_FILE/urls
fi
$SED "s/\.\{2,10\}/\./g" $PATH_FILE/domains $PATH_FILE/urls # correct some syntax errors
# retrieving ip addresses for iptables
# create a set save for the selected category
# extract ip addresses for iptables
awk '/^([0-9]{1,3}\.){3}[0-9]{1,3}$/{print "add blacklist_ip_blocked " $0}' $PATH_FILE/domains > $FILE_ip_tmp
# for dnsmask, remove IP addesses, accented characters and commented lines.
egrep -v "^([0-9]{1,3}\.){3}[0-9]{1,3}$" $PATH_FILE/domains > $FILE_tmp
277,7 → 275,7
done
done
rm -f $FILE_tmp $FILE_ip_tmp
# Restoring ossi files
# Restoring ossi file of BL IP
[ -e $DIR_tmp/ossi-ip-bl ] && mv $DIR_tmp/ossi-ip-bl $DIR_IP_BL/ossi
rm -rf $DIR_tmp
echo