-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop network scan #493
Drop network scan #493
Commits on May 6, 2020
-
This disables the network scan mode. Neither activating in openvas.conf nor via the scan configuration will be possible anymore.
Configuration menu - View commit details
-
Copy full SHA for fb042c5 - Browse repository at this point
Copy the full SHA fb042c5View commit details -
Remove do_network_scan code paths
do_network_scan is always false. So, remove and code path that requires it to be true and finally remove this variable itself.
Configuration menu - View commit details
-
Copy full SHA for fb3f66d - Browse repository at this point
Copy the full SHA fb3f66dView commit details -
Remove code paths for network_phase.
The variable network_phase is always FALSE. So, removing any code path that requires the variable to be true and finally remove the variable itself.
Configuration menu - View commit details
-
Copy full SHA for 0a16345 - Browse repository at this point
Copy the full SHA 0a16345View commit details -
This change only fixes intending format from previous commit.
Configuration menu - View commit details
-
Copy full SHA for 8a5a277 - Browse repository at this point
Copy the full SHA 8a5a277View commit details -
Drop unused parameter of plugins_scheduler_init()
The parameter "only_network" is always false. So, drop the respective code path from function plugins_scheduler_init() and finally the parameter itself.
Configuration menu - View commit details
-
Copy full SHA for fba7d72 - Browse repository at this point
Copy the full SHA fba7d72View commit details -
Drop code paths for nss = "busy"
The network scan status is never set to "busy", so the respective code paths can be removed. This includes the removal of function network_scan_status().
Configuration menu - View commit details
-
Copy full SHA for cd6b6fd - Browse repository at this point
Copy the full SHA cd6b6fdView commit details -
NSS_BUSY is never set, so removing the code paths for it and finally any occurance of it.
Configuration menu - View commit details
-
Copy full SHA for 020271c - Browse repository at this point
Copy the full SHA 020271cView commit details -
NSS_DONE is never the case, so remove any code path for this case and finally NSS_DONE itself.
Configuration menu - View commit details
-
Copy full SHA for 373f4a8 - Browse repository at this point
Copy the full SHA 373f4a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd3a63 - Browse repository at this point
Copy the full SHA bdd3a63View commit details -
NSS_NONE is not explicitly used anymore, so removing the code paths. This finally also allows to remove the then unused enum type net_scan_status.
Configuration menu - View commit details
-
Copy full SHA for dce5d39 - Browse repository at this point
Copy the full SHA dce5d39View commit details -
Remove code path for network_scan.
The variable network_scan is always false. So, remove the code paths and finally the variable itself.
Configuration menu - View commit details
-
Copy full SHA for 6a19609 - Browse repository at this point
Copy the full SHA 6a19609View commit details -
No need to set default for network_scan
Because it is not used anymore.
Configuration menu - View commit details
-
Copy full SHA for 0f57734 - Browse repository at this point
Copy the full SHA 0f57734View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51616c1 - Browse repository at this point
Copy the full SHA 51616c1View commit details -
Resolve handle_client() into scanner_thread()
After the removal of net_kb, handle_client() consists only of a few lines and is called only from a single place.
Configuration menu - View commit details
-
Copy full SHA for eb01d9e - Browse repository at this point
Copy the full SHA eb01d9eView commit details -
This module was only supporting the network scan mode and thus can be removed entirely now. The NASL API method "plugin_run_nmap" is used only in a single NASL file in the feed for network mode to run NSE and it is even protected by "defined_func".
Configuration menu - View commit details
-
Copy full SHA for b65d830 - Browse repository at this point
Copy the full SHA b65d830View commit details -
Remove any code path about network_targets
Since it is not used anymore, it can be removed entirely. The NASL API function "network_targets" is used only by a single NVT and only for the condition of network scan phase which is never true.
Configuration menu - View commit details
-
Copy full SHA for 622ce8e - Browse repository at this point
Copy the full SHA 622ce8eView commit details -
Remove any code path about scan_phase.
The NASL API function scan_phase() is not needed anymore and any related code is removed.
Configuration menu - View commit details
-
Copy full SHA for d367454 - Browse repository at this point
Copy the full SHA d367454View commit details -
Remove global network_scan_status variable.
It is not needed/used anymore.
Configuration menu - View commit details
-
Copy full SHA for 12fc100 - Browse repository at this point
Copy the full SHA 12fc100View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b55bd9 - Browse repository at this point
Copy the full SHA 5b55bd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f84b41f - Browse repository at this point
Copy the full SHA f84b41fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c467fae - Browse repository at this point
Copy the full SHA c467faeView commit details