nessus-tool/nessusd.conf

Tue, 29 Mar 2011 20:04:34 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 29 Mar 2011 20:04:34 +0200
changeset 334
4a34d7a82eab
permissions
-rw-r--r--

Rework package yet again, correcting and introducing new buildconf logic:
Conditionally disable bootstrap stage comparison correctly, correct
english grammar, better find system as(1) and ld(1), indotruce detailed
optimization option messages, more completely guess cpu types, allow
profiled bootstrapping without a preinstalled GCC because many other
compilers have long since implemented 64-bit arithmetic, instruct make
to build sequentially (not in sparallel) when building a profiled
bootstrap as GCC online documents recommend, and generally improve
comment blocks.

The single most important correction in this changeset relates to the
GCC changed optimization policy since at least GCC 4.5, in which -march
is always passed and not always correctly guessed. In the case of this
package, allowing GCC to guess the architecture leads to wild build
errors at various subcomponents (zlib, libgcc, libiberty...) and
bootstrap stages. It seems quite platform specific, and the safest
approach to correcting this seems to be explicitly always specifying the
-march argument when bootstrapping GCC. Because the best choice 'native'
is not available when bootstrapping using a foreign (non GCC) compiler,
a guess is made according to rpmmacros l_platform in that case.

It is questionable as to whether these recent optimization changes
on the part of GCC or this package are compatible with each other,
or if either are complete or correct at all. At least applying these
corrections allows this package to build again in most cases test.

michael@102 1 ##
michael@102 2 ## nessusd.conf -- Nessus Daemon Configuration
michael@102 3 ##
michael@102 4
michael@102 5 # paths
michael@102 6 rules = @l_prefix@/etc/nessus/nessusd.rules
michael@102 7 users = @l_prefix@/etc/nessus/nessusd.users
michael@102 8 logfile = @l_prefix@/var/nessus/nessusd.log
michael@102 9 dumpfile = @l_prefix@/var/nessus/nessusd.dump
michael@102 10 cert_file = @l_prefix@/var/nessus/CA/servercert.pem
michael@102 11 key_file = @l_prefix@/var/nessus/CA/serverkey.pem
michael@102 12 ca_file = @l_prefix@/var/nessus/CA/cacert.pem
michael@102 13 plugins_folder = @l_prefix@/lib/nessus/plugins
michael@102 14
michael@102 15 # options
michael@102 16 max_hosts = 30
michael@102 17 max_checks = 10
michael@102 18 max_threads = 15
michael@102 19 be_nice = yes
michael@102 20 log_whole_attack = yes
michael@102 21 log_plugins_name_at_load = no
michael@102 22 cgi_path = /cgi-bin:/scripts
michael@102 23 port_range = default
michael@102 24 optimize_test = yes
michael@102 25 checks_read_timeout = 5
michael@102 26 non_simult_ports = 139, 445
michael@102 27 plugins_timeout = 320
michael@102 28 safe_checks = yes
michael@102 29 auto_enable_dependencies = yes
michael@102 30 use_mac_addr = no
michael@102 31 plugin_upload = no
michael@102 32 plugin_upload_suffixes = .nasl, .inc
michael@102 33 admin_user = root
michael@102 34 language = english
michael@102 35 slice_network_addresses = no
michael@102 36 #pem_password = password
michael@102 37 #force_pubkey_auth = yes
michael@102 38

mercurial