Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 65051

Some IP´s are are shown like local

$
0
0

Replies: 0

Hi,

few weeks ago I have set-up the code bellow into the function.php to identify right IP addresses

/* setup IP Goe block to show real IP addresses  */
$_SERVER['REMOTE_ADDR'] = isset($_SERVER["HTTP_X_FORWARDED_FOR"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER["REMOTE_ADDR"];

But right now I see some public IPs “Logs->Admin area” but there are too local IP´s in “Logs->Login form”

detail of one log:

2017-05-04 00:13:20 10.4.240.7 ZZ multi POST[443]:/xmlrpc.php
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
HTTP headers:
HTTP_X_FORWARDED_FOR=92.63.91.108,HTTP_X_REAL_IP=92.63.91.108
$_POST data:

Can you help me to push shown local address 10.4.240.7 to real 92.63.91.108
At least what means result “multi”?

Thank you for this great plugin 🙂
Radek

  • This topic was modified 14 minutes ago by Radek.
  • This topic was modified 12 minutes ago by Radek.

Viewing all articles
Browse latest Browse all 65051

Trending Articles