ipintel_manager
Procs | |
get_ip_intel | Get IP intel |
---|---|
ip_intel_query | Performs the remote IPintel lookup |
ipintel_badip_check | IP Rating Checker |
ipintel_handle_error | Error handler |
ipintel_is_banned | IPIntel Ban Checker |
log_ipintel | Logs an IPintel error |
vpn_whitelist_add | VPN whitelist adder |
vpn_whitelist_check | VPN whitelist checker |
vpn_whitelist_panel | VPN whitelist panel |
vpn_whitelist_remove | VPN whitelist remover |
Proc Details
get_ip_intel
Get IP intel
Performs a lookup of the rating for an IP provided
Arguments:
- ip - The IP to lookup
- bypasscache - Do we want to bypass the DB cache?
- updatecache - Do we want to update the DB cache?
ip_intel_query
Performs the remote IPintel lookup
Arguments:
- ip - The IP to lookup
- retried - Was this attempt retried?
ipintel_badip_check
IP Rating Checker
Checks if a provided IP passes the config threshold for denial
Arguments:
- target_ip - The IP to check
ipintel_handle_error
Error handler
Handles an IP intel error, also throttling the susbystem if required
Arguments:
- error - The error description
- ip - The IP that was tried
- retried - Was this on a retried attempt
ipintel_is_banned
IPIntel Ban Checker
Checks if a user is banned due to IPintel. It will check configuration, DB, whitelist checks, and more
Arguments:
- t_ckey - The ckey to check
- t_ip - The IP to check
log_ipintel
Logs an IPintel error
Pretty self explanatory. Logs errors regarding ipintel.
Arguments:
- text - Argument 1
vpn_whitelist_add
VPN whitelist adder
Adds a ckey to the VPN whitelist. Asks the admin to also provide a link to their request.
Arguments:
- target_ckey - The ckey to whitelist
vpn_whitelist_check
VPN whitelist checker
Checks if a ckey is whitelisted to be using a VPN against the DB
Arguments:
- target_ckey - The ckey to check
vpn_whitelist_panel
VPN whitelist panel
Doesnt actually open a panel, this is just a verb to handle the rest of the whitelist operations
Arguments:
- target_ckey - The ckey to add/remove
vpn_whitelist_remove
VPN whitelist remover
Removes a ckey from the VPN whitelist. Pretty simple.
Arguments:
- target_ckey - The ckey to remove