vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [HowTo] Tweak IP banning (https://vborg.vbsupport.ru/showthread.php?t=54001)

Stadler 06-07-2003 10:00 PM

[HowTo] Tweak IP banning
 
Well, while creating my spider IP-Hack, I've tweaked the IP-scanning fron the banip-function, so it's much faster now.

I'm using it for the IP-banning function in order to reduce server load, since we're banning a huge list of proxy-IPs from our forums. A single user won't recognize anything, but this could reduce server-load a little.

PS: I would be happy, if you only click install, if you really installed it. I need to know who is using it and I need some feedback from user, that really use it.

Thanks in advance.

Beanyhead 06-08-2003 02:24 AM

Good Job :)

Morpherex 06-08-2003 02:37 AM

:) cool, thx.

Stadler 06-08-2003 02:49 AM

Sorry, I've copy&pasted the wrong piece of code into the find-part.

Please rehack.

Sorry for any inconvenience.

SpeedStreet 06-08-2003 02:56 PM

So this just increases the speed of the ip banning check?

Stadler 06-08-2003 04:43 PM

Yes. If you have IP banning turned on, that is.

A single user won't recognize any difference, but this could reduce server load on a busy forum with a big list of banned IPs.

It's useless if you have IP-banning turned off or a small forum.

Snapperhaed 06-21-2003 04:36 PM

Made a LARGE difference for my forums, Thanks!

David Bott 08-21-2003 01:44 PM

Installed on AVS Forum and TiVo Community Forum.

David

TheComputerGuy 09-18-2003 09:59 AM

I installed it...

Looks good so far

Courage 09-20-2003 11:54 AM

Good

Installed on Softnews.ro forum.
It seems a little bit faster now

Placebo ?

Stadler 09-20-2003 12:25 PM

When I created my Spiderip-hack, I've first used a slightly modified version of the IP-Banning function of vB2, but this was quite slow, so I tweak it (same tweak used for this 'hack') and it (online.php with the spiders listed there) was much faster.

And since were using a big list of banned IPs, I've applied it for IP-Banning as well. If you have a small forum with only a handful of banned IPs, you probably won't recognize any difference and a single user won't recognize a difference as well. But with a bigger amount of users and/or a big amount of banned IPs, you should recognize, that the serverload has been reduced.


All times are GMT. The time now is 02:41 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.01033 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete