blob: c3f6911cede1482bee826ad3a9bdcb0b8b1f1507 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Source Destination Protocol
{% for parsed in data if parsed.flow.meta is vyos_defined %}
{% for key in parsed.flow.meta %}
{% if key['@direction'] == 'original' %}
{% set saddr = key.layer3.src | bracketize_ipv6 %}
{% set sport = key.layer4.sport %}
{% set daddr = key.layer3.dst | bracketize_ipv6 %}
{% set dport = key.layer4.dport %}
{% set protocol = key.layer4['@protoname'] %}
{{ "%-48s" | format(saddr ~ ':' ~ sport) }} {{ "%-48s" | format(daddr ~ ':' ~ dport) }} {{ protocol }}
{% endif %}
{% endfor %}
{% endfor %}
|