cf92ac7a0c
1.Subfolders in the Config/ directory now show up as submenus. 2.Added a way to run TunSafe as a Windows Service. Foreground Mode: The service will disconnect when TunSafe closes. Background Mode: The service will stay connected in the background. No longer required to run the TunSafe client as Admin as long as the service is running. 3.New config setting [Interface].ExcludedIPs to configure IPs that should not be routed through TunSafe. 4.Can now automatically start TunSafe when Windows starts 5.New UI with tabs and graphs 6.Cache DNS queries to ensure DNS will succeed if connection fails 7.Recreate tray icon when explorer.exe restarts 8.Renamed window title to TunSafe instead of TunSafe VPN Client 9.Main window is now resizable 10.Disallow roaming endpoint when using AllowedIPs=0.0.0.0/0 Only the original endpoint is added in the routing table so this would result in an endless loop of packets. 11.Display approximate Wireguard framing overhead in stats 12.Preparations for protocol handling with multiple threads 13.Delete the routes we made when disconnecting 14.Fix error message about unable to delete a route when connecting
36 lines
647 B
C
36 lines
647 B
C
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#define WINVER 0x0A00
|
|
#define _WIN32_WINNT _WIN32_WINNT_VISTA
|
|
#define NTDDI_VERSION NTDDI_VISTA
|
|
|
|
#include "build_config.h"
|
|
|
|
#if defined(OS_WIN)
|
|
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1
|
|
//#include <Winsock2.h>
|
|
#include <Ws2tcpip.h>
|
|
|
|
#include <Windows.h>
|
|
//#include <winsock2.h>
|
|
#include <ws2ipdef.h>
|
|
#include <iphlpapi.h>
|
|
#include <mstcpip.h>
|
|
#include <Windowsx.h>
|
|
|
|
#include <tchar.h>
|
|
#else
|
|
#define override
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
#include <stddef.h>
|
|
|
|
#undef min
|
|
|