Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ Banning system :: Archived


Banning system :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Mon Mar 07, 2005 11:58 pm
Post subject: Banning system

This is just an idea that i was thinking of and figured what the hell see if something exists out there. I just migrated from a PHPNuke site to Dragonfly and i use to use Sentinel. Now i could ban users etc but its pretty limited in practical function. They can change their email address, their user name, and alot never stick with the same IPs either. Now to use the site they have to use cookies. So i got to thinking. Is there a way that instead of banning an ip etc, one could simply tag a user and when that happens a cookie is loaded into their cache. With every load of the site it checks for a specific cookie. And disallows based on it. Now ive never heard of such a thing and most people would never think of clearing their cookies to be allowed access. So what do you think? It could have the same checks as before. Ips, usernames, etc. If they manage to clear the cookie then once they come back to the site they get retagged.

I think it sounds like a wonderful idea myself and i dont have to block huge groups of ips to be effective either. I know nothing is sure proof to stopping a persistent user but i think this would be most effective.

Rob Wink


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Thu Mar 10, 2005 7:12 pm
Post subject: Re: Banning system

Nobody interested in such an idea?


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
tank
Gold Supporter
Gold Supporter

Offline Offline
Joined: Apr 20, 2004
Posts: 824
Location: Houston, Texas USA
PostPosted: Fri Mar 11, 2005 1:40 am
Post subject: Re: Banning system

look at the Sticky in this forum titled "Can i use Sentinell, Fortress, Protector, Admin Secure ?" Wink

_________________
Search is your friend

tank's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora Core 1, Apache 1.3.33, Mysql 4.1.14, PHP 5.0.5 w/ APC cache, Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Fri Mar 11, 2005 7:46 pm
Post subject: Re: Banning system

Actually i read that already. But i proposed an alternating to banning IPs and such and without a risk to security would probably be the most effective.

The banned logs in and immediately recieves a cookie disallowing access. If they re-register using a different name you simply add the name to the list. Because cookies track most people for all their regular sites this would be a huge annoyance to anyone having to clear them all the time. IF they indeed figured it out. I've never heard of this method of banning, and most people think their IP is the only think stopping them from getting to a site.

Anyone up for some quick coding?

Rob


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Wed Mar 16, 2005 12:45 am
Post subject: Re: Banning system

1. What if there is no cookie?
2. What prevents the user from deleting the cookie and connecting?

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Wed Mar 16, 2005 1:05 am
Post subject: Re: Banning system

Jeruvy wrote:
1. What if there is no cookie?
2. What prevents the user from deleting the cookie and connecting?

Nothin prevents that. However once the user rejoins they will be issued the cookie once again. Since the site cannot be used without cookies then they are trapped. Its far more effective than IP banning as most think its their IP that is banned in the first place and either proxy or change it. Its more of a way to annoy a user since they think they are back in and wham they are 'cookied' again. Instead of banning IPs which can change endlessly and also risk banning legit users in the same IP block. You can simply add a new user name to the list. Even if they re-register you can add a name to the list. Its more frustrating to them and requires alot more time to re-register each time. They would give up. As well you could also make it so that the user simply sees themselves as logged out...when in fact they are banned.

A user in this scenario sees a problem with their browser before they would see a problem with the site. Allow them to log in...sorta...then kick them to the login page again.

Its a frustrating loop. I love it.

Rob


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Fri Mar 18, 2005 8:20 pm
Post subject: Re: Banning system

hmm sounds good to me. to get around that i would clear my cookies and use a proxy. since with 8.x people can get around things with proxies. you'd have to build in a proxy stopper of some type. then it might work.

stopping lamers is a huge issue for me and with the system in 8.x it's hopeless. we need a protector, sentinel, type thing built in that will stop proxies if you want, see through proxies like protector did, and has an effective banning system.

