diff --git a/CHANGELOG.md b/CHANGELOG.md index 82b835c35..f5164df4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add support for new OSP element for defining alive test methods via separate subelements. [#409](https://github.com/greenbone/gvm-libs/pull/409) - Add v3 handling to get_cvss_score_from_base_metrics [#411](https://github.com/greenbone/gvm-libs/pull/411) - Add severity_date tag in epoch time format. [#412](https://github.com/greenbone/gvm-libs/pull/412) +- Make more scanner preferences available to openvas-nasl. [#413](https://github.com/greenbone/gvm-libs/pull/413) ### Changed - Add separators for a new (ip address) field in ERRMSG and DEADHOST messages. [#376](https://github.com/greenbone/gvm-libs/pull/376) diff --git a/base/prefs.c b/base/prefs.c index ef26a911a..29ef77591 100644 --- a/base/prefs.c +++ b/base/prefs.c @@ -60,6 +60,20 @@ prefs_init (void) prefs_set ("open_sock_max_attempts", "5"); prefs_set ("time_between_request", "0"); prefs_set ("nasl_no_signature_check", "yes"); + prefs_set ("max_hosts", "30"); + prefs_set ("max_checks", "10"); + prefs_set ("log_whole_attack", "no"); + prefs_set ("log_plugins_name_at_load", "no"); + prefs_set ("optimize_test", "yes"); + prefs_set ("non_simult_ports", "139, 445, 3389, Services/irc"); + prefs_set ("safe_checks", "yes"); + prefs_set ("auto_enable_dependencies", "yes"); + prefs_set ("drop_privileges", "no"); + prefs_set ("report_host_details", "yes"); + prefs_set ("vendor_version", "\0"); + prefs_set ("test_alive_hosts_only", "no"); + prefs_set ("debug_tls", "0"); + prefs_set ("allow_simult_ips_same_host", "yes"); } /**