Commit Graph

1220 Commits

Author SHA1 Message Date
C Tieb
77c6b20180 Update German strings 2024-02-02 10:06:42 +01:00
dedy prasetyo
785a36284e Update Indonesian strings 2024-02-02 10:06:12 +01:00
Jo K
697b1aa55a Update German strings 2024-02-02 10:05:04 +01:00
jonnysemon
57385af58c Update Arabic strings 2024-02-02 10:04:45 +01:00
Yaroslav
548f73cfab Update Ukrainian strings 2024-02-02 10:01:36 +01:00
RyoidenshiAokigahara
01d151df04 Update Russian strings 2024-02-02 09:59:58 +01:00
emanuele-f
04d913149d Temporary revert string removed in c3a45bb3
Necessary to avoid conflicts with the weblate translations
2024-02-02 09:58:59 +01:00
emanuele-f
339868ad8a Show what's new dialog on app update 2024-02-02 09:47:35 +01:00
emanuele-f
36c99bc84b Add export to file payload button
See #362
2024-02-01 11:48:45 +01:00
emanuele-f
724da6a0f8 Allow to specify what to copy from the payload
- For the HTTP tab, allow to to copy only headers/body/both
- For other tabs, allow to copy in plaintext or hexdump format

See #362
2024-02-01 10:50:33 +01:00
emanuele-f
54d6ce4dd1 Rework Status fragment icons to fix sizing issues 2024-02-01 09:58:41 +01:00
emanuele-f
8ac6428bf1 Allow capturing multiple target apps
The target app option has been extended to allow the selection
of multiple apps.

Closes #146
2024-02-01 09:56:01 +01:00
emanuele-f
59d283b273 pcapd: add ability to specify multiple uid filters
The -u parameter now accepts a list of comma-separated UID filters
2024-02-01 09:55:13 +01:00
emanuele-f
f9d36008ef Fix no-filter warning with root decryption
The warning incorrectly referenced the decryption whitelist, which is not
actually applied to the root capture
2024-01-30 10:54:30 +01:00
emanuele-f
1bab9e0a7f Update mitm addon with fixes for --ignore-hosts and --allow-hosts 2024-01-28 22:52:15 +01:00
emanuele-f
a0b5fd7196 Add notice about QUIC decryption 2024-01-28 21:47:12 +01:00
emanuele-f
bb08878419 Fix decryption status for QUIC connections
QUIC connections should be marked as "Not decryptable" when QUIC is not
blocked, instead were reported as "Encrypted" with an incorrect message
telling to create a decryption rule for them
2024-01-28 21:39:22 +01:00
emanuele-f
b8a405ab54 Restore "block_quic" intent parameter name 2024-01-28 21:16:40 +01:00
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