restartdansguardian.py -d
root@efw:~ # restartdansguardian.py -d2010-09-04 21:25:45,920 - restartdansguardian.py[23894] - DEBUG - ['/var/efw/dansguardian']2010-09-04 21:25:45,921 - restartdansguardian.py[23894] - DEBUG - 12010-09-04 21:25:45,922 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en2010-09-04 21:25:45,923 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en2010-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 -> en2010-09-04 21:25:45,994 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en2010-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/dansguardian2010-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/contentregexplist2010-09-04 21:25:46,018 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/logurllist2010-09-04 21:25:46,019 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/urlregexplist2010-09-04 21:25:46,020 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedsitelist2010-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/exceptionurllist2010-09-04 21:25:46,029 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionfileurllist2010-09-04 21:25:46,030 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedurllist2010-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/bannedextensionlist2010-09-04 21:25:46,038 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionextensionlist2010-09-04 21:25:46,039 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionmimetypelist2010-09-04 21:25:46,040 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/anonregexplist2010-09-04 21:25:46,041 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/headerregexplist2010-09-04 21:25:46,042 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedregexpurllist2010-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/logsitelist2010-09-04 21:25:46,047 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/greyurllist2010-09-04 21:25:46,048 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedregexpheaderlist2010-09-04 21:25:46,049 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionregexpurllist2010-09-04 21:25:46,050 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/exceptionsitelist2010-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/greyregexpurllist2010-09-04 21:25:46,054 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/logregexpurllist2010-09-04 21:25:46,054 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/greysitelist2010-09-04 21:25:46,056 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedmimetypelist2010-09-04 21:25:46,057 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/bannedphraselist2010-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/exceptionfilesitelist2010-09-04 21:25:46,065 - restartdansguardian.py[23894] - DEBUG - -> /etc/dansguardian/profiles/1/weightedphraselist2010-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/exceptionphraselist2010-09-04 21:25:46,099 - restartdansguardian.py[23894] - DEBUG - no language choosen2010-09-04 21:25:46,100 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en2010-09-04 21:25:46,155 - restartdansguardian.py[23894] - DEBUG - Wrote /etc/dansguardian/dansguardianf1.conf2010-09-04 21:25:46,156 - restartdansguardian.py[23894] - DEBUG - LANGUAGE -> en2010-09-04 21:25:46,189 - restartdansguardian.py[23894] - DEBUG - Wrote /etc/dansguardian/profiles/1/picsfile2010-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 enabled2010-09-04 21:25:46,221 - restartdansguardian.py[23894] - DEBUG - dg should not start