|
OpenVAS Scanner 23.23.1
|
#include "../misc/network.h"#include "../misc/plugutils.h"#include "nasl_builtin_plugins.h"#include "nasl_lex_ctxt.h"#include <errno.h>#include <fcntl.h>#include <glib.h>#include <gvm/base/logging.h>#include <gvm/base/prefs.h>#include <netdb.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/resource.h>#include <sys/socket.h>#include <sys/time.h>#include <sys/types.h>#include <unistd.h>#include <limits.h>#include <math.h>Data Structures | |
| struct | grab_socket_t |
Macros | |
| #define | GRAB_MAX_SOCK 1024 |
| #define | GRAB_MIN_SOCK 32 |
| #define | GRAB_MAX_SOCK_SAFE 128 |
| #define | MAX_PASS_NB 16 |
| #define | MAXINT 0x7fffffffL |
| #define | G_LOG_DOMAIN "lib nasl" |
| GLib logging domain. | |
| #define | DIFFTV(t1, t2) |
| #define | DIFFTVu(t1, t2) |
| #define | GRAB_SOCKET_UNUSED 0 |
| #define | GRAB_SOCKET_OPENING 1 |
| #define | GRAB_SOCKET_OPEN 2 |
| #define | GRAB_PORT_UNKNOWN 0 |
| #define | GRAB_PORT_CLOSED 1 |
| #define | GRAB_PORT_OPEN 2 |
| #define | GRAB_PORT_SILENT 3 |
| #define | GRAB_PORT_REJECTED 4 |
| #define | GRAB_PORT_NOT_TESTED 254 |
| #define | GRAB_PORT_TESTING 255 |
| #define | COMPUTE_RTT |
| #define | MAX_SANE_RTT 2000000 /* micro-seconds */ |
Functions | |
| static int | my_socket_close (int s) |
| static int | std_port (int port) |
| static int | double_check_std_ports (unsigned char *ports_states) |
| static int | banner_grab (const struct in6_addr *pia, const char *portrange, const int read_timeout, int min_cnx, int max_cnx, struct script_infos *desc) |
| tree_cell * | plugin_run_openvas_tcp_scanner (lex_ctxt *lexic) |
| #define COMPUTE_RTT |
| #define DIFFTV | ( | t1, | |
| t2 ) |
| #define DIFFTVu | ( | t1, | |
| t2 ) |
| #define G_LOG_DOMAIN "lib nasl" |
GLib logging domain.
| #define GRAB_MAX_SOCK 1024 |
| #define GRAB_MAX_SOCK_SAFE 128 |
| #define GRAB_MIN_SOCK 32 |
| #define GRAB_PORT_CLOSED 1 |
| #define GRAB_PORT_NOT_TESTED 254 |
| #define GRAB_PORT_OPEN 2 |
| #define GRAB_PORT_REJECTED 4 |
| #define GRAB_PORT_SILENT 3 |
| #define GRAB_PORT_TESTING 255 |
| #define GRAB_PORT_UNKNOWN 0 |
| #define GRAB_SOCKET_OPEN 2 |
| #define GRAB_SOCKET_OPENING 1 |
| #define GRAB_SOCKET_UNUSED 0 |
| #define MAX_PASS_NB 16 |
| #define MAX_SANE_RTT 2000000 /* micro-seconds */ |
| #define MAXINT 0x7fffffffL |
|
static |
|
static |
|
static |
|
static |