Commit Graph

1325 Commits

Author SHA1 Message Date
emanuele-f
365c553076 Add firewall block by country
It's now possible to block connections by country

Closes #429
2025-01-12 17:18:10 +01:00
emanuele-f
0f47d378b9 Read PCAPdroid extensions metadata from Pcapng
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
A PCAP/Pcapng reader has been implemented to support parsing the
PCAPdroid extensions metadata. This allows displaying a number of
information in the UI when loading from a Pcapng file, in particular:

- when the dump was generated with root, show the capture interface
  name
- show the UID (app) related to a given connection
- if the dump contains UIDs of uninstalled apps, show the
  original package name and app name

Closes #479
2025-01-11 19:58:58 +01:00
emanuele-f
e5259add68 Don't load malware/firewall lists when reading from file 2025-01-05 11:47:33 +01:00
emanuele-f
b9c18f02c6 Compilation fix
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2025-01-04 19:06:25 +01:00
emanuele-f
ba7df0e487 Compilation fix 2025-01-04 19:01:30 +01:00
emanuele-f
222d44e70a Dump capture interface via the Pcapng IDB
When capturing as root, the interface name and incremental id are
now correctly reported in the Pcapng file

Closes #438
2025-01-04 18:53:42 +01:00
emanuele-f
4f7b7a7a2e Fix string case 2025-01-04 17:33:45 +01:00
emanuele-f
a6d7df239a Remove unused trailer-related strings 2025-01-04 17:24:08 +01:00
emanuele-f
d25b4eb707 Rename PCAPdroid trailer to extensions 2025-01-04 17:03:42 +01:00
emanuele-f
4a28879318 Implement dump of PCAPdroid metadata in Pcapng
Closes #434
2025-01-04 17:03:42 +01:00
emanuele-f
c610c564bf Reduce size of nDPI
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
Use slim nDPI, which reduces the libndpi.so 4.12 size from 3 MB to 1 MB.
Further trimming may be evaluated in the future.

Closes #188
2025-01-02 08:17:32 +01:00
emanuele-f
65564a241c Update nDPI to 4.12 and libpcap to 1.10.5
Closes #474
2025-01-01 22:38:46 +01:00
emanuele-f
c88ffeba35 Add doc with edge-to-edge info and instructions 2025-01-01 19:16:05 +01:00
emanuele-f
264a2eafd6 Update robolectric to 4.14.1
Provides Android 15 support
2025-01-01 18:03:04 +01:00
emanuele-f
adbc33afe5 Fix inset issues on older platforms
Fix issues in fab, connections, apps, stats, log and app details
2025-01-01 17:57:19 +01:00
emanuele-f
5f50ae30c1 Remove app theme selection dropdown
When targetting SDK 35, setting a manual theme does not work correctly
with edge-to-edge, making text unreadable. Now the app will always
use the system default
2025-01-01 11:53:17 +01:00
emanuele-f
f0d1b67524 Use darker purple as main color 2025-01-01 11:53:17 +01:00
emanuele-f
9c2369fcc6 Implement edge-to-edge support
This is now required for apps which target sdk 35
2025-01-01 11:52:54 +01:00
emanuele-f
1ebc6271e3 Target sdk 35 (Android 15) 2024-12-26 10:58:52 +01:00
emanuele-f
e5bc37620a Update Java libraries
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-12-25 16:48:15 +01:00
emanuele-f
e545bb2c75 Update to Java 17 and enable desugaring
This fixes Java 8 deprecation warnings in newer gradle
2024-12-25 16:42:04 +01:00
emanuele-f
bd4c126825 Update gradle 2024-12-25 15:31:20 +01:00
emanuele-f
41eb45c789 Bump version to 1.7.5
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-11-09 12:13:50 +01:00
emanuele-f
d0a0c9e435 Bump mitm addon version to 1.4
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
No actual changes, just an AV misdetection fix
2024-11-06 22:08:09 +01:00
emanuele-f
8610e6ad27 Fix capture stall with target apps in root mode
When target apps are specified, the root capture would stall
when matching the uid, because of an infinite loop.

Fixes #467
2024-11-06 21:59:39 +01:00
emanuele-f
b8847a28ab Add support for Wireshark udpdump
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
The pcapdroid_udpdump.lua Wireshark plugin can be used to dissect
PCAPdroid packets when captured via the udpdump interface
2024-11-03 19:53:19 +01:00
Emanuele Faranda
8b87f8ee63
Update README.md
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-10-19 10:59:27 +02:00
emanuele-f
caced7daab Bump version to 1.7.4 2024-10-15 23:04:16 +02:00
emanuele-f
070eb19317 Update dependencies
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-10-15 22:55:44 +02:00
emanuele-f
466f0fd79d Bump PCAPdroid-mitm to version 1.3 (mitmproxy 11) 2024-10-15 19:39:40 +02:00
Emanuele Faranda
2438a332e4
Merge pull request #462 from cvanstone/include_package_name_csv
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
Include the package name in the CSV output
2024-10-12 15:29:20 +02:00
Chris Vanstone
3843546bbe Include the package name in the CSV output 2024-10-10 14:55:40 +01:00
Emanuele Faranda
d2bde7b9e7
Merge pull request #457 from jackyzy823/master
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
Change working directory before calling pcapd under su.

Fixes #314
2024-09-11 18:47:28 +02:00
emanuele-f
ac3ce3a75f Fix missing format argument 2024-09-11 18:46:20 +02:00
emanuele-f
50812d1de8 Add safety checks on getcwd and free memory 2024-09-11 18:38:50 +02:00
jackyzy823
9be48af56b Change working directory before calling pcapd under su.
Some implementation of Android su will reset environment variables, so
the current working directory will not be preserved.

To make sure the creation of pid file and log file, change working
directory manually.
2024-09-11 10:52:07 +08:00
emanuele-f
dc3bb39168 Bump version to 1.7.3
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-09-07 10:51:58 +02:00
emanuele-f
ec8f4a3cac Remove unused strings 2024-09-07 10:51:48 +02:00
emanuele-f
90c8ae537a Catch possible SecurityException starting the VPN 2024-09-07 10:29:40 +02:00
emanuele-f
95686b1def Update dependencies 2024-09-07 10:18:30 +02:00
Oğuz Ersen
b1122772ad Update Turkish strings 2024-09-07 10:00:22 +02:00
大王叫我来巡山
e90e71091e Update Chinese (Simplified Han script) strings 2024-09-07 10:00:18 +02:00
Emanuele Faranda
1fd263c899 Update Italian strings 2024-09-07 10:00:14 +02:00
gallegonovato
c4ebaf696a Update Spanish strings 2024-09-07 10:00:07 +02:00
Thiện
3bd32a403e Create Vietnamese F-Droid strings 2024-09-07 09:59:11 +02:00
odkate918c013d81c448ce
8f2eb6394e Update Ukrainian strings 2024-09-07 09:57:23 +02:00
RyoidenshiAokigahara
5e51b05d1f Update Russian strings 2024-09-07 09:56:36 +02:00
Tri Susilo ✪
e2d8950cf6 Update Indonesian strings 2024-09-07 09:55:24 +02:00
Mario Herrmann
6ce6a80b5f Update German strings 2024-09-07 09:54:46 +02:00
jonnysemon
9c31f1777b Update Arabic strings 2024-09-07 09:53:01 +02:00