This points all* $_SERVER['REMOTE_ADDR'] calls to getIdentity(). The calls that this replaces were historically placed into the database under the ip column. After consolidating all the calls, our next step is to replace the getIdentity() function to return a HASH of an IP instead of the IP itself. This will then guarantee that no IP address is ever stored on the database.
Calls that are omitted are used to determine country flags, tor identification, ipv6 identification, etc. These calls should not be stored on database.
This points all*
$_SERVER['REMOTE_ADDR']
calls togetIdentity()
. The calls that this replaces were historically placed into the database under theip
column. After consolidating all the calls, our next step is to replace thegetIdentity()
function to return a HASH of an IP instead of the IP itself. This will then guarantee that no IP address is ever stored on the database.