nessus-tool/nessusd.rules

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@102 1 ##
michael@102 2 ## nessusd.rules -- Nessus Daemon Scanning Rules
michael@102 3 ##
michael@102 4
michael@102 5 accept 127.0.0.0/8
michael@102 6 accept client_ip/32
michael@102 7 #reject 192.168.1.1/32
michael@102 8 #reject !192.168.0.0/16
michael@102 9 default reject
michael@102 10 #default accept
michael@102 11

mercurial