File: arptables.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 (18 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- shell-script -*-
#
# Ferm example script
#
# arptables demo.
#
# Author: Max Kellermann <max@duempel.org>
#

domain arp chain INPUT {
    policy DROP;

    interface eth0 ACCEPT;

    interface eth1 {
        source-mac 00:00:de:ad:be:ef ACCEPT;
    }
}