Rampart_Module

Copyright (C) Apis Networks, Inc - All Rights Reserved. Unauthorized copying of this file, via any medium, is strictly prohibited without consent. Any dissemination of material herein is prohibited. For licensing inquiries email <licensing@apisnetworks.com> Written by Matt Saladna <matt@apisnetworks.com>, April 2018
extends Module\Skeleton\Standard
Methods Summary
public
# is_banned( string $ip = NULL, string $jail = NULL )
Authenticated client IP or $ip is banned
public
# get_jails( )
Get active jails
public
# unban( string $ip = NULL, string $jail = NULL )
Unban an IP address
protected
# chain2Jail( string $chain )
Convert an iptables rule into a fail2ban jail
protected
# checkInput( string $ip = NULL, string $jail = NULL )
Perform permission validation and IP transformation
public
protected
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public string FAIL2BAN_CACHE_KEY
# 'f2b'
public string FAIL2BAN_IPT_PREFIX
# 'f2b-'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $confMapping
# NULL
protected $exportedFunctions
# array ( '*' => 10, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql