Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
flowspy
Commits
14431a6a
Commit
14431a6a
authored
Feb 14, 2012
by
Leonidas Poulopoulos
Browse files
Refined mail templates to include protocol statements
parent
7fac6521
Changes
4
Hide whitespace changes
Inline
Side-by-side
templates/rule_add_mail.txt
View file @
14431a6a
...
...
@@ -7,6 +7,9 @@ User {{route.applier.username}} requested the application of the following rule
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Protocol:{% for protocol in route.protocol.all %}
{{ protocol }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
...
...
templates/rule_delete_mail.txt
View file @
14431a6a
...
...
@@ -7,9 +7,8 @@ User {{route.applier.username}} requested the removal of the following rule from
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
...
...
templates/rule_edit_mail.txt
View file @
14431a6a
...
...
@@ -7,9 +7,8 @@ User {{route.applier.username}} requested the application of the following rule
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
...
...
templates/rule_expiration.txt
View file @
14431a6a
...
...
@@ -3,9 +3,8 @@ Rule {{route.name}} expires {% ifequal expiration_days 0 %}today{% else%}in {{ex
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment