aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Auto-format the source directoriesSamuel Holland2018-11-113-27/+33
| | | | Blame Jason for writing Java in vim.
* global: update copyright headersJason A. Donenfeld2018-09-063-6/+3
|
* TunnelDetailFragment now restores state correctly after process deathEric Kuck2018-07-261-4/+7
|
* global: Add nullity annotationsEric Kuck2018-07-132-5/+12
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-063-3/+3
|
* AppListDialogFragment: add implementation for excluding applicationsEric Kuck2018-07-061-0/+4
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* config: Refactor IPCidr and use of InetAddressSamuel Holland2018-06-191-6/+6
| | | | | | | Use a canonically-named utility class to tack on methods to the existing InetAddress class. Rename IPCidr to InetNetwork so it better matches InetAddress and is more pronouceable :) While here, simplify the constructor and toString() functions, and properly implement hashCode().
* Backend: abstract version informationJason A. Donenfeld2018-06-073-3/+32
|
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-072-12/+8
|
* TunnelManager: new intentsJason A. Donenfeld2018-06-041-11/+0
|
* Backends: print versions somewhere in logJason A. Donenfeld2018-06-022-2/+4
|
* android: Cleanup classesHarsh Shandilya2018-06-022-7/+8
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* Settings: add versionJason A. Donenfeld2018-06-011-0/+4
|
* SharedLibraryLoader: introduce to work around Samsung PackageManager bugsJason A. Donenfeld2018-05-291-4/+2
|
* Support always-on-vpnJason A. Donenfeld2018-05-271-0/+18
|
* libwg-go: try no stickiness and no roamingJason A. Donenfeld2018-05-261-6/+0
|
* libwg-go: reenable sticky sockets, just slightly less stickyJason A. Donenfeld2018-05-241-0/+6
|
* global: Cleanup line lengths and misc lint warningsHarsh Shandilya2018-05-091-1/+2
| | | | | | | | | I know we decided to ditch the idea of shutting up "Exception thrown with empty param" warnings but this pesters me too much and we can instead just treat this as a weird future proofing thing if and when we end up needing the exception messages. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* global: fix up copyrightsJason A. Donenfeld2018-05-033-0/+3
|
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-023-0/+15
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Clean up JavaSamuel Holland2018-04-302-28/+32
| | | | | | Address Java and Android lints. Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Automatic code formattingSamuel Holland2018-04-301-30/+28
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Quick cleanup across the boardHarsh Shandilya2018-04-281-5/+1
| | | | | | | | | | - Clean up imports - Adjust method visibility - Drop in NonNull annotations where needed - Prevent potential NPEs from nulled getActivity calls - Remove unused methods Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* WgQuickBackend: always create configuration fileJason A. Donenfeld2018-04-261-10/+5
| | | | It might be removed on an update.
* GoBackend: bring down tunnels when revoked or disconnectedJason A. Donenfeld2018-04-251-0/+6
| | | | | This synchronizes the OS's connection state with ours, such as when the user disconnects using the system UI.
* Update application state based on wg-quickJason A. Donenfeld2018-04-231-0/+11
|
* Determine MTU automaticallyJason A. Donenfeld2018-04-181-2/+2
|
* More javaficationJason A. Donenfeld2018-04-181-78/+16
|
* GoBackend: default MTU is 1280Jason A. Donenfeld2018-04-171-2/+11
| | | | | This sucks, but it works with mobile networks. Later we can do something sophisticated like we do with wg-quick.c, but not now.
* Remove sloppy java with enterprise java horrorsJason A. Donenfeld2018-04-171-45/+38
| | | | | Since the amount of mind numbing boiler plate has been increased, this must be the proper way to do things.
* GoBackend: Handle vpn service expirationAurélien Chabot2018-04-171-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.
* GoBackend: Add support for multiple address and dns as a comma separated listAurélien Chabot2018-04-171-4/+11
|
* GoBackend: parse allowed ipsAurélien Chabot2018-04-171-5/+33
|
* GoBackend: Parse the dns addressAurélien Chabot2018-04-171-1/+1
|
* GoBackend: IPv6 handlingAurélien Chabot2018-04-171-6/+25
|
* GoBackend: Resolve endpoint before passing it to the go libAurélien Chabot2018-04-171-2/+15
|
* GoBackend: Use the android VpnService to encapsulate the go backendAurélien Chabot2018-04-171-6/+80
|
* GoBackend: integrate into appJason A. Donenfeld2018-02-172-12/+125
|
* WgQuickBackend: Always pass the full path to wg-quickSamuel Holland2018-01-181-20/+21
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* WgQuickBackend: Clean up unused fields and importsSamuel Holland2018-01-171-4/+0
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* WgQuickBackend: properly report exception so alert showsJason A. Donenfeld2018-01-101-6/+15
|
* WgQuickBackend: Finish the implementationSamuel Holland2018-01-091-7/+29
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Clean up error loggingSamuel Holland2018-01-091-2/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* WgQuickBackend: Log when tunnels can't be enumeratedSamuel Holland2018-01-091-1/+2
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* WgQuickBackend: Ensure tools are available before useSamuel Holland2018-01-081-1/+7
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* WgQuickBackend: Inline resolveState()Samuel Holland2018-01-081-10/+5
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Fragment/Tile: Make success/error messages translatableSamuel Holland2018-01-081-1/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Prefix tags with WireGuard/Jason A. Donenfeld2018-01-081-1/+1
|
* RootShell: multiplex commandsJason A. Donenfeld2018-01-081-6/+7
|