perl-CGI-Application-Plugin-RateLimit-1.0.0-4-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-CGI-Application-Plugin-RateLimit - Limits runmode call rate per user

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-CGI-Application-Plugin-RateLimit
Package version: 1.0.0
Package release: 4-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 21.46 KB
Download size: 15.10 KB
Official Mirror: mirror.rosalab.ru
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):

Provides

  • perl(CGI::Application::Plugin::RateLimit) == 1.0.0
  • perl-CGI-Application-Plugin-RateLimit == 1.0.0-4:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-CGI-Application-Plugin-RateLimit rpm package:
      # urpmi perl-CGI-Application-Plugin-RateLimit

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/CGI/
    • /usr/lib/perl5/vendor_perl/5.12.3/CGI/Application/
    • /usr/lib/perl5/vendor_perl/5.12.3/CGI/Application/Plugin/RateLimit.pm
    • /usr/share/doc/perl-CGI-Application-Plugin-RateLimit/Changes
    • /usr/share/doc/perl-CGI-Application-Plugin-RateLimit/README
    • /usr/share/man/man3/CGI::Application::Plugin::RateLimit.3pm.xz

    Changelog

    2011-05-28 - Funda Wang <fwang@mandriva.org> 1.0.0-4mdv2011.0 + Revision: 680682 - mass rebuild

    2010-02-12 - J?r?me Quelin <jquelin@mandriva.org> 1.0.0-3mdv2011.0 + Revision: 504597 - rebuild using %%perl_convert_version

    2009-09-14 - Thierry Vignaud <tv@mandriva.org> 1.0-2mdv2010.0 + Revision: 440537 - rebuild

    Advertisement
    Advertisement