-
Notifications
You must be signed in to change notification settings - Fork 3
3) Configure it
Stefano Novelli edited this page May 26, 2014
·
3 revisions
At this point you need to edit the config.php file that resides within /codeshield/config.php.new.
To do this we must change the FTP (preferably with an editor) and NOT by navigating the browser. Within this script you will find:
$honeypot = 0; //Set 1 to Enable
$honeypotapi = 'Type your API key here'; //Need registration to http://www.projecthoneypot.org
$maxserverload = '8'; //Define your Max Server Load. Check out your server for further informations
After this, change config.php.new to config.php
- Some kind of Hostings doesn't provide you directly access for loadavg function, so we make an hack to read it by different way. If you got access at /proc/loadavg, please select method 2!
- If you got Honeypot Api key you can enable Honeypot functionality by set $honeypot to 1.
- You can also edit your maxserverload. Please check with htop command from your Linux machine to see which Server Load do you have, or simply leave default value.