• eatnabout

    (@eatnabout)


    Hi,

    I have the latest version of Jetpack installed on a site I’m working on. After getting Error code: -32300 for Publicize, then after deactivating and deleting, then reinstalling the plugin and getting HTTP 412 errors, then numerous support requests with my provider, I’ve finally figured out the problem. I’m running cloudflare and my host is not allowing Jetpack to access xmlrpc.php since it sees cloudflare’s IPs and only allows Automattic IPs to connect due to the recent security flaw.

    I know this isn’t a Jetpack issue per se, but I see in your press release that you’ve asked hosting providers to provide network-wide blocks after the xmlrpc security issue. Any chance of making it so that those who have updated Jetpack can use it with a CDN on MediaTemple? I have a bluehost site that’s running fine with Jetpack and cloudflare so there should be some way to configure it to work on other hosts, I would assume? Here’s what MediaTemple has to say:

    “It appears that your site is unable to use Jetpack due to the xmlrpc.php file it depends on being inaccessible to anyone but Automattic, the authors of WordPress. From a security standpoint, this is fine since noone else should be talking to Jetpack through this file. The following article will go into further detail:

    http://jetpack.me/2014/04/10/jetpack-security-update/

    When you enable CloudFlare, specifically the Railgun function, all requests to Apache come from the CloudFlare IP address range. As these IPs are not part of Automattic’s IP range, they are blocked. Unfortunately, we cannot simply whitelist CloudFlare to access Jetpack on your GRID, as the requests could be coming from an attacker or Automattic. Since all we would see on our end is CloudFlare, it reintroduces the security risk we are trying to prevent.

    For now, you will not be able to use Jetpack with CloudFlare or Railgun.”

    https://wordpress.org/plugins/jetpack/

Viewing 7 replies - 1 through 7 (of 7 total)
  • damoncloudflare

    (@damoncloudflare)

    “When you enable CloudFlare, specifically the Railgun function, all requests to Apache come from the CloudFlare IP address range. As these IPs are not part of Automattic’s IP range, they are blocked.”

    It would seem that this could be solved by putting mod_cloudflare on your server to restore the visitor IP.

    Since we act as a reverse proxy for sites, our IPs will show until you install something to restore original visitor IP.

    Thread Starter eatnabout

    (@eatnabout)

    MediaTemple says they do have mod_cloudflare installed on my server. I also have the cloudflare plugin for WordPress installed.

    According to MediaTemple, they are still seeing it as a third party connection and blocking it through mod_security.

    Any work-around for this besides choosing between cloudflare and Jetpack? According to MediaTemple there’s nothing they can do.

    I’ve tried the various .htaccess tweaks posted on forums but MediaTemple overrides those too.

    damoncloudflare

    (@damoncloudflare)

    It sounds like they may have an outdated version of mod_cloudflare running missing some IPs. Can you have them check to make sure that it has all of CloudFlare’s IP ranges?

    Thread Starter eatnabout

    (@eatnabout)

    I asked MediaTemple about the IPs but this is all they responded with:

    “After investigating further, I have determined that this is a known issue with our security measures on the GRID. Our server administrators are looking into the matter but currently there is no ETA on the fix. In the meantime, it is recommended that you only enable CloudFlare if you do not intend to utilize the features of Jetpack.”

    Any chance CloudFlare or Jetpack can work with them to get a fix going on this? They’re both pretty essential on many websites, not just the one we’re currently working on, so it’s really difficult having to choose one or the other.

    damoncloudflare

    (@damoncloudflare)

    Can you open a support ticket at CloudFlare.com and include the email? We’ll probably have to have someone on the partner team contact. I can’t tell if they are saying it is an issue with us or Jetpack.

    Note: Some other helpful tips for WordPress and CloudFlare that might help reduce some common areas of confusion.

    Thread Starter eatnabout

    (@eatnabout)

    Disabling Railgun has temporarily resolved the issue, but I still hope to be able to use that feature with Jetpack on MediaTemple. In the meantime I’ve filed a support ticket with CloudFlare referring to this thread. Please keep me posted if anyone finds a fix for this. Thanks!

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Thanks everyone for the conversation. At this point, Jetpack itself isn’t blocking based on IP addresses.

    I’ll follow this thread for updates as well. Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Jetpack incompatibility with CloudFlare’ is closed to new replies.