OpenVAS Libraries
9.0.3
|
#include "arglists.h"
Go to the source code of this file.
Macros | |
#define | OPENVAS_CNX_IDS_EVASION_SPLIT 1L /* Try to evade NIDS by spliting sends */ |
#define | OPENVAS_CNX_IDS_EVASION_INJECT 2L /* Split + insert garbage */ |
#define | OPENVAS_CNX_IDS_EVASION_SHORT_TTL 4L /* Split + too short ttl for garbage */ |
#define | OPENVAS_CNX_IDS_EVASION_FAKE_RST 8L /* Send a fake RST from our end after each established connection */ |
#define | OPENVAS_CNX_IDS_EVASION_SEND_MASK (OPENVAS_CNX_IDS_EVASION_SPLIT|OPENVAS_CNX_IDS_EVASION_INJECT|OPENVAS_CNX_IDS_EVASION_SHORT_TTL) |
Functions | |
int | ids_send (int, void *, int, int) |
int | ids_open_sock_tcp (struct arglist *, int, int, int) |
#define OPENVAS_CNX_IDS_EVASION_FAKE_RST 8L /* Send a fake RST from our end after each established connection */ |
Definition at line 48 of file ids_send.h.
#define OPENVAS_CNX_IDS_EVASION_INJECT 2L /* Split + insert garbage */ |
Definition at line 46 of file ids_send.h.
#define OPENVAS_CNX_IDS_EVASION_SEND_MASK (OPENVAS_CNX_IDS_EVASION_SPLIT|OPENVAS_CNX_IDS_EVASION_INJECT|OPENVAS_CNX_IDS_EVASION_SHORT_TTL) |
Definition at line 50 of file ids_send.h.
#define OPENVAS_CNX_IDS_EVASION_SHORT_TTL 4L /* Split + too short ttl for garbage */ |
Definition at line 47 of file ids_send.h.
#define OPENVAS_CNX_IDS_EVASION_SPLIT 1L /* Try to evade NIDS by spliting sends */ |
Definition at line 45 of file ids_send.h.
int ids_open_sock_tcp | ( | struct arglist * | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 688 of file ids_send.c.
References bpf_datalink(), bpf_next(), bpf_open_live(), get_datalink_size(), log_legacy_write(), open_sock_tcp(), plug_get_host_ip(), routethrough(), and v6_routethrough().
int ids_send | ( | int | , |
void * | , | ||
int | , | ||
int | |||
) |
Definition at line 524 of file ids_send.c.
References bpf_datalink(), bpf_next(), bpf_open_live(), get_datalink_size(), sockaddr_u::in, sockaddr_u::in6, routethrough(), sockaddr_u::sockaddr, and v6_routethrough().