Commit graph

59 commits

Author SHA1 Message Date
Ludvig Strigeus
e116360538 Add some type casts so it builds on VS2015 with a certain SDK 2018-08-12 13:04:44 +02:00
Ludvig Strigeus
3f1b435b4e Handle packet overload on non-windows
- Also ensure RunAllMainThreadScheduled(); gets called on non-windows
2018-08-12 12:43:53 +02:00
Ludvig Strigeus
cf92ac7a0c Updates for TunSafe 1.4-rc1
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
2018-08-12 03:30:06 +02:00
Ludvig Strigeus
1a7ba8683e Implement GetDefaultRoute on Linux 2018-08-09 14:36:45 +02:00
Ludvig Strigeus
f8bf85219b Split out common code between the multithreaded and singlethreaded bsd impl
Also do not use the multithreaded one by default - too untested.
2018-08-09 01:56:32 +02:00
Ludvig Strigeus
0a1bf5b3b6 Make it print Connection established like on Windows 2018-08-08 23:58:04 +02:00
Ludvig Strigeus
7026ebfe1a Added Makefile 2018-08-08 23:27:58 +02:00
Ludvig Strigeus
f5c69d4eee Fix route adding on FreeBSD 2018-08-08 23:17:02 +02:00
Ludvig Strigeus
64bb3cd6b3 TunSafe open source (Same as 1.3-rc3 version) 2018-08-08 13:53:31 +02:00