diff options
Diffstat (limited to 'apache.txr')
-rw-r--r-- | apache.txr | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -11,11 +11,13 @@ @ (fail badguys) @ (or) @ (require (search-regex agent #/[Bb][Oo][Tt]|[Ss]pider|[Cc]rawler|[Yy]andex/)) +@ (bind points 9) +@ (or) +@ (bind points 0) @ (end) @ (end) @ (do (let ((time (make-time year (month-num month) day hour min sec :auto))) - (ban ip time 86400) - (expire time))) + (report ip time points))) @ (end) @(end) |