Commit graph

89 commits

Author SHA1 Message Date
Ludvig Strigeus
358c79a918 Improve killswitch behavior on Win32. Now there exists a button for it. 2018-10-21 23:56:29 +02:00
Ludvig Strigeus
6dd3dcd8d5 Prevent infinite loop if service is running from wrong path 2018-10-21 23:56:29 +02:00
Ludvig Strigeus
ac9930e270 IPv6 endpoint was printed incorrectly on the Advanced tab 2018-10-21 23:56:29 +02:00
Ludvig Strigeus
15f5c2e0d4 Show patch nr in about box 2018-10-21 23:56:29 +02:00
Ludvig Strigeus
b975eb30e1 ts.exe is named TunSafe.com 2018-10-21 23:56:29 +02:00
Ludvig Strigeus
7b5e1b9717 Pass flag to logger if it's error 2018-10-21 16:58:30 +02:00
Ludvig Strigeus
0fa4ab3fc8 Allow dns request to be reattempted right away 2018-10-21 16:58:30 +02:00
Ludvig Strigeus
3c1647f72f Split out ipaddr stuff into a separate file 2018-10-21 16:58:29 +02:00
Ludvig Strigeus
f2c1643635 Add ARM64 asm code, and rearranged asm code filenames 2018-10-21 16:54:19 +02:00
Ludvig Strigeus
a05e3644b6 Changes for Iphone 2018-10-21 16:54:18 +02:00
Ludvig Strigeus
fac3246d99 Change return value of GetStats to a reference 2018-10-21 16:54:18 +02:00
Ludvig Strigeus
e65f05d29a Use siphash on some non-critical hashtables just in case 2018-10-21 16:54:18 +02:00
Ludvig Strigeus
22b24a81d9 Add a test for ip_to_peer_map 2018-10-21 16:54:18 +02:00
Ludvig Strigeus
83183b2193 Background thread for DNS resolve 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
c08b18c028 Move Os* functions to util.cpp 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
c53773a914 Load installer sign keys from outside of repo 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
121ca4c398 Fix a memory leak where the result from GetGraph wasn't freed 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
708f63c120 win32: Print other message if route already exists 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
6d916e9aaa Support multiple interfaces and the 'ts' command line tool 2018-10-21 16:54:17 +02:00
Ludvig Strigeus
7b7fb6126b Optimize IpToPeerMap with a trie 2018-10-08 00:29:46 +02:00
Ludvig Strigeus
1328d98ad2 Update changelog 2018-10-08 00:00:26 +02:00
Ludvig Strigeus
437c90b6bf Change Kill Switch behavior 2018-10-08 00:00:26 +02:00
Ludvig Strigeus
e499a3d4f7 Update service code to use a state machine instead of blocking 2018-10-08 00:00:26 +02:00
Ludvig Strigeus
64078ee051 Missing ; and wrong name in threading lock macros 2018-10-08 00:00:25 +02:00
Ludvig Strigeus
ad465d6703 Add WgDevice::Delegate to add peers on demand 2018-10-08 00:00:25 +02:00
Ludvig Strigeus
de6e187db9 Allow multiple DNS servers 2018-09-10 23:46:49 +02:00
Ludvig Strigeus
0cea6c2960 Add more type casts so it builds on VS2015 with a certain SDK 2018-09-10 23:44:47 +02:00
Ludvig Strigeus
f5072ac340 Show a couple of more error strings when failing to edit registry. 2018-09-10 23:42:21 +02:00
Ludvig Strigeus
b0d322dfbd Enable persistent keepalive timer on sent handshakes 2018-09-10 23:42:13 +02:00
Ludvig Strigeus
99b6e2622c Allow # comments in config file 2018-09-10 23:42:04 +02:00
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