25 lines
586 B
Python
25 lines
586 B
Python
# -*- coding: utf-8; mode: python -*-
|
|
header()
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "root"
|
|
info["mode"] = 0644
|
|
|
|
|
|
# /etc/arpwatch.conf: Debian-specific way to watch multiple interfaces.
|
|
# Fichier gere par Bcfg2 (module Cfg)
|
|
#
|
|
# Format of this configuration file is:
|
|
#
|
|
#<dev1> <arpwatch options for dev1>
|
|
#<dev2> <arpwatch options for dev2>
|
|
#...
|
|
#<devN> <arpwatch options for devN>
|
|
#
|
|
# You can set global options for all interfaces by editing
|
|
# /etc/default/arpwatch
|
|
|
|
include("arpwatch")
|
|
for vlan in watched_vlans:
|
|
iface = 'eth0.%d' % vlan
|
|
out("%s -m root@crans.org" % (iface,))
|