akwizgran
ca9181ee3f
Upgrade onionwrapper to 0.1.0 and snowflake to 2.9.1.
2024-03-09 20:52:32 +00:00
Sebastian Kürten
917fc5e5b6
Fix architecture detection for macOS Intel CPUs
2023-06-28 12:57:20 +02:00
akwizgran
caa078585b
Merge branch 'macos3' into 'master'
...
macOS support
See merge request briar/briar!1790
2023-06-22 17:04:09 +00:00
akwizgran
4d884601f0
Check more often, only broadcast status if changed.
2023-06-20 17:01:45 +01:00
akwizgran
b71198d9b1
Check network status periodically on JavaSE.
2023-06-20 16:34:45 +01:00
Sebastian Kürten
57f7501780
macOS support
2023-06-15 12:48:01 +02:00
Sebastian Kürten
bded4e7bc8
Use system default secure random provider on macOS
2023-05-17 11:13:43 +02:00
akwizgran
0ca21ad4c0
Upgrade onionwrapper to 0.0.2 and dont-kill-me-lib to 0.2.7.
2023-05-09 15:23:17 +01:00
akwizgran
61e7d2ebf9
Move Tor wrapper to library.
2023-03-28 17:18:05 +01:00
akwizgran
2f351b318e
Move CircumventionProvider classes to wrapper package.
2023-03-28 15:40:48 +01:00
akwizgran
a468af94db
Add bootstrap percentage and HS desc uploads to observer interface.
2023-03-28 11:31:20 +01:00
akwizgran
49f10e7e82
Move wake lock code to dont-kill-me-lib.
2023-03-28 10:58:45 +01:00
akwizgran
01b1741e83
Factor out Tor wrapper from plugin
2023-03-27 12:02:05 +01:00
akwizgran
82efb0d044
Upgrade Tor, obfs4 and snowflake; use new artifact layout.
2023-02-23 16:25:08 +01:00
akwizgran
badccac90c
Factor out recognition of QR code format.
2022-12-02 13:35:00 +00:00
Torsten Grote
bab6ec70f5
Factor out mailbox constants into a MailboxConfig
...
so that we can change them for integration tests via the new ModularMailboxModule that now also includes the UrlProvider
2022-10-21 12:22:57 -03:00
Torsten Grote
2a2c054959
Merge branch '2343-mailbox-as-submodule' into 'master'
...
End-to-end integration tests for communication via mailbox
Closes #2343
See merge request briar/briar!1699
2022-10-03 13:11:18 +00:00
akwizgran
e4e7d84bde
Use null safety library.
2022-09-29 13:08:02 +01:00
Sebastian Kürten
459b97c1d4
Integration tests for mailbox using mailbox-lib as submodule
2022-09-22 18:08:03 +02:00
akwizgran
339e4daded
Update Dagger modules.
2022-08-05 14:16:15 +01:00
akwizgran
a38933df66
Read Tor process's stdout until it exits.
...
On Windows, RunAsDaemon is a no-op so we need to read stdout to find out when Tor has finished starting up, then continue to read and discard stdout until Tor exits.
2022-06-13 11:21:26 +01:00
akwizgran
654a05df8a
Use Windows Tor plugin in briar-headless.
2022-06-09 15:39:26 +01:00
akwizgran
98963955b1
Use default SecureRandomProvider on Windows.
2022-06-09 15:39:26 +01:00
akwizgran
d83efce002
Add WindowsTorPlugin and factory.
2022-06-09 15:39:26 +01:00
akwizgran
d2f25f2ebe
Refactor Tor plugin factories.
2022-05-19 14:12:36 +01:00
Daniel Lublin
1809be4656
Factor out onion address encoder to CryptoComponent
2021-11-15 12:59:56 +01:00
Sebastian Kürten
e0f36ade92
Address review feedback
2021-11-03 16:32:17 +01:00
Sebastian Kürten
a1f9e80e12
Inject Tor ports via annotated int parameters
2021-11-03 15:43:01 +01:00
Sebastian Kürten
d4656df384
Make Tor ports configurable at runtime
...
Instead of using hard-coded values 59050 and 59051 for the Tor socks and
control ports, provide them via a TorPorts interface. This makes it possible
to pass the ports to a TorPortsImpl in modules. Hence it is possible to
configure the Tor port for different types of builds or via command line
options in case of briar headless or other clients using the core code.
2021-10-16 14:41:29 +02:00
akwizgran
d65afc519a
Factor out shared code.
2021-08-16 12:00:42 +01:00
akwizgran
92f58e9465
Increase max latency of removable drive plugin to 28 days.
2021-07-13 10:30:12 +02:00
akwizgran
4ecc5e4367
Clean up plugin injection code, remove unused module.
2021-07-13 10:26:02 +02:00
Torsten Grote
61f660ca1d
Upgrade libraries before 1.3 release
2021-06-16 10:40:30 -03:00
Daniel Lublin
e2a11d42f8
Implement backend for connect via bluetooth
2021-04-27 14:15:10 +02:00
akwizgran
5e2187a877
Refactor integration tests to allow clock to be replaced.
2021-04-13 08:46:06 -03:00
Nico Alt
d7afbdf690
Use Tor binary for armhf (armv7)
...
Example devices are Nexus 5 and Raspberry Pi v2.
Based on https://code.briarproject.org/briar/briar/-/merge_requests/1376
Related to https://code.briarproject.org/briar/briar/-/issues/1854
2021-03-09 12:00:00 +00:00
Nico Alt
b738bdd14e
Actually make headless work on arm aarch64
...
Following the two comments at
https://code.briarproject.org/briar/briar/-/issues/1854#note_44340
.jar files now get built with
$ ./gradlew --configure-on-demand briar-headless:x86LinuxJar
$ ./gradlew --configure-on-demand briar-headless:aarch64LinuxJar
Related to #1854
2021-03-03 12:00:00 +00:00
akwizgran
f6bdbb1b80
Let Tor know if we're on an IPv6-only network.
2020-11-03 13:44:57 +00:00
akwizgran
e0f381a973
Try all transports in order of preference.
2020-10-29 11:48:10 +00:00
akwizgran
922a52bf83
Only Alice should perform Bluetooth discovery.
2020-10-27 16:21:30 +00:00
akwizgran
2a8778d3cc
Don't enable or disable the Bluetooth adapter automatically.
2020-08-14 16:18:02 +01:00
akwizgran
79ad5ca07e
Ensure TimeoutInputStreams are closed.
2020-08-13 16:35:03 +01:00
akwizgran
1af951f8b4
Use injection to create plugin factories.
2020-08-07 15:11:03 +01:00
akwizgran
086c10abc0
Hold wake lock while polling.
2020-08-07 15:10:18 +01:00
akwizgran
adb657a5b6
Ensure we only call openOutputStream() once.
2020-08-07 15:02:49 +01:00
akwizgran
d794777eb2
Refactor wake lock creation.
2020-08-07 15:02:49 +01:00
akwizgran
802e599f09
Add STARTING_STOPPING state, use flags for reasons disabled.
2020-06-26 17:34:37 +01:00
akwizgran
03811f78fa
Add toggle setting for LAN plugin.
2020-06-26 17:34:36 +01:00
akwizgran
4130662e1f
Notify callback of state changes while holding lock.
2020-06-26 17:34:35 +01:00
akwizgran
ecea2c587d
Add method for getting reason why plugin is disabled.
2020-06-26 17:34:35 +01:00