PDA

View Full Version : Administrative and Maintenance Tools - Cookie Ban


bjhuang
01-15-2009, 10:00 PM
Products: 1
Plugins: 1
Queries: 0

What does it do?

When you banned a user, he can just register a new account and keep posting on your forum.
When you banned an IP, the IP could be dymanic or an proxy IP. You probably banned one or more innocent users.
Why not try to ban someone by a cookie!

Installation

Step 1: import product-cookieban.xml
Step 2: add this into .htaccess


RewriteEngine on
RewriteCond %{HTTP_COOKIE} _xxxx_welcome
RewriteRule .* - [F]


be sure to replace the xxxx with your cookie prefix (check your includes/config.php)

What will happen?

When a banned user try to login your forum, he will be given a cookie of death. and then he will not be able to access your forum within an year.

Advanced

to assign a different banned usergroup, modify this line:

if (is_member_of($vbulletin->userinfo, 8))


to assign a different ban period, modify this number:

60*60*24*30*12




The most famous travel forum in chinese world - www.bbkz.com (http://www.bbkz.com/forum/)

chooky
01-16-2009, 09:24 AM
When a banned user try to login your forum, he will be given a cookie of death. and then he will not be able to access your forum within an year.

when he clean his cache he can registered after 1 minute ! That way isnt really effectiv.

KURTZ
01-16-2009, 09:48 AM
when he clean his cache he can registered after 1 minute ! That way isnt really effectiv.

agreed :)

bjhuang
01-16-2009, 09:48 AM
when he clean his cache he can registered after 1 minute ! That way isnt really effectiv.

this is true. but in my experience, most of the users don't know anything about cookies. this helps to stop some mad posters.

human spammers are provided dymanic IPs from their company, but they don't waste time to clear the cookies either. if they can not access your site for the first load, they will choose to skip. they are just too busy :D

Audax666
01-16-2009, 03:09 PM
Isn't it the same way the Multiple account login detector (https://vborg.vbsupport.ru/showthread.php?t=183268) works?
I just don't know if it works with the actual version 3.8, but it is also cookie based.

Blue91
01-16-2009, 03:19 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=197484" target="_blank">Miserable Users</a> seems to be a better option. This works too though.

bjhuang
01-16-2009, 10:50 PM
Isn't it the same way the Multiple account login detector (https://vborg.vbsupport.ru/showthread.php?t=183268) works?
I just don't know if it works with the actual version 3.8, but it is also cookie based.

"Multiple account login detector" tells you who get multiple account. this mod stops users you banned to access your forum thus they can not register another account of course.

Angel-Wings
01-17-2009, 04:42 PM
They still can register a new account, just need to clean their Cookies. Usually Spam Bots or things you don't need and want are small tools that work with a long proxy list, place their content, clean Cookies & Cache, do the next run.

Just - if someone knows a little bit more about how Login & Sessions work there's no way of banning someone completely without the chance to register again with another account. :(

scan-pa
01-18-2009, 03:49 AM
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.

GrendelKhan{TSU
01-23-2009, 08:50 AM
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.

dats a good idea!

I second that suggestion. I'm down with this if so. :)

Reeve of shinra
02-11-2009, 05:17 AM
This type of mod works great, we used to call it the token of death, not sure if that was a reference to a vb2 mod that was published or not.

baghdad4ever
03-09-2009, 08:02 AM
thanks

Sonic625
03-19-2009, 07:12 PM
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.

This is a good suggestion, I would like to know if this can be done before I look for other options.

GCSkye
03-28-2009, 06:48 AM
For all those that have tried banning members accounts and IPs only to have them resign up or use an ip changer, this is a good 3rd option. People shouldn't really know if they are banned by a cookie, it isn't a default vb banning option. Just ensure nothing gives that away and the mod is great.

Pokerbanter
07-22-2009, 02:56 PM
to fix this mod, have the cookie stored on the persons pc, in a different location then the rest of the cookies. as cookie cleaners only delete the normal cookie file. I know several vB mods and other server programs that place a 2nd. non "normal" detectable cookie in other locations, so they are not deleted when the pc's cookies are deleated or removed.

Did anyone manage to do this?

aqaz
10-26-2009, 06:06 PM
thanks

imedic
10-29-2009, 05:23 PM
Can this be made to use custom ban periods. Like If i have 10 day ban to save the cookie with an 10 days life , if is permanent ban to save ca 1 year expire cookie?
Good idea as is a simple way to block most of the users (not many knows about cookies let alone delete them).

BTW, if you give a 10 day ban (this will move user to ban group for 10 days) this will place a death cookie or not?
Tagged ...

gmerin
11-07-2009, 05:10 PM
I guess most of your users don't use Firefox and cookie manager plugins? My users live by that sort of thing. Even flash supercookies don't deter them.

Leo Brazil
01-06-2010, 10:34 AM
Does someone here check this one on 4.0 ?

viper357
03-17-2014, 01:14 PM
What about users that are temporarily banned for 7 or 14 days etc., will they be affected by this?