• Resolved frnkoc

    (@frnkoc)


    Hi. We have two different types of traffic into our server. Regular traffic goes thru Sucuri.

    We need to access directly the server bypassing Sucuri to be able to run some reports that take longer than the allowed timeout period from Sucuri.

    I updated to version 7.8.5 that changed:
    “An update to the IP address detection algorithm. Now if the plugin is unable to detect the remote IP address, it will use 0.0.0.0 as an IP. If you come across this issue, read Solving problem with incorrect IP address detection.”

    Our direct traffic changed from being identified as ip 127.0.0.1 to 0.0.0.0 which it gets blocked.

    Is there anyway to setup the plugin to accept the two traffics without having trouble determining the direct traffic ip which defaults to 0.0.0.0? i can’t whitelist 0.0.0.0.

    I already have the line define(‘CERBER_IP_KEY’, ‘HTTP_X_REAL_IP’ ); in our wp-config.php

    Thanks
    FC

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter frnkoc

    (@frnkoc)

    Hi. Today Sucuri gave a warning about one of the plugin files:
    wp-content/plugins/wp-cerber/dashboard.php php.malware.injector.028

    Thread Starter frnkoc

    (@frnkoc)

    Disregard the sucuri alert. it was a false positive. it came as the folder was renamed by me due to the issue with the real ip explained in the first message.

    Plugin Author gioni

    (@gioni)

    I think having enabled “Check My site is behind a reverse proxy” is enough. Why would you need to add define(‘CERBER_IP_KEY’, ‘HTTP_X_REAL_IP’ );?

    Thread Starter frnkoc

    (@frnkoc)

    Hi. Because i was not getting reported the real ip of the requests. all were showing sucuri’s ip.

    The issue is that sucuri has a timeout of 120 secs and some reports i run take up to 4 mins so i need to bypass sucuri to see the results. After the update the ip’s of my requests bypassing sucuri started showing as 0.0.0.0. i’ve got blocked myself because that ip was not whitelisted.

    • This reply was modified 6 years ago by frnkoc.
    • This reply was modified 6 years ago by frnkoc.
    Plugin Author gioni

    (@gioni)

    Follow this guide: https://wpcerber.com/wordpress-ip-address-detection/

    You need to find your IP address among other fields on the Tools / Diagnostic page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘dual traffic proxy and direct’ is closed to new replies.