Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2006
Posts: 1,235
veteran
veteran
Joined: Dec 2006
Posts: 1,235
My site has always been plagued with spam from China, India, Beijing, etc. I don't have a registration queue as I don't have time to go through and verify new registrations so when spam appears I tend to ban the user and then add their IP address to the ban list. I think that it would be useful to have an option that would automatically add a banned members IP address to the ban list.

Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
What would be really slick is when you add a banned ip. It will ban the ip from the whole site not just ubb.
One stop shopping is for me.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Do you really want to do that when there are roving IP addresses out there? For example, if you ban an AOL member, and block "his" IP, you will also be blocking the next AOL guy who ends up with that IP address.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
You know, it wouldn't be too hard to do that ruben.. I'm too out of it to figure it all out right now, but i'm pretty sure you could write a small script and just use a php include on your site to check if the ip is in the "banned" database... I use a flat file on my site to check for banned users


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Originally Posted by SteveS
Do you really want to do that when there are roving IP addresses out there? For example, if you ban an AOL member, and block "his" IP, you will also be blocking the next AOL guy who ends up with that IP address.
Currently I use htaccess to ban IP numbers. I don't use the control panel.
But I do on occasion prune out old entries just for that reason.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
I use the cp and keep record of why I banned the ip for such reasons of aol and when someone releases the ip. If someone really needs to be blocked I set that in the ip tables on the server.

Joined: Dec 2006
Posts: 1,235
veteran
veteran
Joined: Dec 2006
Posts: 1,235
I'm only banning people from posting on the forums, I don't want to stop people from viewing the site or forums. I also manually check IPs before blocking them.

Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
A long time ago a company came to me that was having problems with their UBB.Classic and had asked me to build a very advanced banning system and tie it into the UBB product.

I was able to ban on AOL and other systems by identification of the user and his or her computer in those net blocks and domains without banning everyone in those net blocks and domains out right.

This could ban and track access of a single user as well as look for that user coming back in through proxies too. Now this was a hard subject between Charles formerly from Infopop and broke up that friendship. Anyhow it was made possible and worked. It has its own control panel and tied into the message board by way of a separate engine. I have never re-written the engine into PHP.

This could ban by domain name, net block, total proxy ban excluding black holes such as AOL by identifying if that person perhaps was on such a system compatible or equal to AOL, individual user in a net block, and more.

This thing would tell you how many times that user tried to access the message board and log each and every attempt. Would allow you to get their reverse DNS information and resolve their ISP domain information by the click of a button or two as well as give you so much more information. It would also look for banned users and tell you it thinks that a banned user is trying to access the message board from a totally different net block. Also in some cases such as a large corporation office user tell you their back end IP address as well.

This was all in Perl. Now many of you keep telling me in here PHP is so much better with the abilities to use a MySQL Database and much more efficient. Some day I will actually write this into PHP and run it with a MySQL Database, unless Groupee wants to give me a boat load of money to buy the rights to incorporate it into their UBB.Threads.

I had developed this to be able to run as a firewall in any Perl program or application on a web server with the abilities to do more then a standard user would ever be able to do without setting off alarms to the server administrator or being taken as a threat to the system or server.

All message boards including UBB are very lacking in the banning department and that is just a side product not a necessity as it is not what lots of people see when they are surfing the board.

Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Originally Posted by ScriptKeeper
I'm only banning people from posting on the forums, I don't want to stop people from viewing the site or forums. I also manually check IPs before blocking them.
Okay that is your opinion. Mine is, if they abuse the forum then I don't want them at all.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Originally Posted by Ruben
Originally Posted by ScriptKeeper
I'm only banning people from posting on the forums, I don't want to stop people from viewing the site or forums. I also manually check IPs before blocking them.
Okay that is your opinion. Mine is, if they abuse the forum then I don't want them at all.

I agree, Ruben.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 297 guests, and 145 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)