The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
@Paul_M
Can you please make this product available again
https://vborg.vbsupport.ru/showthread.php?t=231873 Proxy to Real IP Conversion Quote:
So if there are hundreds thousands IP to reverse the server will search for a match whenever any user does anything, and I'm afraid that's certain death for the server So please make your product available again. |
#2
|
||||
|
||||
Sorry, but thats not going to happen.
However, as of 4.2.3 a couple of new options were added to the core to help in this case. Code:
/* Enter your known proxy servers here. You can list multiple trusted IPs separated by a comma. You can also use the * wildcard (at the end of a definition only) or use the keyword 'all' to represent any ip address.*/ //$config['Misc']['proxyiplist'] = '127.0.0.1, 192.168.*, all'; Also, in 4.2.4 an extra fix was added due to PHP sometimes not passing the custom headers into the $_SERVER array (which stopped the system working). |
Благодарность от: | ||
X-or |
#3
|
|||
|
|||
wow, completely missed this as I took the bad habit of not updating the config file anymore :O
thank you, works fine |
#4
|
||||
|
||||
Always update the config.php file using config.php.new, just copy/paste the values then save and overwrite . In some cases issues can arise form using an older config.php file.
|
#5
|
||||
|
||||
Quote:
Code:
103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 104.16.0.0/12 108.162.192.0/18 131.0.72.0/22 141.101.64.0/18 162.158.0.0/15 172.64.0.0/13 173.245.48.0/20 188.114.96.0/20 190.93.240.0/20 197.234.240.0/22 198.41.128.0/17 199.27.128.0/21 |
#6
|
||||
|
||||
Nope, CIDR format wont work at all.
If you want to restrict it to ranges, you would have to figure out what ranges they represent, and add them. |
#7
|
||||
|
||||
So will it work with this format?
Code:
$config['Misc']['proxyiplist'] = '131.0.72.0 - 131.0.75.255, 103.22.200.0 - 103.22.203.255, all'; |
#8
|
||||
|
||||
If using Apache web server use mod_cloudflare - https://support.cloudflare.com/hc/en...flare-Packages
|
#9
|
||||
|
||||
The config file tells you what format will work, please read it.
|
#10
|
|||
|
|||
Simply use this
$config['Misc']['proxyiplist'] = 'all'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|