Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Block Multiple sites at the same time

Jun 13 09 12:33 am

Does anyone else know how i can go about adding multiple sites to a block list at the same time.

I have been given quite a lengthy list of sites that different departments want blocking and I do not really want to add each one manually.

can anyone help??

Re: Block Multiple sites at the same time

Jun 13 09 10:14 pm

Hi,

Yes it is time the guys at Qbik created a blacklist importation system, [;) if it already exists and I haven't found it].

This is a snippet of a policy import I have used, all warnings apply about using registry importation, however it has worked for me to create this as a script to have it handy as a method of lockdown or blacklist where required.

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\DefaultRights\Access\Recipient0\BanFilter\Criterion9]
"Name"=""
"Description"="Server name contains \"about.com\""
"Type"="CRequestCriterion"
"Comparison"=dword:00000003
"DataIndex"=dword:00000002
"VariableName"="contains"
"Not"=dword:00000000
"DataType"=dword:00000002
"dwData"=dword:00000000
"nData"=dword:00000000
"dData"=hex:00,00,00,00,00,00,00,00
"strData"="about.com"
[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\DefaultRights\Access\Recipient0\BanFilter\Criterion10]
"Name"=""
"Description"="Server name contains \"adjuggler\""
"Type"="CRequestCriterion"
"Comparison"=dword:00000003
"DataIndex"=dword:00000002
"VariableName"="contains"
"Not"=dword:00000000
"DataType"=dword:00000002
"dwData"=dword:00000000
"nData"=dword:00000000
"dData"=hex:00,00,00,00,00,00,00,00
"strData"="adjuggler"
[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\DefaultRights\Access\Recipient0\BanFilter\Criterion11]
"Name"=""
"Description"="Server name contains \"advertising\""
"Type"="CRequestCriterion"
"Comparison"=dword:00000003
"DataIndex"=dword:00000002
"VariableName"="contains"
"Not"=dword:00000000
"DataType"=dword:00000002
"dwData"=dword:00000000
"nData"=dword:00000000
"dData"=hex:00,00,00,00,00,00,00,00
"strData"="advertising"

Re: Block Multiple sites at the same time

Jun 16 09 12:21 am

thanks, it seams to me a bit of a design floor to store this sort of stuff in the registry like this! surely the more detail added to block lists is going to slow the PC down more and more as you add detail!

Re: Block Multiple sites at the same time

Jun 16 09 4:31 am

In addition i have a list is 15000 sites thati would need to block, is this recomended is i script a reg script to import them all??

Re: Block Multiple sites at the same time

Jun 16 09 9:45 am

I recommend you use OpenDNS to manage your access. This is a free and configurable service that allows you to block by category and has lots of flexibility.

www.opendns.com

Re: Block Multiple sites at the same time

Jun 20 09 6:09 am

I'm using a combination of OpenDNS for the heavy lifting and Wingate's WWW user policy ban list for fine tuning. I've set up over 500 entries in the ban list plus I have a separate white list. This number of entries in the registry does not slow down the server performance noticeably.

A word of advice since setting up 500 entries (or however many entries you have) manually does take some time, be sure to export the registry elements containing the ban list just in case your installation gets corrupted. Also, with registry prune and graft software, you can easily configure the list for a new user or repair if your configuration changes unexpectedly. This latter suggestion came in very handy when I upgraded from Wingate 2 to Wingate 6 and found that my user database was not carried forward.

Cheers,

James
Post a reply