12 Jan 2016 13:14:43 UTC
- Distribution: Shadowd-Connector
- Module version: 2.0.0
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (396 / 0 / 4)
- KwaliteeBus factor: 0
- License: unknown
- Perl: v5.10.0
- Activity24 month
- Download (13.58KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionZITHB Hendrik Buchwald
- get_config($key, $required, $default)
- send_input($host, $port, $profile, $key, $ssl)
- sign($key, $json)
- LICENSE AND COPYRIGHT
Shadowd::Connector - Shadow Daemon Connector (Base)
Shadow Daemon is a collection of tools to detect, record and prevent attacks on web applications. Technically speaking, Shadow Daemon is a web application firewall that intercepts requests and filters out malicious parameters. It is a modular system that separates web application, analysis and interface to increase security, flexibility and expandability.
Shadowd::Connector is the base class to connect Perl applications with the Shadow Daemon background server. It is not possible to use this module directly, because there are abstract methods that have to be implemented.
This method is a simple constructor for an object oriented interface.
This is an abstract method that has to be implemented by a subclass. It has to return the IP address of the client.
This is an abstract method that has to be implemented by a subclass. It has to return the name of the caller.
This is an abstract method that has to be implemented by a subclass. It has to return the the requested resource.
This is an abstract method that has to be implemented by a subclass. It has to save the user input in the class attribute _input.
This is an abstract method that has to be implemented by a subclass. It has to remove threats from the user input.
This is an abstract method that has to be implemented by a subclass. It has to save the cryptographically secure checksums of the executed script in the class attribute _hashes.
This is an abstract method that has to be implemented by a subclass. It has to display an error message.
This method initializes and loads the configuration.
This method returns values from the configuration.
This method returns the user input that is brought together by gather_input.
This method returns the hashes that are brought together by gather_hashes.
The method removes user input that should be ignored from the class attribute _input.
This method sends the user input to the background server and return the parsed response.
This method parses the response of the background server.
This method signs the input with a secret key to authenticate requests without having to send the password.
This method writes messages to a log file.
This method escapes keys, i.e. single elements of a path.
This method unescapes keys, i.e. single elements of a path.
This method splits a path into keys.
This method connects the different components of the module and starts the complete protection process.
Please report any bugs or feature requests to
email@example.com, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Shadowd-Connector. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
It is also possible to report bugs via Github at https://github.com/zecure/shadowd_perl/issues.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
Shadow Daemon -- Web Application Firewall
Copyright (C) 2014-2016 Hendrik Buchwald
This file is part of Shadow Daemon. Shadow Daemon is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Module Install Instructions
To install Shadowd::Connector, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Shadowd::Connector
For more information on module installation, please visit the detailed CPAN module installation guide.