Hacker News new | ask | show | jobs
by SyneRyder 1413 days ago
Just make a site with a Contact page, with a comment form that logs the details of every request (IP address, timestamp, message content, email provided). You'll get plenty of data for research, once the page has been indexed into the database the comment form spammers use. For bonus points, put the contact form at the bottom of every page of your website.

A couple of my toy/project websites accidentally became honeypots. Rather than shut down the comment forms, I now have those sites generate summary logfiles that I can upload daily to AbuseIPDB.

EDIT: Forgot to mention, also log the Referer field and User-Agent on each request. Very, very useful information for research and detection.