{% extends "layout.html" %} {% block title %}{{ _('Banned IP Addresses') }}{% endblock %} {% block navlinks_activities %}class="active"{% endblock %} {% block main %}

{{ _('Banned IP Addresses') }} ({{ rows | length }})

{% if rows |length == 0 %} {% endif %} {% for row in rows %} {% set row_id = loop.index %} {% set record_id = row.id | int %} {% set ip = row.ip |e %} {% set remove = row.remove | int %} {# `failures=0` means banned manually, no matched log lines stored in sql db. #} {% set failures = row.failures | int %} {% endfor %}
{{ _('IP Address') }} {{ _('Client Hostname') }} {{ _('Country') }} {{ _('Ports') }} {{ _('Jail') }} {{ _('Time') }}
{{ _('No banned IP address.') }}
{{ ip }} {% if remove == 0 %} {{ _('Unban') }} {% else %} {{ _('Pending') }} {% endif %} {% if failures > 0 %} {{ _('Log') }} {% endif %} {% if row.rdns %}{{ row.rdns |e }}{% endif %} {{ row.country |e }} {{ row.ports.replace(',', ', ') |e }} {{ row.jail |e }} {{ row.timestamp | utc_to_timezone(timezone=session['timezone'])}}
{% endblock main %} {% block extra_js %} {% endblock extra_js %}