Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban IP's In vBulletin Options Easily Details »
Ban IP's In vBulletin Options Easily
Mod Version: 1.0.2, by Simon Lloyd (Coder) Simon Lloyd is offline
Developer Last Online: Mar 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (4 votes - 4.00 average) Installs: 23
Released: 08 Aug 2011 Last Update: 09 Aug 2011 Downloads: 138
Supported Uses Plugins  

What this mod does
With this simple mod you can enter a list of IP's that you want to ban (redirect) one per line, when trying to access your site the user of the IP will be redirected to an obscure google page with a 301 permanent redirect.

What this mod won't do
With this mod you cannot ban partial ranged IP's laid out like this 2.23.123 - 2.23.130

How to install
Simply go to Admincp>Manage Products and import product-baniparray.xml

Please mark as installed if you use this!

Version History
v1.0.1
Made it possible to use partial IP addresses
v1.0.2
Added custom redirect message box
Added custom redirect url box
Added IP Range boxes for banning IP's that fall within range
Ranged IP's parsed during checks
vbeta added for test purposes 9/08/2011
Beta has email notification ability, this beta is for those of you that wish to test it and feed back!


Checked range block working only against my IP range, please report any bugs!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Restrict Admin CP vB Options to only allow other Admins to ban email or IP addresses Erwin vBulletin 2.x Full Releases 23 05 Sep 2007 16:46

Comments
  #2  
Old 08 Aug 2011, 01:34
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
**Reserved**
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #3  
Old 08 Aug 2011, 01:54
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Looks good but not quite what I am looking for. I need to be able to ban IP ranges (as in the other thread), not just complete IPs.
Reply With Quote
  #4  
Old 08 Aug 2011, 02:00
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Originally Posted by Boofo View Post
Looks good but not quite what I am looking for. I need to be able to ban IP ranges (as in the other thread), not just complete IPs.
Well surely it's best to use vBulletins built in one for that?
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #5  
Old 08 Aug 2011, 02:34
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
True, but you can also block full IPs with that, too. Plus, it kind of defeats the purpose of my question in the other thread.
Reply With Quote
  #6  
Old 08 Aug 2011, 03:06
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Ah!, my fault i didn't read the thread fully, and for your question i just read....array of ip's not realising it was for partial or blocks of ip's.

It's going to take quiet a bit i would imagine but i'll look in to it
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #7  
Old 08 Aug 2011, 03:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You should be able to use his outline.
Reply With Quote
  #8  
Old 08 Aug 2011, 03:56
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
You can now use partial ip's, i'm working on an addition where you can block from xx.xx.xxx.xx - xx.xxx.xx.x.

It's 5am here so i guess i'll finish it later today
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #9  
Old 08 Aug 2011, 04:05
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Another option would be to have a setting for the redirect page so it is configurable. As well as a notification of some sort.
Reply With Quote
  #10  
Old 08 Aug 2011, 04:08
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Don't want much do you? i'll look in to that too, i'm off home to bed in a couple of hours, so i won't start work on it again until around 7:30pm GMT
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #11  
Old 08 Aug 2011, 04:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
well, you might as well add something to this that would make it a better option to use than the one in vb.
Reply With Quote
  #12  
Old 08 Aug 2011, 12:52
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Would this work with IPv6 addresses?
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #13  
Old 08 Aug 2011, 13:02
nhawk nhawk is offline
 
Join Date: Jan 2011
Here's a little snippet of code for IPv4 addresses that I use in several private mods.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You should be able to figure out how to compare a range of numbers with that.

IPv6 is very similar.
Reply With Quote
  #14  
Old 08 Aug 2011, 17:51
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Originally Posted by BirdOPrey5 View Post
Would this work with IPv6 addresses?
To answer this simply, if you entered x12.35p.6-51?54e in the list then anything matching that will be redirected, if you enter x12 then anything that contains x12 will be redirected.

Originally Posted by nhawk View Post
Here's a little snippet of code for IPv4 addresses that I use in several private mods.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You should be able to figure out how to compare a range of numbers with that.

IPv6 is very similar.
I really have no idea what an IPv4 or 6 is, the mod, as it stands does not use regular expressions to check the entire octet hut instead goes for a simple match, there are enhancements coming soon with this mod but (until i understand it myself) for now it will remain simply as a match.
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #15  
Old 08 Aug 2011, 23:46
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Product update - new enhancements
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:06.

Layout Options | Width: Wide Color: