Class
Symbiosis::Firewall::BlacklistDB
In:
firewall/lib/symbiosis/firewall/blacklist_db.rb
Parent:
Object
Methods
get_count_for
new
set_count_for
Attributes
dbh
[R]
For testing.
filename
[R]
Public Class methods
new
(database = '/var/lib/symbiosis/firewall-blacklist.db')
Public Instance methods
get_count_for
(ip, timestamp = (Time.now - 48*3600))
set_count_for
(ip, cnt, timestamp = Time.now)
[Validate]