![]() |
Are you sure you have correctly done the edit to init.php and uploaded it ? - this is where those constants are defined.
|
Quote:
rgds |
So what if a regular user sends the X-Forwarded for header, specifying someone else's IP? Can the user avoid bans/etc?
|
Quote:
|
Is there any way to ignore reserved private IP ranges? I have several users who show up has having 192.168.x.x or 10.0.x.x as their "real IP".
Great mod, btw.. :) |
Quote:
|
Quote:
|
Well I haven't tested it, but this should work ;
Find; PHP Code:
PHP Code:
Edit: Updated for full 172 range and 127 range as per posts below. |
That seemed to do the trick. Thank you kindly.
Any chance you'll be adding that to your next release? |
PS - the range is 172.16.0.0 through 172.31.255.255.. I'm a regex moron, how would I add that range?
preg_match("#^(10|172\.[16-31]|192\.168)\.#", $proxyip)) ? |
All times are GMT. The time now is 02:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|