Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 14 November 2024, 10:22:25 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Content Filter Stopped......
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Content Filter Stopped......  (Read 18138 times)
Froggy
Jr. Member
*
Offline Offline

Posts: 1


« on: Saturday 24 July 2010, 10:33:23 pm »

Hi

I have a new install of v2.4 and all seems well apart from the Content Filter which is shown as Stopped in Status.  All other services (including Virus Scanner) which should be started are started.   I note from previous issues raised in this forum and via Google that this is not an unknown problem but I can't find the answer!  A reboot is of no use.

The HTTP Proxy (transparent) is Enabled and on the Content Filter page I have amended the Default Profile as required.  But nothing I do starts the Content Filter service.

Any assistance would be greatly appreciated!

 Shocked Shocked  Solved - After much experiment the only way was to keep restarting Content Filter from the console.  Eventually it decided to remain started!
Logged
wujilee
Jr. Member
*
Offline Offline

Posts: 1


« Reply #1 on: Monday 02 August 2010, 12:13:36 pm »

Hi, mayb i know how do u restart the content filter in console?im trying to use 'restartdandsguardian' to restart the content filter but it's doesnt work for me.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #2 on: Tuesday 03 August 2010, 01:58:49 am »

It is usually better to use the .py versions of the restart scripts, with the debug parameter (-d).
 It gives you way more useful info of what's happening.
i.e:

restartdansguardian.py -d
restartsquid.py -d


Check for any error there
Logged
kpswalin
Jr. Member
*
Offline Offline

Posts: 5


« Reply #3 on: Monday 06 September 2010, 01:39:29 am »

I have a 2.4 un-modded. I have only configured the standard GUI settings. I cannot get the 'Content Filter' to start. I have modified the 'default' content filter profile. When I try the following command, as recommended by 'mrkroket'

Code:
restartdansguardian.py -d

I get the following:

Code:
root@efw:~ # restartdansguardian.py -d
2010-09-04 21:25:45,920 - restartdansguardian.py[23894] - DEBUG - ['/var/efw/dansguardian']
2010-09-04 21:25:45,921 - restartdansguardian.py[23894] - DEBUG - 1
2010-09-04 21:25:45,922 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:45,923 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:45,992 - restartdansguardian.py[23894] - DEBUG - {'ORANGE_ADDRESS': 'X.X.X.X', 'ORANGE_ENABLED': 'transparent', 'NTLM_BDC': '', 'HAVP_ENABLED': 'on', 'UPSTREAM_PORT': '8080', 'MODEL': 'macro', 'LDAP_SERVER': '', 'DST_NOCACHE': '', 'CONFIG_TYPE': '7', 'HAVP': 'on', 'UPSTREAM_USER': '', 'MAIN_MAILFROM': 'email@isp.net', 'TIMEZONE': 'America/Denver', 'BLUE_ENABLED': 'transparent', 'WINDOWWITHHOSTNAME': 'on', 'UPSTREAM_ENABLED': 'off', 'L1_DIRS': '', 'FORWARD_USERNAME': '', 'GREEN_CIDR': '27', 'NTLM_ENABLE_ACL': 'off', 'NTLM_ENABLE_INT_AUTH': '', 'AUTH_METHOD': 'ncsa', 'ORANGE_CIDR': '29', 'LOG_FIREWALL': 'off', 'AUTH_IPCACHE_TTL': '0', 'GREEN_BROADCAST': 'X.X.X.X', 'BLUE_NETADDRESS': 'X.X.X.X', 'MAX_SIZE': '100', 'ORANGE_IPS': 'X.X.X.X/29', 'RADIUS_IDENTIFIER': '', 'LOGGING': 'off', 'FORWARD_IPADDRESS': 'off', 'AUTH_CHILDREN': '20', 'DANSGUARDIAN_ENABLED': 'off', 'RADIUS_USER_ACL': 'positive', 'NTLM_USER_ACL': 'positive', 'ORANGE_DEV': 'br1', 'GREEN_ADDRESS': 'X.X.X.X', 'AUTH_CACHE_TTL': '60', 'GREEN_NETMASK': '255.255.255.224', 'NTLM_DOMAIN': '', 'UPSTREAM_PASSWORD': '', 'CACHE_SIZE': '256', 'AUTH_ALLOW_USERS': '', 'VISIBLE_HOSTNAME': '', 'NAME': '', 'BLUE_CIDR': '28', 'PROXY_ENABLED': 'on', 'MIN_SIZE': '0', 'AUTH_REALM': 'Proxy Server', 'RADIUS_ENABLE_ACL': 'off', 'NAUGHTYNESSLIMIT': '100', 'RADIUS_PORT': '1645', 'FILTER_GROUPS': 1, 'LOGUSERAGENT': '', 'GREEN_IPS': 'X.X.X.X/27', 'PHRASELIST': 'conspiracy;drugadvocacy;googlesearches;gore;idtheft;illegaldrugs;intolerance;malware;nudism;peer2peer;;pornography;proxies;secretsocieties;violence;warezhacking;', 'LDAP_GROUP_OBJECT_CLASS': 'group', 'NOCACHE': '', 'MAIN_SMARTHOST': 'smtp.isp.net', 'LDAP_PERSON_OBJECT_CLASS': 'person', 'BDC_ADDRESS': '', 'NCSA_MIN_PASS_LEN': '6', 'MEM_POLICY': '', 'GREEN_DEV': 'br0', 'BLUE_BROADCAST': 'X.X.X.X', 'ORANGE_BROADCAST': 'X.X.X.X', 'DANSGUARDIAN_PROXYPORT': 9998, 'CACHE_MEM': '64', 'PORTS': '80 # http,21 # ftp,70 # gopher,210 # wais,1025-65535,280 # http-mgmt,488 # gss-http,591 # filemaker,777 # multiling http,800 # Squid (for icons)', 'ORANGE_NETADDRESS': 'X.X.X.X', 'PROXY_PORT': '8088', 'LDAP_BASEDN': '', 'LDAP_BINDDN_USER': '', 'LANGUAGE': 'en', 'ADMIN_MAIL_ADDRESS': 'email@isp.net', 'PORT': '', 'LOGQUERY': 'off', 'KEYMAP': '/usr/share/kbd/keymaps/i386/qwerty/us.map.gz', 'OFFLINE_MODE': 'off', 'GREEN_ENABLED': 'transparent', 'BLUE_IPS': 'X.X.X.X/28', 'MAX_OUTGOING_SIZE': '0', 'ENABLE_DANSGUARDIAN': '', 'GREEN_NETADDRESS': 'X.X.X.X', 'PDC_ADDRESS': '', 'LDAP_PORT': '389', 'SSLPORTS': "'443 # https,563 # snews,3001 # ntop,465 # smtps'", 'DANSGUARDIAN_LOGGING': 'off', 'BLACKLIST': 'aggressive;porn;proxy;violence;warez;', 'RADIUS_SECRET': '', 'RADIUS_SERVER': '', 'WEIGHTEDPHRASEMODE': '2', 'PICS_ENABLE': 'on', 'MAIN_ADMINMAIL': 'email@isp.net', 'LDAP_TYPE': 'ADS', 'BLUE_ADDRESS': 'X.X.X.X', 'CACHE_POLICY': '', 'BLUE_DEV': 'br2', 'AUTH_DENY_USERS': '', 'ERR_LANGUAGE': 'en', 'AUTH_MAX_USERIP': '0', 'BYPASS_DESTINATION': '', 'ORANGE_NETMASK': '255.255.255.248', 'BLUE_NETMASK': '255.255.255.240', 'LDAP_BINDDN_PASS': '', 'IPGROUPS': [('127.0.0.1', 'filter1')], 'UPSTREAM_SERVER': '', 'NTLM_PDC': '', 'LIB_EXEC_DIR': '/usr/lib/squid', 'BYPASS_SOURCE': '00:24:be:96:f6:24,00:e0:91:9f:19:d7,00:1c:c3:be:23:24,00:1f:32:60:47:80', 'MAX_INCOMING_SIZE': '0'}
2010-09-04 21:25:45,994 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:45,994 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:46,010 - restartdansguardian.py[23894] - INFO - Writing dansguardian configuration...
2010-09-04 21:25:46,012 - restartdansguardian.py[23894] - DEBUG - ['/var/efw/dansguardian']
2010-09-04 21:25:46,013 - restartdansguardian.py[23894] - DEBUG - process config profile 1; path: /var/efw/dansguardian
2010-09-04 21:25:46,016 - restartdansguardian.py[23894] - DEBUG - /var/efw/dansguardian/settings: {'BANNEDREGEXPURLLIST': 'aggressive;porn;proxy;violence;warez;', 'HAVP': 'on', 'NAME': 'Default Profile (content1)', 'PHRASELIST': 'conspiracy;drugadvocacy;googlesearches;gore;idtheft;illegaldrugs;intolerance;malware;nudism;peer2peer;;pornography;proxies;secretsocieties;violence;warezhacking;', 'ENABLE_DANSGUARDIAN': '', 'BLACKLIST': 'aggressive;porn;proxy;violence;warez;', 'BANNEDSITELIST': 'aggressive;porn;proxy;violence;warez;', 'BANNEDURLLIST': 'aggressive;porn;proxy;violence;warez;', 'NAUGHTYNESSLIMIT': '100', 'BANNEDPHRASELIST': 'conspiracy;drugadvocacy;googlesearches;gore;idtheft;illegaldrugs;intolerance;malware;nudism;peer2peer;;pornography;proxies;secretsocieties;violence;warezhacking;', 'PICS_ENABLE': 'on', 'PORT': '', 'WEIGHTEDPHRASELIST': 'conspiracy;drugadvocacy;googlesearches;gore;idtheft;illegaldrugs;intolerance;malware;nudism;peer2peer;;pornography;proxies;secretsocieties;violence;warezhacking;'}
2010-09-04 21:25:46,017 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/contentregexplist
2010-09-04 21:25:46,018 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/logurllist
2010-09-04 21:25:46,019 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/urlregexplist
2010-09-04 21:25:46,020 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedsitelist
2010-09-04 21:25:46,022 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/aggressive/domains>
2010-09-04 21:25:46,023 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/porn/domains>
2010-09-04 21:25:46,024 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/proxy/domains>
2010-09-04 21:25:46,025 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/violence/domains>
2010-09-04 21:25:46,026 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/warez/domains>
2010-09-04 21:25:46,027 - restartdansguardian.py[23894] - DEBUG - .Include</var/efw/dansguardian/bannedsitelist>
2010-09-04 21:25:46,028 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionurllist
2010-09-04 21:25:46,029 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionfileurllist
2010-09-04 21:25:46,030 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedurllist
2010-09-04 21:25:46,031 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/aggressive/urls>
2010-09-04 21:25:46,033 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/porn/urls>
2010-09-04 21:25:46,034 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/proxy/urls>
2010-09-04 21:25:46,035 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/violence/urls>
2010-09-04 21:25:46,036 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/warez/urls>
2010-09-04 21:25:46,037 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedextensionlist
2010-09-04 21:25:46,038 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionextensionlist
2010-09-04 21:25:46,039 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionmimetypelist
2010-09-04 21:25:46,040 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/anonregexplist
2010-09-04 21:25:46,041 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/headerregexplist
2010-09-04 21:25:46,042 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedregexpurllist
2010-09-04 21:25:46,044 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/porn/expressions>
2010-09-04 21:25:46,045 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/blacklists/violence/expressions>
2010-09-04 21:25:46,046 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/logsitelist
2010-09-04 21:25:46,047 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/greyurllist
2010-09-04 21:25:46,048 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedregexpheaderlist
2010-09-04 21:25:46,049 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionregexpurllist
2010-09-04 21:25:46,050 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionsitelist
2010-09-04 21:25:46,051 - restartdansguardian.py[23894] - DEBUG - .Include</var/efw/dansguardian/exceptionsitelist>
2010-09-04 21:25:46,052 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/greyregexpurllist
2010-09-04 21:25:46,054 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/logregexpurllist
2010-09-04 21:25:46,054 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/greysitelist
2010-09-04 21:25:46,056 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedmimetypelist
2010-09-04 21:25:46,057 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedphraselist
2010-09-04 21:25:46,058 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/googlesearches/banned>
2010-09-04 21:25:46,059 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/illegaldrugs/banned>
2010-09-04 21:25:46,061 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/intolerance/banned_portuguese>
2010-09-04 21:25:46,062 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/banned>
2010-09-04 21:25:46,063 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/banned_portuguese>
2010-09-04 21:25:46,064 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionfilesitelist
2010-09-04 21:25:46,065 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/weightedphraselist
2010-09-04 21:25:46,067 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/conspiracy/weighted>
2010-09-04 21:25:46,068 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/drugadvocacy/weighted>
2010-09-04 21:25:46,069 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/gore/weighted_portuguese>
2010-09-04 21:25:46,070 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/gore/weighted>
2010-09-04 21:25:46,071 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/idtheft/weighted>
2010-09-04 21:25:46,072 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/illegaldrugs/weighted>
2010-09-04 21:25:46,073 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/illegaldrugs/weighted_portuguese>
2010-09-04 21:25:46,074 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/intolerance/weighted>
2010-09-04 21:25:46,075 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/intolerance/weighted_portuguese>
2010-09-04 21:25:46,076 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/malware/weighted>
2010-09-04 21:25:46,077 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/nudism/weighted>
2010-09-04 21:25:46,078 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/peer2peer/weighted>
2010-09-04 21:25:46,079 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists//weighted_portuguese>
2010-09-04 21:25:46,080 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists//weighted>
2010-09-04 21:25:46,081 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted>
2010-09-04 21:25:46,082 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_chinese>
2010-09-04 21:25:46,083 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_danish>
2010-09-04 21:25:46,084 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_dutch>
2010-09-04 21:25:46,085 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_french>
2010-09-04 21:25:46,086 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_german>
2010-09-04 21:25:46,087 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_italian>
2010-09-04 21:25:46,087 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_japanese>
2010-09-04 21:25:46,089 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_malay>
2010-09-04 21:25:46,089 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_norwegian>
2010-09-04 21:25:46,090 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_portuguese>
2010-09-04 21:25:46,091 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_russian>
2010-09-04 21:25:46,092 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/pornography/weighted_spanish>
2010-09-04 21:25:46,093 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/proxies/weighted>
2010-09-04 21:25:46,094 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/secretsocieties/weighted>
2010-09-04 21:25:46,095 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/violence/weighted_portuguese>
2010-09-04 21:25:46,096 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/violence/weighted>
2010-09-04 21:25:46,097 - restartdansguardian.py[23894] - DEBUG - .Include</etc/dansguardian/phraselists/warezhacking/weighted>
2010-09-04 21:25:46,098 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionphraselist
2010-09-04 21:25:46,099 - restartdansguardian.py[23894] - DEBUG - no language choosen
2010-09-04 21:25:46,100 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:46,155 - restartdansguardian.py[23894] - DEBUG - Wrote /etc/dansguardian/dansguardianf1.conf
2010-09-04 21:25:46,156 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en
2010-09-04 21:25:46,189 - restartdansguardian.py[23894] - DEBUG - Wrote /etc/dansguardian/profiles/1/picsfile
2010-09-04 21:25:46,189 - restartdansguardian.py[23894] - INFO - Stopping dansguardian...
2010-09-04 21:25:46,220 - restartdansguardian.py[23894] - DEBUG - dans should not get enabled
2010-09-04 21:25:46,221 - restartdansguardian.py[23894] - DEBUG - dg should not start

