Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 18 November 2024, 09:41:03 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Does HTTP Content filter automatically update?
0 Members and 7 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Does HTTP Content filter automatically update?  (Read 43529 times)
TheEricHarris
Full Member
***
Offline Offline

Posts: 86


« 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.

Logged
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #1 on: Thursday 25 September 2008, 04:07:33 am »

no autoupdate ... !

but you can use this
http://efwsupport.com/index.php?topic=4.0
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
TheEricHarris
Full Member
***
Offline Offline

Posts: 86


« Reply #2 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.
Logged
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #3 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
Logged
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #4 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 Smiley

greetings
from germany
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #5 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
Logged
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #6 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.
Logged
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #7 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
Logged
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #8 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

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.
Logged
Hinze57
Jr. Member
*
Offline Offline

Posts: 8


« Reply #9 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. 

Logged
martec
Full Member
***
Offline Offline

Posts: 34


« Reply #10 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?

Logged
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #11 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
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.156 seconds with 20 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com