OpenVAS Scanner
5.1.3
|
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <netdb.h>
#include <sys/wait.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <pwd.h>
#include <grp.h>
#include <openvas/misc/openvas_proctitle.h>
#include <openvas/misc/openvas_logging.h>
#include <openvas/base/pidfile.h>
#include <openvas/base/nvticache.h>
#include <openvas/base/kb.h>
#include <openvas/base/gpgme_util.h>
#include <openvas/misc/prefs.h>
#include <openvas/misc/vendorversion.h>
#include <gcrypt.h>
#include "comm.h"
#include "attack.h"
#include "sighand.h"
#include "log.h"
#include "processes.h"
#include "ntp.h"
#include "utils.h"
#include "pluginlaunch.h"
#include <openvas/misc/network.h>
Go to the source code of this file.
Data Structures | |
struct | openvassd_option |
Functions | |
void | loading_handler_stop (pid_t handler_pid) |
void | check_kb_status () |
Check if Redis Server is up and if the KB exists. If KB does not exist,force a reload and stop all the running scans. More... | |
int | main (int argc, char *argv[]) |
openvassd. More... | |
Variables | |
int | global_max_hosts = 15 |
int | global_max_checks = 10 |
gchar * | unix_socket_path = NULL |
OpenVAS Scanner main module, runs the scanner.
Definition in file openvassd.c.
void check_kb_status | ( | ) |
Check if Redis Server is up and if the KB exists. If KB does not exist,force a reload and stop all the running scans.
Definition at line 570 of file openvassd.c.
References log_write().
void loading_handler_stop | ( | pid_t | handler_pid | ) |
Definition at line 343 of file openvassd.c.
References destroy_loading_shm(), and terminate_process().
int main | ( | int | argc, |
char * | argv[] | ||
) |
openvassd.
argc | Argument count. |
argv | Argument vector. |
Definition at line 874 of file openvassd.c.
int global_max_checks = 10 |
Definition at line 87 of file openvassd.c.
Referenced by get_max_checks_number().
int global_max_hosts = 15 |
Globals that should not be touched (used in utils module).
Definition at line 86 of file openvassd.c.
Referenced by get_max_hosts_number().
gchar* unix_socket_path = NULL |
Definition at line 139 of file openvassd.c.