[ad_1]
My hoster has server configuration, where real IP is HTTP_X_FORWARDED_FOR; also exists HTTP_X_REAL_IP, but it is NOT a real IP. Your plugin process HTTP_X_REAL_IP before HTTP_X_FORWARDED_FOR, so I get wrong result.
Also, your plugin gets HTTP_X_FORWARDED_FOR or HTTP_X_REAL_IP only when REMOTE_ADDR is not correct; but at my hoster’s configuration I have REMOTE_ADDR that contains formally correct, but non-real IP.
So, I need a hook for your get_ip() method to set arbitrary real IP, or for set non-standard real IP source, or for replace your get_ip() method.
