crans_bcfg2/Python/etc/arpwatch.conf
Daniel STAN bc53c4c6d1 [arpwatch] oubli de la génération de la conf
Ignore-this: df7dde18204b968273f19dc3ce86bff
On liste les interfaces sur lesquelles on écoute

darcs-hash:20130118004645-28565-c0c9f4622a1c85a2a45e4b7b77ee1d5ecf257a79.gz
2013-01-18 01:46:45 +01:00

27 lines
657 B
Python

# -*- coding: utf-8; mode: python -*-
header("Fichier gere par Bcfg2 (module Python) !")
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 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'
if vlan <> 0:
iface += '.%d' % vlan
print("%s -m root@crans.org" % iface)