Source code of the TunSafe client
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Tests Add a test for ip_to_peer_map Oct 21, 2018
crypto Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
docs Experimental support for WireGuard over TCP Nov 17, 2018
icons TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
installer Don't show empty directories in the server list. Oct 21, 2018
third_party/flat_hash_map Use siphash on some non-critical hashtables just in case Oct 21, 2018
.gitignore Support multiple interfaces and the 'ts' command line tool Oct 21, 2018
LICENSE.AGPL.TXT TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
Makefile Added Makefile Aug 8, 2018
README.md TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
TunSafe.conf Updates for TunSafe 1.4-rc1 Aug 12, 2018
TunSafe.rc Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
TunSafe.sln Add a test for ip_to_peer_map Oct 21, 2018
TunSafe.vcxproj Experimental support for WireGuard over TCP Nov 17, 2018
TunSafe.vcxproj.filters Experimental support for WireGuard over TCP Nov 17, 2018
benchmark.cpp Updates for TunSafe 1.4-rc1 Aug 12, 2018
bit_ops.h TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
build.py ts.exe is named TunSafe.com Oct 21, 2018
build_config.h Changes for Iphone Oct 21, 2018
build_freebsd.sh Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
build_linux.sh Allow debug build in build_linux Nov 17, 2018
build_linux_rpi.sh Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
build_osx.sh Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
crypto_ops.h Updates for TunSafe 1.4-rc1 Aug 12, 2018
downarrow.bmp Updates for TunSafe 1.4-rc1 Aug 12, 2018
ip_to_peer_map.cpp Simplify tun configuration Oct 23, 2018
ip_to_peer_map.h Simplify tun configuration Oct 23, 2018
netapi.h Experimental support for WireGuard over TCP Nov 17, 2018
network_bsd.cpp Experimental support for WireGuard over TCP Nov 17, 2018
network_bsd.h Experimental support for WireGuard over TCP Nov 17, 2018
network_bsd_mt.cpp Handle packet overload on non-windows Aug 12, 2018
network_common.cpp Experimental support for WireGuard over TCP Nov 17, 2018
network_common.h Experimental support for WireGuard over TCP Nov 17, 2018
network_win32.cpp Experimental support for WireGuard over TCP Nov 17, 2018
network_win32.h Experimental support for WireGuard over TCP Nov 17, 2018
network_win32_api.h Experimental support for WireGuard over TCP Nov 17, 2018
network_win32_dnsblock.cpp Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
network_win32_dnsblock.h Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
network_win32_tcp.cpp Experimental support for WireGuard over TCP Nov 17, 2018
network_win32_tcp.h Experimental support for WireGuard over TCP Nov 17, 2018
readme_osx.txt TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
resource.h Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
service_pipe_win32.cpp Support multiple interfaces and the 'ts' command line tool Oct 21, 2018
service_pipe_win32.h Support multiple interfaces and the 'ts' command line tool Oct 21, 2018
service_win32.cpp Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
service_win32.h Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
service_win32_api.h Updates for TunSafe 1.4-rc1 Aug 12, 2018
service_win32_constants.h Improve killswitch behavior on Win32. Now there exists a button for it. Oct 21, 2018
stdafx.cpp TunSafe open source (Same as 1.3-rc3 version) Aug 8, 2018
stdafx.h Make precompiled headers faster Nov 17, 2018
ts.cpp Disable ansi colors if terminal emulator doesn't support it Oct 21, 2018
ts.vcxproj Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
ts.vcxproj.filters Add ARM64 asm code, and rearranged asm code filenames Oct 21, 2018
tunsafe_amalgam.cpp Experimental support for WireGuard over TCP Nov 17, 2018
tunsafe_bsd.cpp Experimental support for WireGuard over TCP Nov 17, 2018
tunsafe_bsd.h Experimental support for WireGuard over TCP Nov 17, 2018
tunsafe_config.h Show patch nr in about box Oct 21, 2018
tunsafe_cpu.cpp Updates for TunSafe 1.4-rc1 Aug 12, 2018
tunsafe_cpu.h Updates for TunSafe 1.4-rc1 Aug 12, 2018
tunsafe_dnsresolve.h Allow dns request to be reattempted right away Oct 21, 2018
tunsafe_endian.h Updates for TunSafe 1.4-rc1 Aug 12, 2018
tunsafe_ipaddr.cpp Move CompareIpAddr Nov 17, 2018
tunsafe_ipaddr.h Move CompareIpAddr Nov 17, 2018
tunsafe_threading.cpp Background thread for DNS resolve Oct 21, 2018
tunsafe_threading.h Background thread for DNS resolve Oct 21, 2018
tunsafe_types.h Updates for TunSafe 1.4-rc1 Aug 12, 2018
tunsafe_win32.cpp Display packet loss Nov 17, 2018
util.cpp Pass flag to logger if it's error Oct 21, 2018
util.h Pass flag to logger if it's error Oct 21, 2018
util_win32.cpp Support multiple interfaces and the 'ts' command line tool Oct 21, 2018
util_win32.h Support multiple interfaces and the 'ts' command line tool Oct 21, 2018
wireguard.cpp Experimental support for WireGuard over TCP Nov 17, 2018
wireguard.h Experimental support for WireGuard over TCP Nov 17, 2018
wireguard_config.cpp Experimental support for WireGuard over TCP Nov 17, 2018
wireguard_config.h Split out ipaddr stuff into a separate file Oct 21, 2018
wireguard_proto.cpp Change types in a hashtable to allow template reuse Nov 17, 2018
wireguard_proto.h Remove CopyEndpointToPeer_Locked Nov 17, 2018

README.md

TunSafe

Source code of the TunSafe client.

This open sourced TunSafe code is AGPL-1.0 licensed. Do note that the repository contains BSD and OpenSSL licensed files, so if you want to release a version based off of this repository you need to take that into account.

To build on Windows, open TunSafe.sln and build, or run build.py.

To build on Linux, run build_linux.sh

To build on FreeBSD, run build_freebsd.sh