Skip to content

Commit

Permalink
Merge pull request #493 from janowagner/drop_network_scan
Browse files Browse the repository at this point in the history
Drop network scan
  • Loading branch information
jjnicola authored May 7, 2020
2 parents 14faf0f + c467fae commit 335f7fb
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 2,480 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Clean the new kb when the scan was stopped and the host has not been started. [#494](https://github.com/greenbone/openvas/pull/494)
- Prevent child deadlock. [#491](https://github.com/greenbone/openvas/pull/491)

### Removed
- Removed "network scan" mode. This includes removal of NASL API methods "scan_phase()" and "network_targets()". Sending a "network_mode=yes" in a scanner configuration will have no effect anymore. [#493](https://github.com/greenbone/openvas/pull/493)

[Unreleased]: https://github.com/greenbone/openvas/compare/openvas-7.0...master

## [7.0.1] (unreleased)
Expand Down
1 change: 0 additions & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ nasl/nasl-lint.c: GPL-2+
nasl/nasl.c: GPL-2
nasl/nasl.h: GPL-2
nasl/nasl_builtin_find_service.c: GPL-2
nasl/nasl_builtin_nmap.c: GPL-2+
nasl/nasl_builtin_openvas_tcp_scanner.c: GPL-2
nasl/nasl_builtin_plugins.h: GPL-2+
nasl/nasl_builtin_synscan.c: GPL-2
Expand Down
2 changes: 0 additions & 2 deletions doc/redis_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ be calculated using the following formula:
#DB = 1 + (#of parallel tasks) * (#of parallel hosts)
```

When using network scan, add one slot for the network DB.

The desired/needed value should be set to redis.conf, as a `databases`
directive.

Expand Down
4 changes: 1 addition & 3 deletions misc/scanneraux.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2009-2019 Greenbone Networks GmbH
/* Copyright (C) 2009-2020 Greenbone Networks GmbH
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
Expand Down Expand Up @@ -31,8 +31,6 @@

struct scan_globals
{
char *network_targets;
char *network_scan_status;
GHashTable *files_translation;
GHashTable *files_size_translation;
char *scan_id;
Expand Down
4 changes: 2 additions & 2 deletions nasl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2009-2019 Greenbone Networks GmbH
# Copyright (C) 2009-2020 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
Expand Down Expand Up @@ -159,7 +159,7 @@ endif (NOT BISON_FOUND)

set (FILES arc4.c capture_packet.c charcnv.c exec.c genrand.c hmacmd5.c
iconv.c lint.c md4.c md5.c nasl.c nasl_builtin_find_service.c
nasl_builtin_openvas_tcp_scanner.c nasl_builtin_synscan.c nasl_builtin_nmap.c
nasl_builtin_openvas_tcp_scanner.c nasl_builtin_synscan.c
nasl_cmd_exec.c nasl_crypto2.c nasl_snmp.c nasl_ssh.c nasl_cert.c
nasl_crypto.c nasl_debug.c nasl_func.c nasl_grammar.tab.c nasl_host.c
nasl_http.c nasl_init.c nasl_lex_ctxt.c nasl_misc_funcs.c nasl_scanner_glue.c
Expand Down
Loading

0 comments on commit 335f7fb

Please sign in to comment.