{% extends "base.html" %} {% load i18n %} {% load static %} {% block contentplaceholder %}

{{ route.name }}

(all times are in {{ tz }}; current System time: {{ mytime|date:'Y-m-d H:i' }})

{% trans "Expires" %}: {% if not route.is_no_expire %}{{ route.expires|date:"d M y" }}{% else %}{% trans "No" %}{% endif %}
{% trans "Last rule edit" %}: {{route.last_updated}} {% trans "by" %} {{route.applier_username_nice}} {% if is_superuser %} ({{route.applier}}) [{{ matching_rule_appliers_peer }}] {% endif %}

{% trans 'About' %}

{{ route.get_then }} {% trans 'all'%} {% if route.protocol.count %} {% for proto in route.protocol.all %} {{ proto }} {% if not forloop.last %},{% endif %} {% endfor %} {% endif %} {% trans 'traffic from' %} {{ route.source }} {% if route.sourceport %} {% trans 'port' %} {{ route.sourceport }} {% endif %} {% trans 'to' %} {{ route.destination }} {% if route.destinationport %} {% trans 'port' %} {{ route.destinationport }} {% endif %} {% if route.fragmenttype.count %} ({% trans 'Fragmentypes' %}: {% for f in route.fragmenttype.all %} {{ f }} {% if not forloop.last %},{% endif %} {% endfor %} ) {% endif %} {% if route.status == "EXPIRED" or route.status == "ADMININACTIVE" or route.status == "INACTIVE" %} DEACTIVATED {% elif route.status == "OUTOFSYNC" %} ERROR {% elif route.status == "ACTIVE" %} {{ route.status }} {% elif route.status == "PENDING" %} {{ route.status }} {% else %} {{ route.status }} {% endif %} {% if route.status != "PENDING" %} {% trans "Edit" %} {% if route.status == "ACTIVE" %} {% endif %} {% endif %} {% if route.comments %}

Comments: {{ route.comments|slice:"0:300" }} {% if route_comments_len > 300 %} ... {% endif %}
{% endif %}
{{ settings.BRANDING.product_name_short|default:'FoD' }} Rule Id: {{ route.id }}

Statistics

(all times are in {{ tz }}; current System time: {{ mytime|date:'Y-m-d H:i' }}, active rules will be updated every 5 minutes)
(Loading data...)

Number of packets (absolute)

Number of packets (relative)

Number of bytes (absolute)

Number of bytes (relative)

Download raw data in JSON
{% comment %}check if graphs plugin in installed apps{% endcomment %} {% if 'graphs' in INSTALLED_APPS %} {% endif %} {% if route.comments %}

Comments

{{ route.comments }}
{% endif %}
{% endblock %} {% block pagejsbottom %} {% if 'graphs' in INSTALLED_APPS %} {% endif %} {% endblock %}