i agree with you 100% that something needs to be done. i'm not running dragonfly yet so i dont even know if any of that has been impliemented. it would nice to see the all of the above happen if it hasn't been done yet.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
j-kite
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 10, 2005
Posts: 240
Location: Ontario
PostPosted: Fri Mar 18, 2005 9:00 pm
Post subject: Re: Banning system

This does sound like a great idea. I was wondering though.

Say you want 'User1' banned for flaming or something.

So you add the name to the list and he can't login. He finds out that he needs to clear his cookies, either from reading a post about the topic such as this one or he just knows to do that.

So he signs up as 'User2'

How do you know that that is the guy who was banned before?

He could re-register and stop flaming and then he'd have full access again, correct?

I guess if that's the case then it is a good way to prevent people from doing that becasue then they do get a second, third chances. They just can't stick with the same user name.

Does that make sense? lol

_________________
be glad of life because it gives you the chance to love and to work and to play and to look up at the stars

j-kite's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.33 (Unix) / 4.1.13-standard / 4.3.10/ 9.0.5.0
Back to top
View user's profile Visit poster's website MSN Messenger
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Fri Mar 18, 2005 10:09 pm
Post subject: Re: Banning system

Ya that makes sense. Thing is they would need a new user name, email addy etc. Now i know email addresses are easy to come buy but people do get sick of re-registering for the site, email etc. Its a bloody process hehe. I have this one guy on the site. I blocked most of the country Korea to keep him off. Which is fine because im in Canada and most of my reader base is this side of the planet.

But i migrated to Dragonfly and i let the blocks drop. He has now re-registered. He has a new name and is basically well behaved. I know its him because i can check his Ip and its still from Korea. Hes learned his lesson.

The cookie idea is great because its a nuisance right back at them. Unaffected by proxies etc. You might have to cookie them a couple times then they'll most likely take a hike.

rob


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Fri Mar 18, 2005 10:37 pm
Post subject: Re: Banning system

djdevon3 wrote:
hmm sounds good to me. to get around that i would clear my cookies and use a proxy. since with 8.x people can get around things with proxies. you'd have to build in a proxy stopper of some type. then it might work.

How does a proxy prevent it from working? Cookie must reach your browser or you cant use the site. Unless some a service manages your cookies instead of your browser? Makes no sense.

Rob


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
Nuance
Gold Supporter
Gold Supporter

Offline Offline
Joined: Dec 30, 2004
Posts: 223

PostPosted: Fri Mar 18, 2005 11:56 pm
Post subject: Re: Banning system

A dual-mode ban system would possibly be handy; the present method with additional option to ban the IP address.


Nuance's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache 1.3.31 / MySQL 4.0.20-log / PHP 4.3.10 / Dragonfly 9.0.1 Final
Back to top
View user's profile Visit poster's website
raversnet
Newbie
Newbie

Offline Offline
Joined: Mar 07, 2005
Posts: 29
Location: canada
PostPosted: Sat Mar 19, 2005 12:16 am
Post subject: Re: Banning system

Agreed. The two systems working together is a must.

Rob


raversnet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux/apache
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Fri Mar 25, 2005 3:54 pm
Post subject: Re: Banning system

Well as a webmaster I'm not interested in banning people, even troublemakers from my site. I don't have enough time in the day to worry about these kinds of people. Nor do I care that they have no life Smile

Simple administration works well and is more effective than a cookie blocker in my mind.

I will never be a advocate of a ban system, sorry. The easiest way is to implement authentication or SSL to your web site to ensure 'who' your visitors are.

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Sat Mar 26, 2005 2:34 am
Post subject: Re: Banning system

You obviously don't have the problems with immature users like we do Jeruvy. If you have a gaming site or any site that might interest kids then it becomes inevitable. They will try anything to make your life miserable.

It's a huge necessity to prevent proxy lamers from getting around bans. SOMEONE PLEASE MAKE A PATCH FOR THIS.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Mar 26, 2005 2:40 am
Post subject: Re: Banning system

Devon i'm still working on it Wink


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Διαβάστε περισσότερα ...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy