Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 15 November 2024, 05:52:15 pm

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Dansguardian URL regular expressions
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Dansguardian URL regular expressions  (Read 18207 times)
wcage03
Jr. Member
*
Offline Offline

Posts: 2


« on: Monday 25 March 2013, 08:05:13 am »

I would like to enable the safe search feature for Google using Dansguardian.  I found some info on the net about how to modify the file urlregexplist to enable this, but it doesn't seem that DG is using this file as expected.  Anyone have any insight into how to accomplish this?
Logged
fqureshi
Sr. Member
****
Offline Offline

Posts: 126


« Reply #1 on: Monday 25 March 2013, 08:10:57 am »

I tried to accomplish this task but still no success...
Logged
elzinga
Jr. Member
*
Offline Offline

Posts: 2


« Reply #2 on: Sunday 31 March 2013, 12:39:32 pm »

looks like what is happening is every time you restart your proxy, Endian creates a blank urlregexplist in /etc/dansguardian/profiles/<num>.  This is the file that actually gets used.  Furthermore, the configuration file, /etc/dansguardian/dansguardian<filt>.conf gets overwritten as well.
Logged
wcage03
Jr. Member
*
Offline Offline

Posts: 2


« Reply #3 on: Wednesday 03 April 2013, 12:58:40 pm »

So, any ideas for a workaround?  I would like to take advantage of this to turn on Google (and others) safe search.  Are there other ways to accomplish this?
Logged
elzinga
Jr. Member
*
Offline Offline

Posts: 2


« Reply #4 on: Sunday 28 April 2013, 10:07:45 pm »

It looks like you need to modify /etc/dansgaurdian/lists/urlregexplist file although I have done this and the file seems to be in the proper place, the safe search is not enabled.  Not sure what to do at this point.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #5 on: Saturday 04 May 2013, 12:46:34 am »

When trying to tweak .conf files, you should modify the template files (.conf.tmpl), not the generated ones (.conf)
Logged
karlhenselin
Jr. Member
*
Offline Offline

Posts: 5


« Reply #6 on: Wednesday 15 May 2013, 12:47:09 pm »

The advice on editing the tmpl files is good, but I don't think that the urlregexplist file has a templ file. (EFW 2.5.1)
I was thinking I would edit some script somewhere and add a line to copy my file from somewhere else to there, or maybe chmod the file after editing to be read only.
Did you find a better solution then either of those, or have a recommendation between them?

Thanks.
Logged
karlhenselin
Jr. Member
*
Offline Offline

Posts: 5


« Reply #7 on: Wednesday 15 May 2013, 09:25:35 pm »

So rereading the posts above, I could also perhaps just make a new file that isn't overwritten and point the dansguardianf#.conf.temp to that other file?
I was worried that might get written over if I do that though.
That might be a nice easy solution for me. I will try it.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

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