Commit Graph

32 Commits

Author SHA1 Message Date
Jason A. Donenfeld 971e9404ec More proper way to get sdk root directory 2018-12-17 00:23:11 +01:00
Jason A. Donenfeld 16c6982028 Further generalize makefile
This should allow us to eventually build on macOS
2018-12-16 03:51:43 +01:00
Jason A. Donenfeld bca72bea47 Bump the go runtime 2018-12-16 01:55:04 +01:00
Jason A. Donenfeld 3a4d043624 Bump the go runtime 2018-12-15 06:14:05 +01:00
Jason A. Donenfeld 440073ad9a Supply missing pieces of path change 2018-12-12 01:11:43 +01:00
Jason A. Donenfeld 545eae8d95 Revert pure-go network monitoring and add wgSetConfig
This reverts commit 99f0e457c3 and adds a
function too.
2018-12-11 22:25:54 +01:00
Jason A. Donenfeld 99f0e457c3 wireguard-go-bridge: account for network changes
Everytime the network changes, we need to recreate the UDP socket,
because the ephemeral listen port is tied to the old physical interface.
As well, we need to re-set the IP addresses for each endpoint, so that
they're passed to getaddrinfo and are then resolved using DNS46.
2018-12-07 21:50:19 +01:00
Jason A. Donenfeld 040f0a25ea wireguard-go-bridge: take fd instead of fnptr 2018-11-06 16:27:25 +01:00
Jason A. Donenfeld bf6b2b6cb1 wireguard-go-bridge: work around DWARF generation issue
Golang bug 25148 upstream.
2018-11-05 04:47:11 +01:00
Jason A. Donenfeld ab14c0070c wireguard-go-bridge: xcode expects install target 2018-11-04 03:56:15 +01:00
Jason A. Donenfeld 2584f48808 wireguard-go-bridge: use boottime instead of monotonic 2018-11-01 23:39:06 +01:00
Jason A. Donenfeld d75a89c09a wireguard-go-bridge: extract version for consumption by network extension 2018-10-31 04:08:13 +01:00
Jason A. Donenfeld 003286aee0 wireguard-go-bridge: simplify logging and remove tags 2018-10-31 03:22:22 +01:00
Jason A. Donenfeld 8e98da9e50 wireguard-go-bridge: handle errors in makefile 2018-10-31 02:49:59 +01:00
Jason A. Donenfeld ded8ec065e Allow customizing MTU 2018-10-27 01:03:28 +02:00
Jason A. Donenfeld aed643ff7e bridge: go get requires arch paths
So we move it into the build phase. This makes sense, since ostensibly
different archs might have different required modules.
2018-10-26 22:40:07 +02:00
Jason A. Donenfeld d75d7cc8f5 Use go modules 2018-10-09 19:51:53 +02:00
Jason A. Donenfeld 9d01829a98 Rewrite bridge build system 2018-10-02 19:15:03 +02:00
Jeroen Leenarts 43787b996d Add missing file and fix hard path. 2018-09-27 07:57:42 +02:00
Jeroen Leenarts a3cdb8434a Xcode build wireguard go bridge. 2018-09-26 20:34:09 +02:00
Jason A. Donenfeld 631bdb7eb4 Keep tabs on memory usage 2018-09-25 02:50:03 +02:00
Jason A. Donenfeld 75a86c7cce Update go submodule 2018-09-24 01:53:35 +02:00
Jason A. Donenfeld 059ccea40a Preallocate buffers so we don't explode limit 2018-09-17 00:40:09 +02:00
Jeroen Leenarts 6c49e9151a Switch copyright assignment from Jason to WireGuard LLC. 2018-09-06 07:42:23 +02:00
Jason A. Donenfeld 14e7391cce wireguard-go-bridge: include header for free function 2018-08-31 10:29:27 -06:00
Jeroen Leenarts 217b632ccb Initial merge of rc's work. 2018-08-27 22:32:47 +02:00
Jason A. Donenfeld 65f5efd6aa wireguard-go-bridge: free C strings
Reported-by: Anders Bergh <anders1@gmail.com>
2018-08-26 21:11:39 -06:00
Jeroen Leenarts bb81c14656 Finish trampoline code. 2018-08-03 22:24:41 +02:00
Jason A. Donenfeld 20aab9f50f Generate fat archive 2018-06-13 02:30:12 +02:00
Jason A. Donenfeld 669eb75819 Correct archive file extension 2018-06-13 00:35:15 +02:00
Jason A. Donenfeld 41fbe780c2 Build using c-archive instead 2018-06-12 05:19:21 +02:00
Jason A. Donenfeld 96814e3dea First stab at Go bridge 2018-06-09 04:22:11 +02:00