emanuele-f
4a7a55d504
Ability to block QUIC always or only on decryption
...
Commit ddec1a8 limited the ability to block QUIC to only
connections matching the decryption rules. Some users may still want
to always block QUIC for different reasons, so this commit makes it
possible to choose the block policy to apply.
See #369
2024-01-28 20:08:24 +01:00
emanuele-f
26287640fd
Add link to the PCAPdroid DoH docs
...
See #211
2024-01-28 18:37:48 +01:00
emanuele-f
c0bea0227b
Add port mapping connection redirection indicator
2024-01-28 16:27:13 +01:00
emanuele-f
a6c547d0ab
Fix port mapping rule not applied to DNS
2024-01-28 16:27:13 +01:00
elicec
0deabd135c
Update README.md reanme capture_root.c to capture_libpcap.c
...
also update the path
2024-01-06 10:27:37 +01:00
emanuele-f
bed393c95e
Fix disable battery optimization prompt in Android 14
2024-01-01 17:46:27 +01:00
emanuele-f
bb68ac674f
Disable battery optimization (Doze) for the mitm addon
...
It can interfere with the mitm service, causing connections to get stuck
until device is rebooted
2024-01-01 17:29:37 +01:00
emanuele-f
74c2aaca9f
Use ISO 8601 dates in CSV export
...
They are more easily readable
Closes #318
2023-12-25 19:30:07 +01:00
emanuele-f
e0112eaa3f
Logs to debug issue with temporary unblock
...
See #390
2023-12-25 18:32:36 +01:00
emanuele-f
6942b252ea
Show termux main app instead of its sub-apps
...
Closes #253
2023-12-25 17:48:35 +01:00
emanuele-f
ddec1a85eb
Only block QUIC for connections to decrypt
...
Since PCAPdroid can now be run with decryption enabled all the time, blocking
QUIC is now limited to the connections matching the decryption whitelist.
This also hides the block QUIC option when TLS decryption is disabled.
Closes #369
2023-12-25 17:06:58 +01:00
emanuele-f
d5661bed72
Make expand and save buttons consistent
2023-12-25 11:52:37 +01:00
emanuele-f
ef09ebcc36
Add button to copy request/response payload
...
The button copies the full request/response to the clipboard. The content
type label has been removed to make space for this button.
See #362
2023-12-25 11:52:10 +01:00
emanuele-f
852c7cab26
Fix crash in setMenuVisibility due to null Context
...
This only happened after the latest dependecies updates,
not on production
2023-12-24 19:57:48 +01:00
Emanuele Faranda
89ae52aea8
Update README.md
2023-12-24 19:41:41 +01:00
emanuele-f
40dd43d214
Remove extractNativeLibs to fix warning
...
We already use useLegacyPackaging, which replaces extractNativeLibs
2023-12-10 12:44:57 +01:00
emanuele-f
892731d2a2
Fix nDPI compilation warning
2023-12-10 12:44:57 +01:00
emanuele-f
57f5d19076
Suppress onBackPressed deprecation
...
The new API is overly complicate. Also fix new some missing super
onBackPressed calls
2023-12-10 12:44:57 +01:00
emanuele-f
8825353e92
Update Java dependencies and ndk to 26.1.10909125
2023-12-10 12:44:57 +01:00
emanuele-f
d7caa6e835
Upgrade to Robolectric 4.11.1
...
Fixes Android SDK 34 compatibility
2023-12-10 12:44:57 +01:00
emanuele-f
a241f1e346
Upgrade to SDK 34 - Android 14
...
Define a foregroundServiceType to meet the new Android policy:
https://developer.android.com/about/versions/14/behavior-changes-14#fgs-types
Closes #368
2023-12-10 12:44:56 +01:00
emanuele-f
a2ba0659a7
Remove mitm permission leftover
2023-12-10 12:44:18 +01:00
emanuele-f
1d4bd05b56
Upgrade gradle plugin to 8.1.4
2023-12-10 12:44:18 +01:00
emanuele-f
c3a45bb3d6
Remove mitm-addon permission
...
This created confusion among the users, with small security benefits.
Fixes possible issues with permissions on GrapheneOS.
Closes #335
2023-12-10 12:44:18 +01:00
emanuele-f
a1b6ec38ab
Bump version to 1.6.9
2023-12-04 08:33:13 +01:00
emanuele-f
c998fceb76
Fix possible SecurityException while opening PCAP file
2023-12-02 16:39:16 +01:00
emanuele-f
a68cf1c538
Fix possible crash on null CaptureSettings
...
This is only a workaround to prevent a reported crash. A rework is needed to
ensure that the host resolution does not outlive the Activity
2023-12-02 16:31:45 +01:00
emanuele-f
6ca1073806
Fix glitch on capture start via intent-based API
...
When a user allows an app permanent capture control, starting the capture
caused the control permission dialog to be shown briefly, causing a glitch.
This is caused by the SOCKS5 host resolution logic introduced in 6d7708e .
To fix this, SOCKS5 host resolution is now disabled in the intent-based API
2023-12-02 16:14:55 +01:00
emanuele-f
3c6bc51ec1
Fix peer app info request before on-boarding
...
The MainActivity continued its execution of onCreate even after calling
finish, causing a call to initPeerAppInfo and subsequent getCallingPackage
to fail because the calling activity was already finished
2023-09-18 23:17:26 +02:00
emanuele-f
3c3b73c678
Do not show control request denied toast on peer info
...
It seems like in some cases this toast was incorrectly triggered
2023-09-18 22:56:04 +02:00
emanuele-f
bf6e834f17
Fix root permission request on read from pcap
...
INTERNET_ACROSS_USERS was requested when trying to read from a PCAP file,
which triggered a failure toast in most cases
2023-09-18 22:53:52 +02:00
emanuele-f
44f8dd8d29
Avoid stdout/stderr pipe when running pcapd
...
Possible fix for #348
2023-09-09 12:00:49 +02:00
emanuele-f
197ca23e26
Bump version to 1.6.8
2023-09-01 17:24:02 +02:00
emanuele-f
2360dd35cf
Fix root capture/pcap loading in playstore build due to AAB packaging
2023-09-01 12:06:01 +02:00
emanuele-f
e9bfc0ba0a
Prevent root capture start failure due to timeout
2023-08-31 16:54:56 +02:00
emanuele-f
0531ea2273
Possibly fix root capture start issue with Magisk delta
...
pcapd must be daemonized, otherwise start will fail even if root
permission is granted
2023-08-31 14:10:36 +02:00
emanuele-f
6f48c2c468
Fix possible permission denied on PCAP file open
2023-08-31 14:07:06 +02:00
emanuele-f
0928fec7fe
Do not show private DNS warning when opening PCAP
2023-08-31 13:58:08 +02:00
emanuele-f
68b8118610
Bump version to 1.6.7
2023-08-31 12:32:28 +02:00
jonnysemon
89921aed8b
Update Arabic strings
2023-08-30 21:36:01 +02:00
Eric
4b7b7c24d9
Update Chinese (Simplified) strings
2023-08-30 21:35:55 +02:00
Emanuele Faranda
2613c7a7a0
Update Italian strings
2023-08-30 21:35:49 +02:00
gallegonovato
1ce51ec019
Update Spanish strings
2023-08-30 21:35:39 +02:00
emanuele-f
40672ac23f
Improve TLS decryption with root flow
...
Enable toggles on user confirmation
2023-08-30 21:34:08 +02:00
emanuele-f
ed141d1de3
Do not resolve socks5 server host if disabled
2023-08-30 21:25:45 +02:00
odkate918c013d81c448ce
4b6acbbbc4
Add Ukrainian translation
2023-08-30 10:10:00 +02:00
jonnysemon
3728419c81
Update Arabic strings
2023-08-29 22:56:19 +02:00
emanuele-f
263d1dfefe
Fix NumberFormatException in PCAP open / CSV export
2023-08-29 22:37:41 +02:00
emanuele-f
63eab62222
Switch to "running" status only after pcapd start
2023-08-29 22:29:16 +02:00
emanuele-f
3ebc9df661
Fix root start failure due to short timeout
...
After ba7291c , the capture thread does not wait for the pcapd "su"
command to complete, so the old 3 seconds timeout is too short.
The timeout has been extended to 10 seconds and an informative
error is now shown.
2023-08-29 22:20:20 +02:00