arpwatch/fsl.arpwatch

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

michael@64 1 ##
michael@64 2 ## fsl.arpwatch -- OSSP fsl configuration
michael@64 3 ##
michael@64 4
michael@64 5 ident (arpwatch)/.+ q{
michael@64 6 prefix(
michael@64 7 prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
michael@64 8 )
michael@64 9 -> {
michael@64 10 debug: file(
michael@64 11 path="@l_prefix@/var/arpwatch/log/arpwatch.log",
michael@64 12 perm=0644
michael@64 13 )
michael@64 14 }
michael@64 15 };
michael@64 16
michael@64 17 ident (arpsnmp)/.+ q{
michael@64 18 prefix(
michael@64 19 prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
michael@64 20 )
michael@64 21 -> {
michael@64 22 debug: file(
michael@64 23 path="@l_prefix@/var/arpwatch/log/arpsnmp.log",
michael@64 24 perm=0644
michael@64 25 )
michael@64 26 }
michael@64 27 };
michael@64 28

mercurial