Can anyone help me figure this out?
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #4 on: Monday 06 September 2010, 03:53:17 am »

That's the normal output when you don't have content filtering in use. Sure, you have configured it, but you don't have any rule that actually uses it.
Go to Proxy->HTTP->Access Policy and modify your rule to use Content Filtering. If it says "filter for virus", the content filter isn't enable.
Change the rule, enable content filtering, save and Apply changes, then the filtering will start working.

Output without rules using Content filter:
Quote
........
........
2010-09-05 19:50:24,841 - restartdansguardian.py[7703] - DEBUG - dans should not get enabled
2010-09-05 19:50:24,841 - restartdansguardian.py[7703] - INFO - Stopping dansguardian...
2010-09-05 19:50:24,865 - restartdansguardian.py[7703] - DEBUG - dans should not get enabled
2010-09-05 19:50:24,866 - restartdansguardian.py[7703] - DEBUG - dg should not start

Output WITH rules using Content filter:
Quote
........
........
2010-09-05 12:46:54,637 - restartdansguardian.py[30973] - DEBUG - dans should get enabled
2010-09-05 12:46:54,676 - restartdansguardian.py[30973] - DEBUG - proxy is running
2010-09-05 12:46:54,676 - restartdansguardian.py[30973] - DEBUG - dans should get enabled
2010-09-05 12:46:54,691 - restartdansguardian.py[30973] - DEBUG - proxy is running
Parent DansGuardian pid:9019
2010-09-05 12:46:54,823 - restartdansguardian.py[30973] - INFO - Reloading dansguardian...
Reloading dansguardian daemon configuration:               [  OK  ]
Logged
kpswalin
Jr. Member
*
Offline Offline

Posts: 5


« Reply #5 on: Thursday 09 September 2010, 12:02:48 pm »

Great reply mrkroket, thank you very much. This solved my problem.

Is it better in fact to add a new policy and set the "filter for using 'content 1'" policy, or to change the "filter for virus" policy. I am assuming that by adding a new policy, they would then both be in affect? Also do I "Allow" or "Deny" based on the policy? I will keep playing with it, and may very well answer some of my own questions, but figured I might ask for clarification.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #6 on: Friday 10 September 2010, 01:42:36 am »

HTTP Proxy rules are fired one by one, in consecutive order.
If some traffic complies a rule, no more rules are fired. Is either blocked, or accepted, according to that rule.

So no, adding another rule won't give you the same results.
If rule 1 is the standard one with "filter for virus", that rule will catch up all the HTTP traffic, and the second one never will be used.
Then you'll blame that Endian content filter doesn't work, when in fact is a rule config problem.

The idea about rules is give you a lot of flexibility about creating different profiles to different user groups, each one with different internet privileges.
-GroupA uses content filter 1 (GroupA can be defined by IP, MAC, Authentication....)
-GroupB uses content filter 2
-GroupC uses content filter 3 and so on

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

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