aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/backend/GoBackend.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-25Use variable map instead of shell switchJason A. Donenfeld1-3/+10
2018-04-25Curve25519: fix up spacingJason A. Donenfeld1-491/+491
2018-04-24Use binary distro of GolangJason A. Donenfeld1-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.
2018-04-23Version bumpJason A. Donenfeld2-2/+2
2018-04-23Update application state based on wg-quickJason A. Donenfeld6-2/+37
2018-04-19Version bumpJason A. Donenfeld2-1/+1
Due to https://github.com/golang/go/issues/24950
2018-04-19Work around go fd closing limitation and version bumpJason A. Donenfeld3-4/+17
2018-04-18Version bump for go race conditionJason A. Donenfeld2-1/+1
2018-04-18Determine MTU automaticallyJason A. Donenfeld4-8/+14
2018-04-18Version bumpJason A. Donenfeld1-1/+1
2018-04-18Update dependenciesJason A. Donenfeld2-1/+1
2018-04-18More javaficationJason A. Donenfeld9-196/+342
2018-04-17Version bumpJason A. Donenfeld1-2/+2
2018-04-17GoBackend: default MTU is 1280Jason A. Donenfeld3-7/+16
This sucks, but it works with mobile networks. Later we can do something sophisticated like we do with wg-quick.c, but not now.
2018-04-17Remove sloppy java with enterprise java horrorsJason A. Donenfeld7-99/+151
Since the amount of mind numbing boiler plate has been increased, this must be the proper way to do things.
2018-04-17global: update various upstreamsJason A. Donenfeld4-2/+3
2018-04-17GoBackend: Handle vpn service expirationAurélien Chabot1-8/+22
After a timeout the android system is destroying the vpn service when it is not used. By using a completable future we can wait for the service to be relaunch on demand.
2018-04-17Config: Handle multiple address or dns in config fileAurélien Chabot1-2/+16
2018-04-17GoBackend: Add support for multiple address and dns as a comma separated listAurélien Chabot1-4/+11
2018-04-17GoBackend: parse allowed ipsAurélien Chabot1-5/+33
2018-04-17GoBackend: Parse the dns addressAurélien Chabot1-1/+1
2018-04-17GoBackend: IPv6 handlingAurélien Chabot1-6/+25
2018-04-17GoBackend: Resolve endpoint before passing it to the go libAurélien Chabot1-2/+15
2018-04-17GoBackend: Use the android VpnService to encapsulate the go backendAurélien Chabot3-6/+98
2018-02-28GoBackend: support NO_PI modeJason A. Donenfeld2-0/+1
2018-02-20Update submodulesJason A. Donenfeld2-0/+0
2018-02-17GoBackend: integrate into appJason A. Donenfeld15-59/+347
2018-02-17wg: bump commitJason A. Donenfeld1-0/+0
2018-02-13KeyEncoding: add constant time hex implementationJason A. Donenfeld1-2/+44
2018-02-03manifest: Add permission to read external storageSamuel Holland1-0/+1
This fixes support for file managers that don't proxy the file access from the file selection dialog through a content provider, and just return a raw file:// URL. In this case, resolver.openInputStream() tries to open the file directly, and fails with "Permission denied". Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-18Version bumpJason A. Donenfeld1-1/+1
2018-01-18FileConfigStore: Warn for deletion failure in exception pathSamuel Holland1-1/+2
There's nothing we can do about it at this point; we're already rolling back changes. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-18WgQuickBackend: Always pass the full path to wg-quickSamuel Holland1-20/+21
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-18fragments: Be extra paranoid about the binding getting destroyedSamuel Holland1-4/+8
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-17TunnelManager: Use constants directly where appropriateSamuel Holland1-2/+2
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-17Peer: Add missing @OverrideSamuel Holland1-0/+1
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-17WgQuickBackend: Clean up unused fields and importsSamuel Holland1-4/+0
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-17ToolsInstaller: Remove double-checked lockingSamuel Holland1-16/+15
It can't work and may be crashing the runtime. Use a lock object to avoid exposing the synchronization in the class's interface. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-17RootShell: Use a lock object instead of sync methodsSamuel Holland1-88/+98
This avoids exposing the synchronization implementation details in the class's interface. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-10Build bumpJason A. Donenfeld1-1/+1
2018-01-10Manifest: show back arrow on sub activitiesJason A. Donenfeld1-2/+4
2018-01-10ToolsInstaller: symlink tools alwaysJason A. Donenfeld1-22/+14
2018-01-10FileConfigStore: cleanup on rename problemJason A. Donenfeld1-1/+3
2018-01-10QuickTileService: Fix crash opening activitySamuel Holland1-3/+6
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-10TunnelController: Use helper function to unwrap the ThrowableSamuel Holland1-2/+2
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-10model: Use ConfigStore.rename() to avoid recreating tunnelsSamuel Holland3-61/+51
Rename all of the functions to be in line with setConfig/setState Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-10ConfigStore: Add a rename method and implement itSamuel Holland2-0/+19
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-09FileConfigStore: Simplify error handlingSamuel Holland1-8/+4
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-10WgQuickBackend: properly report exception so alert showsJason A. Donenfeld2-10/+18
2018-01-10Tunnel: ifname has max len 15Jason A. Donenfeld1-2/+2