Commit Graph

27 Commits (master)

Author SHA1 Message Date
inpos 61e9aed4be roundcube 1.3 support 2017-12-10 16:46:25 +03:00
Steve Allison 7e66141336 Match comment to function 2013-02-21 21:25:56 +00:00
Steve Allison 2f90243356 Fix debug output for check period 2013-02-21 19:19:51 +00:00
Steve Allison 3f0ea7079a Reduce check time for recently banned IPs
Reduces the effect of getting the password wrong immediately after being
unbanned gets you instantly banned again.
2013-02-21 18:24:46 +00:00
Steve Allison 79a17a725d Cache ban data, show ban duration to user 2013-02-21 17:20:46 +00:00
Steve Allison a899c6a17d Put ban queries to functions, implement auth check 2013-02-21 15:37:03 +00:00
Steve Allison 19c22f9164 isWhite/Blacklisted(), function comments 2013-02-21 14:54:10 +00:00
Steve Allison b91e7aa171 Move authenticate to end, remove isBanned() 2013-02-21 14:19:50 +00:00
Steve Allison 3e52400d52 Remove some debug, add return for login hook 2013-02-21 14:18:19 +00:00
Steve Allison 25ccada7c6 Only write to debug log if debug is enabled 2013-02-21 14:14:03 +00:00
Steve Allison 43fa4a0678 Various bug fixes, more debug lines 2013-02-21 14:02:37 +00:00
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