Title: Does HTTP Content filter automatically update? Post by: TheEricHarris on Thursday 25 September 2008, 03:59:10 am Does Dansguardian in ENDIAN auto update the blacklist? This feature was enabled by default in IPCOP when installed.
Title: Re: Does HTTP Content filter automatically update? Post by: blobbi on Thursday 25 September 2008, 04:07:33 am no autoupdate ... !
but you can use this http://efwsupport.com/index.php?topic=4.0 Title: Re: Does HTTP Content filter automatically update? Post by: TheEricHarris on Thursday 25 September 2008, 07:30:46 am Thanks.
Looks like I need to unsort the url files, since version of dansguardian (2.9.9.3) doesn't like to unsort a file that is sorted already. Anyone dealt with this? I can't get the binary for rl or unsort from anywhere. Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Tuesday 07 October 2008, 03:53:44 am I just found this forum while looking for how to update the blacklist in EFW.
Are you folks running 2.1.2 or 2.2? I have 2.1.2 right now and have located 2 scripts while googling. One looks to be written for EFW and the other is actually for DG (actually ClarckConnect running DG). I will test when I get home tonight. So from the sound of previous posts I am curious if EFW will automatically add the blacklist categories after running the bl update, is this correct? I thought I read elsewhere you had to manually add the new categories to a config or cgi file or something. Thanks, K Title: Re: Does HTTP Content filter automatically update? Post by: blobbi on Tuesday 07 October 2008, 04:42:13 pm Hi there,
"have located 2 scripts while googling." can you show me ! i written a script that do some Autoupdate every week but the script is beta :) greetings from germany Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Wednesday 08 October 2008, 01:28:21 am I have one with me, the other (looks like it was for DG on ClarkConnect) is at home. I haven't tried the script yet as I manually added the bl from blacklist.org (bigblacklist.tar.gz) and my EFW box is still running at 100% utilization (over 12 hours) - dansguardian is consistently 98+% CPU. If it is still running high tonight I'll put it back and try again - I tar'd up the original dirs.
BTW, this was posted to the nabble mail list archives: #!/bin/sh # update_blacklists.sh, 20070615 # Mike Tremaine <mgt@stellarcore.net> ################################### ################################### #Set up variables ################################### dansguardian_start="/etc/init.d/dansguardian start" dansguardian_stop="/etc/init.d/dansguardian stop" dansguardian_conf="/etc/dansguardian/" httpget="/usr/bin/curl" tarpath="/bin/tar" workdir="/tmp" blacklist="http://squidguard.mesd.k12.or.us/blacklists.tgz" ########################################## #Move to tmp and download ########################################## cd $workdir $httpget -O $blacklist || exit 1 $tarpath xzf $workdir/blacklists.tgz -C $workdir || exit 1 #Sanity check file we downloaded if [ $(stat -c%s "$workdir/blacklist.tgz") -lt 4000001 ]; then exit 1 fi ########################################### #Updates lists ############################################ cp -pRf $workdir/blacklists $dansguardian_conf #Restart $dansguardian_stop sleep 3 $dansguardian_start #Cleanup rm -f $workdir/blacklists.tgz rm -r -f $workdir/blacklists exit 0 Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Wednesday 08 October 2008, 01:38:33 am BTW, I also grabbed the phraselists dir off of a ClarkConnect box and can try to make available if you like. The files are larger than what is on EFW.
Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Wednesday 08 October 2008, 02:27:25 pm I just noticed there is a typo in the stat line, need to add a (s) to blacklist.tgz (blacklists.tgz).
Anyone know if the categories file needs to be updated and if so what needs to change? Thanks, BTW, EFW 2.2RC3 Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Thursday 09 October 2008, 12:50:35 am FYI, here is the link/post I grabbed the above script from:
http://www.nabble.com/Clamav-0.94-%2B-Havp-.89-and-an-blacklist-updater-to19595482.html (http://www.nabble.com/Clamav-0.94-%2B-Havp-.89-and-an-blacklist-updater-to19595482.html) The poster mentioned he was running EFW 2.0. I am happy to help port to 2.1.2/2.2 but it would greatly help if there was documentation on EFW's dependencies. Title: Re: Does HTTP Content filter automatically update? Post by: Hinze57 on Friday 10 October 2008, 11:48:34 am pulling the blacklist from squidguard.mesd.k12.or.us worked okay. I believe the problem I had pulling from urlblacklist.com had to do with their sorting them. DG notes on their website that DG runs better if the lists are unsorted. However, I am still trying to figure out how to handle the /etc/dansguardian/blacklists/categories file.
Anyone know the diff between the /etc/dansguardian/blacklists and /etc/dansguardian/lists/blacklists dirs. Title: Re: Does HTTP Content filter automatically update? Post by: martec on Friday 14 November 2008, 04:26:04 am Sorry, but i don't understand: the script posted by Hinze57 work or not?
Where i can found a manually howto for update DG in Endian? Title: Re: Does HTTP Content filter automatically update? Post by: blobbi on Friday 14 November 2008, 05:32:17 pm here
http://efwsupport.com/index.php?topic=4.0 second entry works fine ... works on all my efw´s |