vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Ban IP's In vBulletin Options Easily (https://vborg.vbsupport.ru/showthread.php?t=268146)

Simon Lloyd 06-16-2013 04:58 PM

no need for .* or .

If you enter 88.123.11 then it will ban:
88.123.11.1
88.123.11.2
88.123.11..3 ......etc

If you enter 88 then it will ban every ip that has 88 in it so in this case you'd need to add an extra qualifier so 88.123 will ban every ip that has that in it, addind a dot5 after it like 88.123. will ensure that only ips's with another paremeter after the las t dot will be banned.

Hope that clears it up for you.

ram94401 06-16-2013 11:37 PM

It does. Thanks again.

sverdios 07-24-2013 09:47 AM

any chance, for example, if one user try to logging with a banned ip automatic ban the user?

Simon Lloyd 07-24-2013 02:41 PM

if a user attempts to login with a banned ip either with my system of vbulletins then they wont be able to load the site.

sverdios 07-24-2013 05:43 PM

Quote:

Originally Posted by Simon Lloyd (Post 2435115)
if a user attempts to login with a banned ip either with my system of vbulletins then they wont be able to load the site.

yes i know, but the user can change you ip and access then, for example I acces to vbulletin from my dedicated server, this ip are banned, but i can access normally from my pc. any chance to move this user to banned group? or some log register what user try to logging from banned ip?

Simon Lloyd 07-25-2013 08:49 AM

You are talking about 2 different things!
Quote:

Originally Posted by sverdios
any chance to move this user to banned group?

and
Quote:

Originally Posted by sverdios
or some log register what user try to logging from banned ip?

the second part is an easy thing to do, the first is a little harder. If I have time at some point i'll add those things.

Dan49 07-31-2013 05:13 AM

Hi Simon,

I installed this mod. Added a few IPs to the list. Then one of my legit users got blocked. I spent a lot of time with him trying to pin point the problem, as his IP is not on the list. I narrowed it down by removing a few IPs from the list at a time, until I found which one affected him.

I had 222. on the list which blocked 203.59.222.162.

What I concluded is that 222. does not only block the beginning numbers, it blocks any occurrence of those numbers in the IP.

Is this what you wanted this mod to do? Let me know if this the case, then I must uninstall it as it's unpredictable which IPs it will ban.

Dan49 07-31-2013 05:16 AM

Never mind, I just saw you answered this a few posts above. Looks like I understood correctly. It's too dangerous to put only 3 numbers on the list. But I think I can still make it work, adding at least one more ###. behind it.

Dan49 08-04-2013 02:56 AM

Simon,

I want to make sure I'm using block range of IPs feature correctly. If I set
Start IP: 202.46.48.36
End IP: 202.46.63.165

will it block these IPs?
202.46.48.77
202.46.57.138
202.46.62.142

Simon Lloyd 08-04-2013 05:31 PM

To be honest its been a long while since I used or did any development on this mod, my first instinct is to say no because those ip's are fully qualified ip's you'd need to enter them like
202.46.48
202.46.63

I cant remember what instructions I gave in the mod. My wifes due to have a big op so I wont have time to test or look at this for at least a week - sorry!


All times are GMT. The time now is 07:34 AM.

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.01165 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete