Perlbal::Plugin::TrustHeader - Remove untrusted headers


Perlbal-Plugin-TrustHeader documentation  | view source Contained in the Perlbal-Plugin-TrustHeader distribution.

Index


NAME

Top

Perlbal::Plugin::TrustHeader - Remove untrusted headers

Description

Top

This module allows you to remove headers unless the client is trusted

You can configure headers to be checked based on each service declared, although the service role has to be set to web_server

For each header you want to check, you have to specify the header name and a list of netmasks to trust. Multiple netmasks are separated by white space

SYNOPSIS

Top

This module provides a Perlbal plugin wich can be loaded and used as follows

    Load TrustHeader

    #TrustHeader <service_name> <header_name> <netmask_list>
    TrustHeader static X-SSL 10.0.0.0/8

    CREATE SERVICE static
        SET ROLE = web_server
        SET plugins = TrustHeader
    ENABLE static

In this case for each response served by the Service static, the header X-SSL will be removed before the request is proxied to the backend unless the client is on the local private network

AUTHOR

Top

Graham Barr, <gbarr@pobox.com>

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Perlbal::Plugin::TrustHeader




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Perlbal-Plugin-TrustHeader

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Perlbal-Plugin-TrustHeader

* CPAN Ratings

http://cpanratings.perl.org/d/Perlbal-Plugin-TrustHeader

* Search CPAN

http://search.cpan.org/dist/Perlbal-Plugin-TrustHeader/

COPYRIGHT & LICENSE

Top


Perlbal-Plugin-TrustHeader documentation  | view source Contained in the Perlbal-Plugin-TrustHeader distribution.