Revision add2e879
b/templates/rule_add_mail.txt | ||
---|---|---|
2 | 2 |
|
3 | 3 |
User {{route.applier.username}} requested the application of the following rule: |
4 | 4 |
|
5 |
rule_name: {{route.name}} |
|
6 |
rule_source: {{route.source}} |
|
7 |
rule_destination: {{route.destination}} |
|
5 |
Match |
|
6 |
* Dst Addr:{{route.destination}} |
|
7 |
* Src Addr: {{route.source}} |
|
8 |
* Ports:{% for port in route.ports.all %} |
|
9 |
{{ port }}{% if not forloop.last %}, {% endif %} |
|
10 |
{% endfor %} |
|
11 |
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
12 |
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
13 |
|
|
14 |
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |
b/templates/rule_delete_mail.txt | ||
---|---|---|
2 | 2 |
|
3 | 3 |
User {{route.applier.username}} requested the removal of the following rule: |
4 | 4 |
|
5 |
rule_name: {{route.name}} |
|
6 |
rule_source: {{route.source}} |
|
7 |
rule_destination: {{route.destination}} |
|
5 |
Match |
|
6 |
* Dst Addr:{{route.destination}} |
|
7 |
* Src Addr: {{route.source}} |
|
8 |
* Ports:{% for port in route.ports.all %} |
|
9 |
{{ port }}{% if not forloop.last %}, {% endif %} |
|
10 |
{% endfor %} |
|
11 |
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
12 |
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
13 |
|
|
14 |
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |
b/templates/rule_edit_mail.txt | ||
---|---|---|
2 | 2 |
|
3 | 3 |
User {{route.applier.username}} requested the application of the following rule: |
4 | 4 |
|
5 |
rule_name: {{route.name}} |
|
6 |
rule_source: {{route.source}} |
|
7 |
rule_destination: {{route.destination}} |
|
5 |
Match |
|
6 |
* Dst Addr:{{route.destination}} |
|
7 |
* Src Addr: {{route.source}} |
|
8 |
* Ports:{% for port in route.ports.all %} |
|
9 |
{{ port }}{% if not forloop.last %}, {% endif %} |
|
10 |
{% endfor %} |
|
11 |
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
12 |
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
13 |
|
|
14 |
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |
b/templates/rule_expiration.txt | ||
---|---|---|
1 | 1 |
Rule {{route.name}} expires in {{expiration_days}} days. |
2 | 2 |
|
3 |
rule_name: {{route.name}} |
|
4 |
rule_source: {{route.source}} |
|
5 |
rule_destination: {{route.destination}} |
|
3 |
Match |
|
4 |
* Dst Addr:{{route.destination}} |
|
5 |
* Src Addr: {{route.source}} |
|
6 |
* Ports:{% for port in route.ports.all %} |
|
7 |
{{ port }}{% if not forloop.last %}, {% endif %} |
|
8 |
{% endfor %} |
|
9 |
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
10 |
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
|
11 |
|
|
12 |
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |
Also available in: Unified diff