Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2011, 07:19 PM
StonePilot StonePilot is offline
 
Join Date: Jan 2007
Location: Texas
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Ban all users that registered / logged in with a certain IP

I have noticed that some of the spammers that have hit me have done so with only a few IP addresses.

One spammer setup over 200 user accounts with the same IP address.

It would be very nice if I had a tool to BAN all of the user accounts that were created with a certain IP address (like add a BAN all button in the AdminCP > Users > IP Lookup page).

Anyone else have this problem? This might take me hours to get all of them gone.
Reply With Quote
  #2  
Old 09-10-2011, 06:52 AM
Sam-TheMaster Sam-TheMaster is offline
 
Join Date: Jun 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on this situation? I am having same situation with a very big range of registered users with few ip and now I have blocked but still old user accounts made by those ip come over my board and create post overnight and those figures are far higher than normal users post. I am getting more than 2000-3000 postings with buggy zen cart shopping post and I have to delete that mess everyday with tool like Spam-o-matic - even after report to akismet data and stopformspam database, no satisfactory result.

Can any one throw light on this?
Reply With Quote
  #3  
Old 09-10-2011, 10:16 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need to ban the actual users.

Go to AdminCP->Options->User Banning Options.

Make sure Enable Banning Options is set to 'Yes' and enter the IP addresses in the box provided.

Just be sure to ban the user if they post spam again with a different IP.

EDIT: Use this sparingly. If you get to agressive with this you can ban millions of users.
Reply With Quote
  #4  
Old 09-10-2011, 06:00 PM
Sam-TheMaster Sam-TheMaster is offline
 
Join Date: Jun 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the trouble is. those user names registered with specific ip is bugging me more and more. i am getting those user id spaming again with different ip and they are continous spaming with few seconds interval and I am really need to ban them so they can't bug my site anymore.
Reply With Quote
  #5  
Old 09-10-2011, 06:16 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could do this:

- create a new user group (maybe copy Banned so they have no permissions).
- execute this SQL (obviously, you'll want to replace X with the id of the group you created, and 1.2.3.4 with the actual ip address. Also, if you have a table prefix you'll need to add it to the beginning of 'user'.)

Code:
UPDATE user SET usergroupid=X WHERE ipaddress='1.2.3.4'

- Now you can use "Prune/Move Users" to do what you want with users in usergroup X.

BTW although it's pretty simple, you still may want to have a backup of your db before trying this.
Reply With Quote
Благодарность от:
biggazillakilla
Reply


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 08:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03660 seconds
  • Memory Usage 2,203KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (1)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete