Update Redirector

This commit is contained in:
Netch
2021-08-07 06:06:56 +08:00
parent 1380b324f3
commit 4ce1138b6c
17 changed files with 535 additions and 465 deletions

15
Redirector/Based.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include "Based.h"
BOOL filterLoopback = FALSE;
BOOL filterICMP = TRUE;
BOOL filterTCP = TRUE;
BOOL filterUDP = TRUE;
USHORT tcpPort = 0;
USHORT udpPort = 0;
vector<wstring> handleList;
vector<wstring> bypassList;
mutex tcpLock;
mutex udpLock;
map<ENDPOINT_ID, PTCPINFO> tcpContext;
map<ENDPOINT_ID, PUDPINFO> udpContext;