Project

General

Profile

Actions

Feature #1563

closed

Block user based on conditions

Added by Anonymous about 17 years ago. Updated about 1 year ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

What I'd like to be able to do, is if a user access my site, and meets a certain set of conditions, that they are then blocked for x minutes.

Specifically, I'd like to be able to say that if a user's referrer matches a certain regexp, that url.acces-deny = ("") be applied to them by ip for an hour.

Something like...


$HTTP["referer"] =~ "^http://bad\.site" {
   remember 60 url.access-deny = ( "" )
}

-- wlynch

Actions #1

Updated by stbuehler over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to worksforme

Not possible with config layout.

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Missing Feedback
Actions #3

Updated by gstrauss about 1 year ago

  • Description updated (diff)
  • Status changed from Missing Feedback to Fixed
  • ASK QUESTIONS IN Forums set to No

Arbitrary policy like this can be implemented by you in a lua script run by lighttpd mod_magnet

Actions

Also available in: Atom