Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
« Reply #15 on January 6th, 11:28 PM »
Uhm.. I checked my test websites I have on CF right now.
SMF IPs are screwed and for example if I go to my profile I have CF IP related to the domain (173.245.52.115), so you are right.
But Wordpress commenters IP are correct! I tried to comment as anonymous and in WP I can see my correct IP!
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: CloudFlare
« Reply #16 on January 6th, 11:35 PM »
Does WP have any bridge attached to it? Are you using Bad Behaviour?
   computer-aided
   community building
             

Other stuff:

Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
« Reply #17 on January 6th, 11:52 PM »
Quote from Lurker on January 6th, 11:35 PM
Does WP have any bridge attached to it? Are you using Bad Behaviour?
No.. clean install.
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: CloudFlare
« Reply #18 on January 6th, 11:56 PM »
Maybe WP includes the check for CloudFlare by default, I don't know. Don't really care either, to be honest. WP is not my favourite piece of software.
   computer-aided
   community building
             

Other stuff:

Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
« Reply #19 on January 8th, 01:22 PM » Last edited on January 8th, 03:34 PM
Mod by butchs:
http://www.simplemachines…926.msg2726085#msg2726085

P.S.: What is he talking about when he says:
Quote
[...] make me wish that SMF had just one check for an visitor Ip address so i can easily add a auto-detection script for CloudFlare.
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...

Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
« Reply #20 on January 8th, 03:20 PM »
They provide tools for many platforms:
http://www.cloudflare.com/wiki/Log_Files

Including a mod_cloudflare module for Apache.
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: CloudFlare
« Reply #21 on January 12th, 08:21 AM »
That's odd... Why not simply make *one* test for the CF-specific variable in $_server, and overwrite $_server['remote_addr'] with it..? :-/
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: CloudFlare
« Reply #22 on January 12th, 09:05 AM »
Because the author's an arrogant tool whose skills are more in his imagination than in reality?
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: CloudFlare
« Reply #23 on January 12th, 10:09 AM »
(My post above was unclear. I was commenting on butchs' post, but he was himself quoting a 'tutorial' by MKNJHILL, which is what I was talking about really. Haven't seen butchs' mod because it would require me to log in.)
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
« Reply #24 on January 12th, 03:27 PM »
I'm having big problems with their module for Apache... After I installed it a lot of Zombie processes are created every hour and Apache reaches its max FCGI process count and any requests in excess of the limit is dropped. So every 9/10 hours if I don't restart Apache my websites go down. >:(

My error log gets flooded of (~ 16 every second):
Code: [Select]
[info] mod_fcgid: /cgi-bin/php5.fcgi total process count 20 >= 20, skip the spawn request errors

It's indeed something related to the module because these problems started right after I installed it.  :unsure:

I added a ticket in their system.. they said they're going to investigate on it.
Latest reply:
Quote
I noticed that you were running Linux 3.1 x86-64. I am not saying it has any thing to do with this but 64 bit has not been tested.
<_<
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: CloudFlare
« Reply #25 on January 12th, 03:45 PM »
Shared hosting is not that bad all of a sudden eh... :P
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Offline MultiformeIngegno

  • Modérateur
  • Posts: 804
  • I have the tickets for the Coldplay live in Turin!!!!! :D
    • View profile
    • multiformeingegno
Re: CloudFlare
New
« Reply #26 on January 12th, 06:06 PM » Last edited on January 12th, 06:18 PM
Well, Cloudflare system works really really well (and hosting should be glad that users use it, for example my daily bandwidth was 2Gb, now it's reduced to 900Mb (thanks to their threats protection and upstream compression).

The problem is only with this Apache module, maybe it's badly written or has some bugs in it.
https://raw.github.com/cl…s/master/mod_cloudflare.c

Don't know.. I disabled it for now (and I don't have Zombie processes anymore).
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...