File: line.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 (7 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
@def &FOO() = saddr $LINE;

chain INPUT {
    proto tcp dport $LINE ACCEPT;
    proto tcp sport $LINE &FOO() dport $LINE DROP;
    proto udp dport $LINE ACCEPT;
}