nessus-tool/nessusd.rules

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

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