Commit Graph

30 Commits (ade7be0daaf932adb93c901c261c1456f0cb2ab7)

Author SHA1 Message Date
Steve Allison ade7be0daa Consolidate dbError(), add some debug lines 2013-02-21 13:27:27 +00:00
Steve Allison 8680b42ed6 Add IPv4 sanitation check 2013-02-21 13:17:40 +00:00
Steve Allison 29d069a265 Attempted ipv6 support (untested) 2013-02-21 12:51:12 +00:00
Steve Allison e2797d9b6e Adjust function comments to reflect IP type 2013-02-21 12:39:54 +00:00
Steve Allison 4c65639b2b Make ip comparison binary safe 2013-02-21 12:39:10 +00:00
Steve Allison 94c87c5f89 Rename functions to ipv4 or ipv6, begin ipv6 code 2013-02-21 12:38:38 +00:00
Steve Allison 83a990e4e3 Failed login hook implemented 2013-02-21 02:49:05 +00:00
Steve Allison f5d9d02cbc Missed semicolon (groan) 2013-02-20 21:54:00 +00:00
Steve Allison ea6a33f237 First attempt at login_failed hook 2013-02-20 21:49:54 +00:00
Steve Allison e991167811 Move config variables to just-before-use 2013-02-20 21:29:16 +00:00
Steve Allison 24b87fa579 Add config variable to set ban type 2013-02-20 21:20:42 +00:00
Steve Allison 2e7c4825ff Typo % = $ 2013-02-20 21:13:00 +00:00
Steve Allison 53959f9b89 Fix function referense (ugh missed it) 2013-02-20 21:12:11 +00:00
Steve Allison 0f0fe693e4 Fix function reference 2013-02-20 21:10:57 +00:00
Steve Allison 1236cc5c3b Fix statement brackets 2013-02-20 21:09:12 +00:00
Steve Allison 4ae6625cce Rename main php file to match plugin 2013-02-20 21:05:39 +00:00
Steve Allison d4168396ba Fix function names 2013-02-20 21:05:21 +00:00
Steve Allison 70055d4d76 Remove whitespace 2013-02-20 21:04:36 +00:00
Steve Allison d3eab78782 Rename class to 'defense' 2013-02-20 20:59:40 +00:00
Steve Allison cf8a05aca2 Clarify white/blacklist in config 2013-02-20 20:58:58 +00:00
Steve Allison 638597a1c9 Every config variable has defense_ prefix 2013-02-20 20:56:44 +00:00
Steve Allison 2993c8dc9f Create class, CIDR logic for white/blacklist 2013-02-20 20:54:15 +00:00
Steve Allison b7fbb8af2b Add some clarification, idea for log expiry 2013-02-20 20:49:57 +00:00
Steve Allison 0e2795450e First mock of config file
Outlining user variables
2013-02-20 15:17:33 +00:00
Steve Allison cd891c0fef Adjust name of plugin to 'defense' 2013-02-20 14:17:30 +00:00
Steve Allison 7b7d92eac5 It's called defense, not protect
i r idiot
2013-02-20 13:09:59 +00:00
Steve Allison 0cee10d1a9 Create README file 2013-02-20 13:07:46 +00:00
Steve Allison 27d6ce1424 Add GPL 2013-02-20 12:14:55 +00:00
Steve Allison ed66342406 Remove automatically created .git* files 2013-02-20 11:52:04 +00:00
Steve Allison df18832fac Created repository 2013-02-20 11:48:17 +00:00