Commit graph

90 commits

Author SHA1 Message Date
Ludvig Strigeus
d5ab432941 Add version number to handshake extension header 2018-12-16 23:02:13 +01:00
Ludvig Strigeus
567cace5f8 Handle EINTR to select() 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
48b2604064 Add DPRINTF 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
983af5cf3e Cleanup packet statistics 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
27b75b83de Lots of new features
- Hybrid TCP mode, uses both TCP and UDP
 - Simplified TCP protocol
 - Modified obfuscator to support padding
 - Obfuscation over TCP
 - Refactor parts of Win32 code to be more similar to BSD
2018-12-16 21:47:26 +01:00
Ludvig Strigeus
f7b09c43fd Allow TOTP to be turned on/off 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
008dc6c785 Vary keepalive timeout when obfuscation is active 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
7736cc700f Add StealFd 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
a4361e24e2 Skip asm on arm64 android 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
60366386ca Some small style fixes 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
6e09191bf5 Move out UDP obfuscator to a separate class 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
6a55ec778b Initialize variable to NULL 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
ed9081aa15 tunsafe_config.h 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
6747f8f887 bump SDK 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
583b01847d Remove in_addr_t type 2018-12-16 21:47:26 +01:00
Ludvig Strigeus
aec9415e44 Add chacha20_streaming_init api for use by tcp obfuscator 2018-12-16 21:28:23 +01:00
Ludvig Strigeus
13158f9d90 Add more extension points in wireguard code 2018-12-16 21:28:23 +01:00
Ludvig Strigeus
b1ffd5738e Make tunsafe_endian.h better 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
aa22daeeb2 ParseWireGuardConfigString is now const char * 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
59650dcd55 Add WG_EXTENSION_HOOKS so internal behavior can be customized easier 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
23b4e819ad WgPeerExtraData now uses OnDestroy so lifetime can be controlled 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
d04afa1cdb Add another packet processing API that doesn't forward 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
1e414a700e Two Factor Authentication (with TOTP) 2018-12-16 16:28:41 +01:00
Ludvig Strigeus
d18d90317a Add comments to MultithreadedDelayedDelete 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
936f61d05b Added ForceSendHandshakeInitiation 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
e08a078588 Add GetClipboardString() 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
402358e5a0 Add hooks into more parts of the wg code 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
0c0e6e1398 New endpoint is already set in WgPeer::ParseMessageHandshakeResponse 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
a03980e74b Experimental support for WireGuard over TCP 2018-12-16 15:55:40 +01:00
Ludvig Strigeus
9a8acb7091 Allow debug build in build_linux 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
852b0c5373 Remove CopyEndpointToPeer_Locked 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
b52d8f3d70 Change types in a hashtable to allow template reuse 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
4d3c9d6643 Enable DNS block only if the DNS addr is a part of the routes 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
d97b6b178e Make precompiled headers faster 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
09fa28ea4d Display packet loss 2018-11-17 19:33:08 +01:00
Ludvig Strigeus
5c29201cd8 Move CompareIpAddr 2018-11-17 19:33:07 +01:00
Ludvig Strigeus
251b565bdb Don't add Excluded routes when Table=off 2018-11-17 19:33:07 +01:00
Ludvig Strigeus
4b9fa05b5c In BSD network code, don't add a route that's a subset of an Address 2018-11-17 19:33:07 +01:00
Ludvig Strigeus
57642ca653 Remove ipzip stubs 2018-11-17 19:13:26 +01:00
Ludvig Strigeus
3ae15bcff5 Don't add endpoint route if route is not in included_routes 2018-11-17 19:13:26 +01:00
Ludvig Strigeus
2a73a27e68 Forget endpoint for incoming connections after a little while 2018-11-17 19:13:26 +01:00
Ludvig Strigeus
ddb48a5aff Add endpoint_protocol field 2018-11-17 19:13:25 +01:00
Ludvig Strigeus
7b6ebc0ed8 Remove post_target 2018-10-30 02:26:37 +01:00
Ludvig Strigeus
3228a73d00 Split up UDP processing code into more functions 2018-10-30 01:39:59 +01:00
Ludvig Strigeus
680256ab7a Expose endpoint() field 2018-10-30 00:31:15 +01:00
Ludvig Strigeus
a7776ab7c4 Simplify tun configuration 2018-10-23 22:04:42 +02:00
Ludvig Strigeus
335133fa8f Don't show empty directories in the server list. 2018-10-22 00:29:08 +02:00
Ludvig Strigeus
29473fe75a Bundle TAP installer with main installer instead of downloading 2018-10-21 23:56:30 +02:00
Ludvig Strigeus
7afef3865f Show error if tun queue grows too large.
This happens because the TAP NDIS6 driver is buggy on Windows 7.
2018-10-21 23:56:30 +02:00
Ludvig Strigeus
bdcf04ec93 Disable ansi colors if terminal emulator doesn't support it 2018-10-21 23:56:30 +02:00