mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-22 01:55:19 +01:00
parent
78ae517871
commit
e9ac13bcda
@ -133,18 +133,20 @@ WINSOCK_API_LINKAGE INT WSAAPI inet_pton(INT Family, LPCSTR pStringBuf, PVOID pA
|
|||||||
func(w_filter, &addr, packet, packetLen, packet_v6, \
|
func(w_filter, &addr, packet, packetLen, packet_v6, \
|
||||||
ttl_of_fake_packet, do_wrong_chksum, do_wrong_seq); \
|
ttl_of_fake_packet, do_wrong_chksum, do_wrong_seq); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
enum ERROR_CODE{
|
enum ERROR_CODE{
|
||||||
ERROR_DEFAULT = 1,
|
ERROR_DEFAULT = 1,
|
||||||
ERROR_PORT_BOUNDS=ERROR_DEFAULT+1,
|
ERROR_PORT_BOUNDS,
|
||||||
ERROR_DNS_V4_ADDR=ERROR_DEFAULT+2,
|
ERROR_DNS_V4_ADDR,
|
||||||
ERROR_DNS_V6_ADDR=ERROR_DEFAULT+3,
|
ERROR_DNS_V6_ADDR,
|
||||||
ERROR_DNS_V4_PORT=ERROR_DEFAULT+4,
|
ERROR_DNS_V4_PORT,
|
||||||
ERROR_DNS_V6_PORT=ERROR_DEFAULT+5,
|
ERROR_DNS_V6_PORT,
|
||||||
ERROR_BLACKLIST_LOAD=ERROR_DEFAULT+6,
|
ERROR_BLACKLIST_LOAD,
|
||||||
ERROR_AUTOTTL=ERROR_DEFAULT+7,
|
ERROR_AUTOTTL,
|
||||||
ERROR_ATOUSI=ERROR_DEFAULT+8,
|
ERROR_ATOUSI,
|
||||||
ERROR_AUTOB=ERROR_DEFAULT+9
|
ERROR_AUTOB
|
||||||
};
|
};
|
||||||
|
|
||||||
static int running_from_service = 0;
|
static int running_from_service = 0;
|
||||||
static int exiting = 0;
|
static int exiting = 0;
|
||||||
static HANDLE filters[MAX_FILTERS];
|
static HANDLE filters[MAX_FILTERS];
|
||||||
|
Loading…
Reference in New Issue
Block a user