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.

     1 ##
     2 ##  nessusd.rules -- Nessus Daemon Scanning Rules
     3 ##
     5 accept 127.0.0.0/8
     6 accept client_ip/32
     7 #reject 192.168.1.1/32
     8 #reject !192.168.0.0/16
     9 default reject
    10 #default accept

mercurial