API Reference Phx2Ban v0.1.0-beta
modules
Modules
This function provides a default list of paths that should result in a banned IP address. While not as complete as https://github.com/fail2ban/fail2ban in terms of requests that are flagged as invalid, most site scanning tools look for Wordpress, Java and Microsoft servers and these default rules are enough to catch most offeneding requesters.
This module exposes a struct that contains a trimmed down
version of the Plug.Conn
struct. This is then passed
to each of the filter functions to test if the incoming
request should be categorized as malicious.
This module provides some default filters that you can use in your application, or can provide some inspiration for your own filters.
This Plug module is used to block requests from IP addresses that have been marked as malicious.
This module contains functions to emit Telemetry events when requests are blocked, and also provides a debug logger implementation to output data when the incoming request was blocked.