File: comments.ferm

package info (click to toggle)
ferm 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: perl: 2,839; sh: 126; makefile: 120
file content (23 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# test comment syntax

@def $EMPTY = (
    # only a comment
);

@def $ONE = (
    192.168.0.1 # comment after data
);

@def $TWO = (
    # nothing in this line
    192.168.0.2
);

table filter chain INPUT {
    saddr (
        192.168.0.3 #foo
    ) ACCEPT;
    daddr $EMPTY DROP;
    saddr $ONE REJECT;
    daddr $TWO ACCEPT;
}