Customizing SMF > Portals, Bridges, and Integrations

Anyone here working with CloudFlare/HoneyPot antibot software?

<< < (20/23) > >>

gamerzworld:

--- Quote from: butchs on February 12, 2012, 02:44:58 PM ---Sorry, I learned my lesson with the smartphone mod, do not program something you can not personally test.
 :'(

--- End quote ---
I'm guessing the reason you can't test is the lack of an IPv6 connection? You can setup a IPv6 tunnel with http://www.tunnelbroker.net/ [nofollow] . I can help you get it working if you want.

butchs:
This is not an official mod and I only made it to have CF compatibility with my site.  I do not like the massive amounts of code edits.  I believe that the IPV6 mod does it in a much simpler way.  With that said, I am busy and I do not intend to work on this mod.  But, I give you or anyone else permission to do whatever you want with it, take it over, change it for ipv6 compatibility.  Enjoy.
 :)

prince_bear:
Anybody planning to take up where the venerable Butchs is leaving? I have a forum of 150 people, averaging 8-9GB of Bandwith per month, 1.5 Million page views per year and regularly limiting on CPU and Memory. Sufficed to say I am looking for options.  :)

Aleksi "Lex" Kilpinen:
I feel that this topic doesn't really require team attention anymore, so I'm marking this solved.
@Don Peters - If you disagree with me, feel free to mark the topic not solved again.

netham45:
A bit of a necropost, but I came up with a different fix for the IPs not being reported properly in SMF 1.1.x:


--- Quote ---1) Open index.php

2) Right below the <?php line (Should be the top line in the file), insert this:


--- Code: ---if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
     $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
--- End code ---

3) Open SSI.php

4) Right below the <?php line (Should be the top line in the file), insert this:

--- Code: ---if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
     $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
--- End code ---

--- End quote ---

It's not the cleanest (overwriting $_SERVER vars...) , but it doesn't break IPs for connections that are outside of cloudflare (we have an SSL connection that's not going through cloudflare), and it's far less intrusive into the code.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version