Route client traffic to the loopback service
Build the socket library and client-local port configuration for redirecting traffic to the offline service. Accept HTTPS and the existing matching and HTTP protocols on the same port. Route requests by the original host.
This commit is contained in:
1 parent
ae6958f291
commit
afb22c4f08
35 files changed
+3897
-23
No files matched your search
@@ -0,0 +1,11 @@
|
||||
/* Hooks on the system's ws2_32.dll exports. */
|
||||
#pragma once
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
||||
/* Hook one export of the system's ws2_32.dll; *original receives the trampoline. Returns 1 on success. */
|
||||
int hook_export(const char *name, void *replacement, void **original);
|
||||
|
||||
int install_resolver_hooks(void);
|
||||
int install_connection_hooks(void);
|
||||
Reference in new issue
Block a user