Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Nokia390 on June 14, 2010, 01:21:06 PM
-
Hi.
How i block bwin (game) site in dansguardian?
i put bwin.com in ban list of dansguardian, but still have access, my be it´s a "https" site?
how i do it?
Thanks
Nokia
-
Nokia390
i put bwin.com in ban list of dansguardian, but still have access, my be it´s a "https" site?
Which ban list ?
Did you restart Dansguardian after making the change ?
I just added bwin.com to the bannedsitelist config file
and restarted DG and the site is blocked.
Do you have Dansguardian configured correctly as per this wiki article
http://wiki.contribs.org/Dansguardian
ie
config setprop squid TransparentPort 8080
config setprop squid Transparent yes
config setprop dansguardian portblocking yes
signal-event post-upgrade; signal-event reboot
-
Nokia390
Which ban list ?
bannedsiteliste
Did you restart Dansguardian after making the change ?
yes /etc/init.d/dansguardian restart
I just added bwin.com to the bannedsitelist config file
and restarted DG and the site is blocked.
Do you have Dansguardian configured correctly as per this wiki article
http://wiki.contribs.org/Dansguardian
yes it´s work fine, block other sites
ie
config setprop squid TransparentPort 8080
config setprop squid Transparent yes
config setprop dansguardian portblocking yes
signal-event post-upgrade; signal-event reboot
it´s well configured but still don´t block bwin.com
thanks for answer
(sorry my english)
-
Nokia390
Please show output of
config show squid
and
config show dansguardian
Also cd to the folder that contains bannedsitelist and show output of
cat bannedsitelist
-
squid
EnforceSafePorts=no
SafePorts=21,70,80,81,119,210,443,563,980,1024-65535
TCPPort=3128
TCPProxyPort=80:3128
Transparent=yes
TransparentPort=8080
access=private
status=enabled
dansguardian
dansguardian=service
portblocking=yes
status=enabled
Thanks
-
Nokia390
Both those outputs look correct.
Please show the contents of bannedsitelist
Also you could check your DG log files (& maybe squid) to see why that site is being allowed.
Also check other DG config files to make sure the site is not being "allowed".
-
#domains in banned list
#Don't bother with the www. or the http://
#The bannedurllist is for blocking PART of a site
#The bannedsitelist is for blocking ALL of a site
#As of DansGuardian 2.7.3 you can now include
#.tld so for example you can match .gov for example
#The 'grey' lists override the 'banned' lists.
#The 'exception' lists override the 'banned' lists also.
#The difference is that the 'exception' lists completely switch
#off *all* other filtering for the match. 'grey' lists only
#stop the URL filtering and allow the normal filtering to work.
#An example of grey list use is when in Blanket Block (whitelist)
#mode and you want to allow some sites but still filter as normal
#on their content
#Another example of grey list use is when you ban a site but want
#to allow part of it.
#To include additional files in this list use this example:
#.Include</etc/dansguardian/anotherbannedurllist>
#You can have multiple .Includes.
# Time limiting syntax:
# #time: <start hour> <start minute> <end hour> <end minute> <days>
# Example:
##time: 9 0 17 0 01234
# Remove the first # from the line above to enable this list only from
# 9am to 5pm, Monday to Friday.
# List categorisation
#listcategory: "Banned Sites"
#List other sites to block:
casinojusto.com
bwin.com
#Blanket Block. To block all sites except those in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a '**':
#**
#Blanket SSL/CONNECT Block. To block all SSL
#and CONNECT tunnels except to addresses in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a '**s':
#**s
#Blanket IP Block. To block all sites specified only as an IP,
#remove the # from the next line to leave only a '*ip':
#*ip
#Blanket SSL/CONNECT IP Block. To block all SSL and CONNECT
#tunnels to sites specified only as an IP,
#remove the # from the next line to leave only a '*ips':
#*ips
# The squidGuard advert domain/URL lists are now included by default.
# To work with advanced ad blocking & the logadblocks option, advert
# phrase/site/URL lists should have the string "ADs" in their listcategory.
.Include</etc/dansguardian/lists/blacklists/ads/domains>
#Remove the # from the following and edit as needed to use a stock
#squidGuard/urlblacklists collection.
#.Include</etc/dansguardian/lists/blacklists/adult/domains>
.Include</etc/dansguardian/lists/blacklists/aggressive/domains>
#.Include</etc/dansguardian/lists/blacklists/artnudes/domains>
.Include</etc/dansguardian/lists/blacklists/dating/domains>
#.Include</etc/dansguardian/lists/blacklists/beerliquorinfo/domains>
#.Include</etc/dansguardian/lists/blacklists/beerliquorsale/domains>
.Include</etc/dansguardian/lists/blacklists/chat/domains>
#.Include</etc/dansguardian/lists/blacklists/childcare/domains>
#.Include</etc/dansguardian/lists/blacklists/clothing/domains>
#.Include</etc/dansguardian/lists/blacklists/culinary/domains>
#.Include</etc/dansguardian/lists/blacklists/dialers/domains>
#.Include</etc/dansguardian/lists/blacklists/drugs/domains>
#.Include</etc/dansguardian/lists/blacklists/entertainment/domains>
#.Include</etc/dansguardian/lists/blacklists/forums/domains>
#.Include</etc/dansguardian/lists/blacklists/frencheducation/domains>
.Include</etc/dansguardian/lists/blacklists/gambling/domains>
#.Include</etc/dansguardian/lists/blacklists/government/domains>
.Include</etc/dansguardian/lists/blacklists/hacking/domains>
#.Include</etc/dansguardian/lists/blacklists/homerepair/domains>
#.Include</etc/dansguardian/lists/blacklists/hygiene/domains>
#.Include</etc/dansguardian/lists/blacklists/jewelry/domains>
#.Include</etc/dansguardian/lists/blacklists/jobsearch/domains>
#.Include</etc/dansguardian/lists/blacklists/kidstimewasting/domains>
#.Include</etc/dansguardian/lists/blacklists/mail/domains>
#.Include</etc/dansguardian/lists/blacklists/news/domains>
#.Include</etc/dansguardian/lists/blacklists/onlineauctions/domains>
.Include</etc/dansguardian/lists/blacklists/onlinegames/domains>
#.Include</etc/dansguardian/lists/blacklists/onlinepayment/domains>
#.Include</etc/dansguardian/lists/blacklists/personalfinance/domains>
#.Include</etc/dansguardian/lists/blacklists/pets/domains>
.Include</etc/dansguardian/lists/blacklists/porn/domains>
#.Include</etc/dansguardian/lists/blacklists/proxy/domains>
#.Include</etc/dansguardian/lists/blacklists/mixed_adult/domains>
#.Include</etc/dansguardian/lists/blacklists/redirector/domains>
#.Include</etc/dansguardian/lists/blacklists/ringtones/domains>
#.Include</etc/dansguardian/lists/blacklists/webphone/domains>
#.Include</etc/dansguardian/lists/blacklists/webradio/domains>
#.Include</etc/dansguardian/lists/blacklists/webtv/domains>
#.Include</etc/dansguardian/lists/blacklists/violence/domains>
#.Include</etc/dansguardian/lists/blacklists/virusinfected/domains>
#.Include</etc/dansguardian/lists/blacklists/warez/domains>
# You will need to edit to add and remove categories you want
-
Solved:
bwin.com:8080