Commit Graph

16 Commits

Author SHA1 Message Date
Jason A. Donenfeld
7bf3d7b09d Update copyright 2019-01-07 19:23:39 -05:00
Jason A. Donenfeld
0cc55db4cb NetworkExtension: rescope socket instead of tearing down socket 2018-12-26 01:17:55 +01:00
Jason A. Donenfeld
137d453c0d Do not require NetworkExtension to know its own name 2018-12-21 22:05:47 +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
003286aee0 wireguard-go-bridge: simplify logging and remove tags 2018-10-31 03:22:22 +01:00
Jason A. Donenfeld
ded8ec065e Allow customizing MTU 2018-10-27 01:03:28 +02:00
Jason A. Donenfeld
9d01829a98 Rewrite bridge build system 2018-10-02 19:15:03 +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
Jason A. Donenfeld
14e7391cce wireguard-go-bridge: include header for free function 2018-08-31 10:29:27 -06: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
Jason A. Donenfeld
96814e3dea First stab at Go bridge 2018-06-09 04:22:11 +02:00