vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem with IP's (https://vborg.vbsupport.ru/showthread.php?t=309793)

BULLDOG 03-22-2014 01:06 PM

Problem with IP's
 
Hi,

I need your help asap with this:

I am the Admin on pipesmokerunlimited.com but am neither the owner nor the license owner. The owner has implemented a software called "SiteLock" to prevent spamming... essentially, it's a firewall for the forum.

SiteLock makes ALL IP addresses of ALL members the SAME... this makes it impossible for us to ban a single IP address or do searches for IP addresses since they're all the same.

I've advised the owner to uninstall SiteLock but he does not feel like doing this since he sees daily spam attacks that have been prevented by SiteLock... I see his point.

Anyway, the owner contacted the SiteLock account manager who told him that I need to need to add an X-forwarded-for header to the site... this should make all unique IP address appear again in the ACP and Who's Online view.

Problem is that I have no clue how to install that X-forwarded for-header since I have never done this before as I have never had SiteLock implemented on another forum I was admin on...

Does it need server accesss to do this?

Could someone please tell me step by step how to install the X-forwarded-for header to the site?

ozzy47 03-22-2014 01:27 PM

This may work but I am not 100% sure.

First off, if you have never edited the config file read this, https://vborg.vbsupport.ru/showthread.php?t=308457

Assuming you are using VB 4.2.X (and the config.php file from VB 4.2.X) find this line near the end of the file:

Code:

//$config['Misc']['proxyipheader'] = 'HTTP_X_FORWARDED_FOR';
and remove the two slashes in front (//) - this is called UN-commenting the line. Re-save the file and upload it to your server.

IP addresses will now be taken from the HTTP_X_FORWARDED_FOR header.

BULLDOG 03-22-2014 01:53 PM

We are running vB 4.2.1

Can I upload something to the server when I don't have server access??

ozzy47 03-22-2014 01:55 PM

You should have that line in your config, as you are running a vB version of 4.2.X, you need FTP access, or cpanel access

4.2.0
4.2.1
4.2.2

BULLDOG 03-22-2014 02:02 PM

I do have access to the ACP... where in the ACP do I find the option to change the config file?

ozzy47 03-22-2014 02:03 PM

You don't, it needs to be edited through the FTP, or cpanel. :)

BULLDOG 03-22-2014 02:18 PM

So if I don't have access to the server but do have access to the Admin Control Panel, I can't do this??

ozzy47 03-22-2014 02:30 PM

No, as I said above, this needs to be done via FTP or cpanel.

BULLDOG 03-22-2014 02:35 PM

Okay, seems that the owner has to do it then.

ozzy47 03-22-2014 02:42 PM

If the owner is the only one with FTP or cpanel access, then that would be correct.


All times are GMT. The time now is 05: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.01135 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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