- Name: perl-CGI-Application-Plugin-RateLimit
- Version: 1.0
- Release: 1mdv2009.1
- Epoch:
- Group: Development/Perl
- License: GPL or Artistic
- Url: http://search.cpan.org/dist/CGI-Application-Plugin-RateLimit
- Summary: Limits runmode call rate per user
- Architecture: noarch
- Size: 9406
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Guillaume Rousse <guillomovitch@mandriva.org>
Description:
This module provides protection against a user calling a runmode too
frequently. A typical use-case might be a contact form that sends email.
You'd like to allow your users to send you messages, but thousands of
messages from a single user would be a problem.
This module works by maintaining a database of hits to protected runmodes.
It then checks this database to determine if a new hit should be allowed
based on past activity by the user. The user's identity is, by default,
tied to login (via REMOTE_USER) or IP address (via REMOTE_IP) if login info
is not available. You may provide your own identity function via the
identity_callback() method.
To use this module you must create a table in your database with the
following schema (using MySQL-syntax, although other DBs may work as well
with minor alterations):
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: seggie.mandriva.com 1227719004
- Buildhost: seggie.mandriva.com
Generated packages:
Other version of this rpm: