WPF2B_EVENT_BLOCK_COUNTRY_451
Attempted access from a country blocked with HTTP 451.
Premium only
Premium listener: WPF2B_EVENT_BLOCK_COUNTRY_451.
Premium emits this event when a request’s resolved country appears in
WP_FAIL2BAN_EX_BLOCK_COUNTRIES_451. The request is denied with HTTP 451
Unavailable For Legal Reasons and receives a Link header pointing at the
site as rel="blocked-by".
If the country also appears in the HTTP 403 list, that list takes precedence and Premium emits WPF2B_EVENT_BLOCK_COUNTRY instead.
syslog |
Facility |
|
|---|---|---|
Level |
NOTICE |
|
Example |
|
|
fail2ban |
Filter |
|
Rule |
|
|
EventData |
country |
ISO 3166-1 alpha-2 code |
See also
History
Added in version 6.0.0: Added F-HTTP_STATUS and F-ISO_CODE tags.