Commit Graph

7 Commits (5585e5d92ee960021d16bd336762ddbbc7d78a67)

Author SHA1 Message Date
Guillaume DOTT c0f8f6d054 Rename project-honeypot to project_honeypot 2013-01-04 11:30:32 +01:00
Guillaume DOTT 6571e9bef5 Add custom score and last_activity method to determine if safe or not 2013-01-04 11:30:32 +01:00
Guillaume DOTT 475b749cf6 Add a rack middleware to forbid access to unsafe IP addresses 2013-01-04 11:30:24 +01:00
Guillaume DOTT 5a4ca4d44a Add rack middleware 2012-12-21 16:40:27 +01:00
Guillaume DOTT 3f93bf1fa2 Add configuration class and modify lookup to use this configuration
To configure the module, you can use :
ProjectHoneypot.configure do
  @api_key = 'API_KEY'
end
To access, the variable, use :
ProjectHoneypot.api_key

The lookup method has been modified to be backward compatible
and use the defined api_key if available.
2012-12-19 09:31:17 +01:00
Guillaume DOTT 7035908aae Modify require 'net/dns' to work 2012-12-18 16:53:38 +01:00
woody2shoes acf5a7d6ce version 0.1.1 2010-10-27 22:13:06 -06:00