Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Advanced Ipban Manager Details »»
Advanced Ipban Manager
Version: 4.0-0.4 rc, by Carnage Carnage is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.0 Rating:
Released: 10-28-2009 Last Update: 01-17-2010 Installs: 170
DB Changes Uses Plugins
Additional Files  
No support by the author.

What does this do?
This is intended as a replacement for the ip bans under vbulletin options. It allows for timed ip bans, cidr ranges and attatching reasons to bans.

It also features registration only ip bans allowing members who may be effected by an ip ban to continue using the forums, but blocking registrations and ip ban exempts so that you can ban a large range of ips and let through a smaller subset of them.

What can I use it for?
This is a much better tool for managing ip bans on your forums. As it has its own permissions, you can grant admins access to it without needing them to have full access to the vbulletin settings. For more details see the features list.

Features
  • A new interface, separate to the options for adding and removing ip bans.
  • Set expiry dates and reasons for ip bans
  • See who set which ip bans
  • Set ip bans by cidr range.
  • Set registration only ip bans (great for stopping spam bots without affecting existing forum users)
  • Set exempt ip bans (ban a large range of ips and only allow select ips through the ban)
  • Define unbannable ips in config.php
  • A range of tools for assisting usage including:
    • Cidr to range calculator (see what range a certain ban will affect)
    • Range to cidr calculator (creates a set of bans to cover any arbitrary range [experimental]
    • Test an ip (enter an ip to see if its banned or not and which if any bans affect it)
    • Whois an ip (get information on who owns (eg which isp) an ip and the cidr range of ips that they own (simplifying blocking users on dynamic ips)) [Dependant on host and server OS]
    • Check if a user is banned (enter a username/userid to see if they are banned or not)

Planned features
  • Ban a user (some sort of integration and automation to ip ban users from their admincp profile)
  • Integration with delete as spam feature to allow automatically ip banning spammers
  • Inport/Export ip bans to share with others and amongst other sites you own
  • Os independent whois and results parsing (eg give novice admins a hand in picking out the important bits)
  • Automatic conversion from old bans into new ones.
  • Phrases for admincp areas (that are currently lacking them)
  • Integrated Admin help

Installation
1. Backup db.
2. Upload files from zip.
3. Import product file.
4. Setup admin permissions for your staff.

Upgrading from 3.6+ version of this mod
1. Backup db
2. Use the uninstall option for the 3.6 version of this product. (this will leave your ip bans in tact)
3. Upload the new files from the zip, overwriting the old ones
4. Import the new product file.
5. Check admin permissions for your staff members.

Upgrading from previous versions of this mod
1. Upload files in upload directory
2. Import product (allowing override)

Uninstallation
1. Backup db.
2. Uninstall the product file.
3. Manually delete the ipbans table from your database (unless you want to keep it)
4. Delete the files that were included with this release.

Changelog
  • 4.0-0.4 rc1
    • Changed min cidr range from 16 to 8.
    • Added md5 sums file, ipban manger will no longer come up as suspect files in diagnostics (unless someone has tampered with the files)
    • Added feature to check if a user is banned
  • 4.0-0.4 b2 (unreleased)
    • Fixed a couple of minor bugs
      • Redirecting to the wrong place after adding an ip ban
      • Short php tag at top of admincp file
  • 4.0-0.4 b1
    • Added tool to calculate cidrs from an arbitary range
    • Fixed product help and version check urls
  • 4.0-0.4 a2
    • Fixed bug with admincp menu not showing
  • 4.0-0.4 a1
    • initial release

Notes

Download Now

File Type: zip Advanced IP ban Manager v4.0-0.4 release candidate 1.zip (23.5 KB, 1030 views)

Screenshots

File Type: jpg ipbans add.jpg (52.5 KB, 0 views)
File Type: jpg ipbans cidr calculator.jpg (32.9 KB, 0 views)
File Type: jpg ipbans ip ban checker.jpg (51.0 KB, 0 views)
File Type: jpg ipbans list.jpg (37.9 KB, 0 views)
File Type: jpg ipbans range calculator.jpg (43.0 KB, 0 views)
File Type: jpg ipbans tools1.jpg (67.8 KB, 0 views)
File Type: jpg ipbans tools2.jpg (64.3 KB, 0 views)
File Type: jpg ipbans user ban checker.jpg (62.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mohammadxxx

Comments
  #42  
Old 03-11-2010, 10:10 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, I have this installed and working on 4.0.2
Reply With Quote
  #43  
Old 03-11-2010, 01:01 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some kind of quick IP banner from the postbit (banning the IP of that post) would be a nice feature.

Anyway, it's a nice mod.
Reply With Quote
  #44  
Old 03-21-2010, 06:21 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do I enable this for a usergroup?

I want my super mods to be able to use it, but I can't find that setting!
Reply With Quote
  #45  
Old 03-21-2010, 08:01 PM
ViktorDA ViktorDA is offline
 
Join Date: Jan 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Installed.
Reply With Quote
  #46  
Old 03-21-2010, 08:40 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ViktorDA View Post
Thank you.
Installed.
did you figure out where to give access to this tool by usergroup?
Reply With Quote
  #47  
Old 03-22-2010, 11:18 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an admin cp tool; for someone to access it they need to be a) an admin and b) be given the admin permission 'Can Administer Ipbans'
Reply With Quote
  #48  
Old 04-15-2010, 04:58 AM
TheVoidz TheVoidz is offline
 
Join Date: Nov 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with this mod. My web servers run on 32 bit systems, I believe PHP is having a problem with the use of bitwise operators because of this. Any suggestions?
Reply With Quote
  #49  
Old 04-15-2010, 01:57 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IP's are 32 bits; so it should be ok...

Can you describe the specific symptoms this is causing I may be able to come up with a work around.
Reply With Quote
  #50  
Old 04-15-2010, 02:23 PM
TheVoidz TheVoidz is offline
 
Join Date: Nov 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the problem exists here;
PHP Code:
$ip=sprintf("%u",ip2long($vbulletin->GPC['ip']));
$cidrmask = ((pow(2,$vbulletin->GPC['cidr']) -1) << (32 $vbulletin->GPC['cidr'])); //nb only works with ipv4. for ipv6 changes need to be made.

$ip $ip $cidrmask
Specifically with the last statement, and only when $ip is implicitly cast to a float(?). What happens is any ban above 127.255.255.255 results in PHP returning a maximum of 2147483647 not allowing anyone to ban anything above that range.
Reply With Quote
  #51  
Old 04-15-2010, 04:07 PM
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works great for me, thanks for all your effort and hard work
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10608 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete