use project honey pot in a custom block page using cloudflare

January 13, 2016

if you use cloudflare and use the firewall to block IPs or IP ranges wouldn’t it be nice to serve some honey pots (from project honey pot)? i think it is. we just need to create a simple html file that contains the links to your honey pots. here’s an example…

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>404</title>
</head><body>
<a href="http://linktohoneypot1.your.link.php"><!-- interesting-description --></a>
<a href="http://anotherlink.your.link.php"><!-- another_description --></a>
<a href="http://placeanotherurlhere.your.link.php"><!-- and-another --></a>
<a href="http://yetanother.your.link.php"><!-- maybe-another --></a>
<br><span style="font-family: Helvetica,Arial,sans-serif;">404</span><br>
</body></html>

save that to an html file with a memorable name and upload it to your server and note the address. in the cloudflare control panel click customize near the top right and click the edit button which looks a bit like this

cf_custom_block

and enter the URL of the html file you uploaded earlier. that’s it. blocked IP addresses will now only be able trawl links to your honey pots.

tags: ,
posted in tech by col

Follow comments via the RSS Feed | Leave a comment

Leave Your Comment

 
© cloudplasma 2009 - 2016