Commit Graph

1141 Commits

Author SHA1 Message Date
emanuele-f
a6e908be89 Add notice about missing decryption rules 2023-08-21 07:48:19 +02:00
emanuele-f
c08ac59f46 Unify start button UI
Show both the live capture and PCAP file loading options under
the play button
2023-08-21 07:17:18 +02:00
emanuele-f
68d3a1dc12 Show notice when loading a PCAP without UID mappings 2023-08-21 07:08:09 +02:00
emanuele-f
6d7708eec0 Support IPv6 and host names in socks5 mode
Closes #343
2023-08-20 19:58:15 +02:00
emanuele-f
958fc6ade0 Fix DNS traffic from unknown app blocked in whitelist mode
When an unspecified app performs a DNS request, it must be allowed.
On some devices such DNS request is performed by uid 1001 or the uid
resolution may have failed (uid -1), which is now handled.

See #344
2023-08-20 17:31:09 +02:00
emanuele-f
237a5af1d0 Abort PCAP file loading on dialog cancel 2023-08-18 21:19:04 +02:00
emanuele-f
1463e1656f Only stop PCAP dump after capture
This ensures that all the monitored data is actually exported, avoiding
a possible inconsistency between the data shown on the screen and the
exported PCAP data.
2023-08-18 21:11:53 +02:00
emanuele-f
6c8abf92c5 Use uid from the PCAPdroid trailer if available
When loading a PCAP file, if there is a PCAPdroid trailer available,
use its uid to associate the connections to the originating app.
Currently this assumes that the uid mapping has not changed, e.g. the
app for a specific uid has not been uninstalled.
2023-08-18 10:48:34 +02:00
emanuele-f
ba7291c12f Show pcapd errors in the app UI
pcapd is now run without the daemonize option, allowing PCAPdroid to retrieve the
exit code and avoiding an unnecessary fork. Code-based error reporting is now
implemented in pcapd. Errors are now shown in the UI and common ones are localized.
2023-08-18 01:10:15 +02:00
emanuele-f
85c2fda5db Re-enable all the native tests
Some were wrongly disabled in 275eefa
2023-08-17 22:37:24 +02:00
emanuele-f
86b4c505e3 Add ability to open a PCAP file
PCAPdroid can now open a PCAP file and show the connections data

Closes #109
2023-08-17 22:17:59 +02:00
emanuele-f
cfb92dbd84 Rename root-related code
This is a preparation to the integration of reading from a PCAP file
2023-08-15 16:19:34 +02:00
emanuele-f
68daa312bf Fix app not blocked after reinstallation
The package name to UID mapping was not updated after reinstallation,
causing UID matching to fail and subsequent failure to block it.
Now the UID mapping is automatically updated whenever an app is
installed or uninstalled.

Fixes #338
2023-08-11 20:12:24 +02:00
emanuele-f
e2c5b81d4f Fix possible NullPointerException in getNetworkInterfaces
This occurred with non-primary user account.

See #336
2023-07-20 21:56:33 +02:00
Ridhwan Ikhwanto
efa982c2c6
Use [address]:port notation for IPv6 (#334) 2023-07-13 13:27:06 +02:00
Shubham Mittal
a85faf7d5c
Update mitm bad addon message. (#329)
The updated message tells which version of the addon the user should install instead.
2023-06-16 11:04:41 +02:00
emanuele-f
1fc4980af4 Bump version to 1.6.5 2023-06-15 09:31:54 +02:00
Владислав NULL
4c42340303 Update Russian strings 2023-06-15 09:05:48 +02:00
Oğuz Ersen
7a08880a10 Update Turkish strings 2023-06-15 09:05:43 +02:00
Eric
73b2f183a7 Update Chinese (Simplified) strings 2023-06-15 09:05:33 +02:00
Emanuele Faranda
5fc21e1f00 Update Italian strings 2023-06-15 09:05:21 +02:00
gallegonovato
9202a6f2ae Update Spanish strings 2023-06-15 09:05:07 +02:00
emanuele-f
5a139aaf6c Fix crash on invalid IPv6 DNS
Closes #325
2023-06-13 20:35:00 +02:00
emanuele-f
4e96623130 Fix IPv6 validation on Android < 29 2023-06-13 20:22:55 +02:00
emanuele-f
e357534414 Allow exporting the SSLKEYLOG after anomalous app stop
Closes #324
2023-06-13 19:51:55 +02:00
emanuele-f
1c3614652b Remove unused resources 2023-06-06 13:44:37 +02:00
emanuele-f
1f00fa95ae Update CI Java version to 17 2023-06-06 12:35:05 +02:00
emanuele-f
937c68ed07 Add support for mitm Js Injector 2023-06-06 12:14:16 +02:00
emanuele-f
96032d3aef Update gradle 2023-06-04 17:11:53 +02:00
emanuele-f
464516409a Only apply TLS decryption to specified connections
TLS decryption is now only applied to connections matching
the user-configured rules. This allows running the decryption
along with the normal capture. The decryption whitelist has
been removed.
2023-05-31 23:16:55 +02:00
phyrz91
f482d0fa8f Add Polish translation 2023-05-21 21:38:12 +02:00
emanuele-f
a947ebfc70 Fix ICMPv6 not working in VPN mode
ICMPv6 packets were dropped due to missing logic

Also affected #321
2023-05-19 12:37:20 +02:00
emanuele-f
3459d18e3b Capture IPv6 ULA addresses traffic
Closes #321
2023-05-19 09:34:37 +02:00
emanuele-f
ad46d94971 Update deps 2023-05-19 09:31:25 +02:00
incycledream
e828245c54
App icon can be themed now (Android 13) (#316) 2023-05-03 09:05:35 +02:00
emanuele-f
0168ed052e Bump version to 1.6.4 2023-04-24 11:13:45 +02:00
Emanuele Faranda
096d8fe93c Update Italian strings 2023-04-24 11:03:54 +02:00
gallegonovato
81a4395b4c Update Spanish strings 2023-04-24 11:03:37 +02:00
Oğuz Ersen
b9ab7ca569 Update Turkish strings 2023-04-24 11:03:19 +02:00
Eric
29ccec37af Update Chinese (Simplified) strings 2023-04-24 11:02:58 +02:00
RyoidenshiAokigahara
8cbc65bfa7 Update Russian strings 2023-04-24 11:02:28 +02:00
Mario Herrmann
d253be247a Update German strings 2023-04-24 11:00:41 +02:00
emanuele-f
3e7ca1e7b0 Fix QR code activation crash on Android 32+
The bluetooth_name setting is not readable anymore
2023-04-24 10:43:14 +02:00
emanuele-f
a3b52da317 Bump version to 1.6.3 2023-04-23 22:08:45 +02:00
emanuele-f
b7a59635e3 Fix possible crash while importing rules
E.g. SecurityException: com.android.providers.downloads has no access
to content ...
2023-04-23 20:03:48 +02:00
emanuele-f
4f22276562 Fix possible NullPointerException in connections 2023-04-23 19:56:10 +02:00
emanuele-f
c98740c830 Fix possible NullPointerException in apps context menu 2023-04-23 19:53:04 +02:00
emanuele-f
88a9c747fd Fix possible crash on firewall whitelist reload
A SIGSEV occurred after a whitelist rules reload when firewall rules
failed to load
2023-04-23 19:47:40 +02:00
emanuele-f
5406475bed Fix possible crashes in MitmAddon 2023-04-23 19:03:08 +02:00
emanuele-f
6a42e7d988 Log private DNS mode in build info 2023-04-23 18:30:09 +02:00