vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=231873)

Nirjonadda 01-03-2015 12:02 PM

@Paul M, Why not you add this Features for vB 4.2.3 By default?

ozzy47 01-03-2015 12:14 PM

Well, if I had to take a guess, I would say because there is no further development planned for vB4, other than PHP compatibility issues, security updates and possibly bug fixes.

Quote:

Originally Posted by Mark.B;n4151691
"vBulletin 4 does not receive active development any longer, as it is not the current product."
What that means is that we're not actively developing it...features aren't being added, the product is not "in development" in the way that vB5 is.
That's not the same as no security fixes, and it's not the same as updating it for php version compatibility.


Paul M 01-03-2015 05:20 PM

Quote:

Originally Posted by Nirjonadda (Post 2530169)
@Paul M, Why not you add this Features for vB 4.2.3 By default?

Actually, you have sort of been able to do it in any version of 4.2.x, as long as Cloudfare were connecting to you via specific (known) IPs.

You do it by setting the proxy definitions in your config.php file ;

PHP Code:

$config['Misc']['proxyiplist'] = '192.168.10.20, 192.168.20.30';
$config['Misc']['proxyipheader'] = 'HTTP_CF_CONNECTING_IP'

Where 192.168.10.20 & 192.168.20.30 is the Clouldfare IPs.

Unfortunately, Cloudfare uses many IPs, which limited the usefulness of this unless you defined a big list (not a good idea performance wise).


However, in 4.2.3 you can actually specify this ;

PHP Code:

$config['Misc']['proxyiplist'] = 'all';
$config['Misc']['proxyipheader'] = 'HTTP_CF_CONNECTING_IP'

Which means vB will trust any IP it gets the Cloudfare supplied data from, eliminating the need for the edit above and a long list of specific IPs.

Nirjonadda 01-03-2015 05:34 PM

@Paul M, I am Talking about the adding Features for vB 4.2.3 By default Proxy to Real IP Conversion Work without Installs the Mod.

Paul M 01-03-2015 06:53 PM

I'm afraid that nothing more than what already exists will be added to vB4 core.

ozzy47 01-03-2015 07:59 PM

^^ as I said in post #252. :)

Nirjonadda 01-04-2015 02:13 PM

Admin CP still show me Installed Version: 4.2.0.0

ozzy47 01-04-2015 02:18 PM

You can ignore that, all 4.2.0.1 has change is, 4.2.0.1 Includes updated instructions for Cloudfare.

Paul M 01-04-2015 02:29 PM

Quote:

Originally Posted by Nirjonadda (Post 2530431)
Admin CP still show me Installed Version: 4.2.0.0

Ugh, I updated the version number in the wrong place. Corrected.

ozzy47 01-04-2015 02:32 PM

I do that all the time Paul. :p


All times are GMT. The time now is 01:56 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.01419 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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