aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libwg-go: use system Go when possibleJason A. Donenfeld2018-04-301-7/+17
| | | | | | | We're still maybe curlzipping and using a binary distribution of Go, but at least this is only the case on machines that don't have go. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Latest go changesJason A. Donenfeld2018-04-272-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use variable map instead of shell switchJason A. Donenfeld2018-04-251-3/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use binary distro of GolangJason A. Donenfeld2018-04-241-2/+13
| | | | | | | | | | | | | This is a bummer, but Gradle already specifies tons of specific versions of various binary components, so this is not materially different than the rest of how this whole thing works. It also allows us to specify the Go version that will actually build a working binary of wireguard-go, since all of the Go bugs mean not every version works equally. We do *not* want to use whatever version a distro happens to be shipping. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2018-04-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update application state based on wg-quickJason A. Donenfeld2018-04-232-0/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2018-04-191-0/+0
| | | | | | Due to https://github.com/golang/go/issues/24950 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Work around go fd closing limitation and version bumpJason A. Donenfeld2018-04-192-3/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump for go race conditionJason A. Donenfeld2018-04-181-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Determine MTU automaticallyJason A. Donenfeld2018-04-183-6/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update dependenciesJason A. Donenfeld2018-04-182-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: default MTU is 1280Jason A. Donenfeld2018-04-172-5/+5
| | | | | | | This sucks, but it works with mobile networks. Later we can do something sophisticated like we do with wg-quick.c, but not now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update various upstreamsJason A. Donenfeld2018-04-172-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: support NO_PI modeJason A. Donenfeld2018-02-282-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update submodulesJason A. Donenfeld2018-02-202-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: integrate into appJason A. Donenfeld2018-02-176-0/+189
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: bump commitJason A. Donenfeld2018-02-171-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: error if setconf failsJason A. Donenfeld2018-01-101-2/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: ifname has max len 15Jason A. Donenfeld2018-01-101-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: try not to overflowJason A. Donenfeld2018-01-091-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-quick: set mtu after addressesJason A. Donenfeld2017-12-261-1/+1
| | | | | | | | | | | | | This has all sorts of terrible implications and fixes a problem in a pretty terrible way. If the interface MTU is less than 1280, IPv6 addresses will fail to be added. Rather than explictly trying to catch this and do something particular about it -- such as nicely warning the user that there could be a v6 isolation issue, for example -- we just set the MTU _after_ we set the addresses, so that in setting the MTU, we wind up removing the addresses that were just added. This is pretty bad, but it makes things a bit smoother. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: add wg-quick directlyJason A. Donenfeld2017-12-203-2/+651
| | | | | | | We also use all search paths for tool, since many want this to be CLI too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: force ld.goldJason A. Donenfeld2017-12-191-0/+3
| | | | | | | | This is to work around a linker bug affecting the NDK. Reference: https://github.com/android-ndk/ndk/issues/602 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: better cmakeJason A. Donenfeld2017-12-181-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: build required tools with apkJason A. Donenfeld2017-12-154-0/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>