[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
This commit is contained in:
parent
a5fe3a1778
commit
bc53c4c6d1
1 changed files with 27 additions and 0 deletions
27
Python/etc/arpwatch.conf
Normal file
27
Python/etc/arpwatch.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
# -*- 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)
|
Loading…
Add table
Add a link
Reference in a new issue