File: stack.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 (10 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
@def $FOO = tcp;

chain INPUT {
    proto $FOO ACCEPT;
    interface eth0 {
        @def $FOO = udp;
        proto $FOO DROP;
    }
    proto $FOO ACCEPT;
}