/CHANGELOG |
---|
1,7 → 1,8 |
# $Id$ |
********** ALCASAR CHANGELOG ********** |
CHANGES |
- add an other filter when importing the blacklist to remove line beginning with a dot |
BUGS |
- Fix a display bug in ACC activity page |
- When blacklisted, display the categories even if the domain name contains a private prefix (ie mycompagny.whereby.com) |
/scripts/alcasar-bl.sh |
---|
94,7 → 94,8 |
# cleaning file and split it ("domains" in $FILE_tmp & "IP" in $FILE_ip_tmp) |
function clean_split (){ |
$SED '/^#.*/d' $FILE_tmp # remove commented lines |
$SED '/^#/d' $FILE_tmp # remove commented lines |
$SED '/^\./d' $FILE_tmp # remove lines beginning with a dot |
$SED '/^\s*$/d' $FILE_tmp # remove empty lines |
$SED '/[äâëêïîöôüû@,]/d' $FILE_tmp # remove line with "chelou" characters |
# extract ip addresses and ip networks for iptables. |