Commit Graph

1290 Commits

Author SHA1 Message Date
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
emanuele-f
6d6e7e001c Change "system default" string for consistency
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 the same string as the Android language selector
2024-09-02 20:32:20 +02:00
emanuele-f
883e99d120 Remove unfinished languages: fr, ja, ko, nb, pl, pt
Manually generate the locales_config.xml file, which is
currently needed when using resourceConfigurations
2024-09-02 20:23:53 +02:00
emanuele-f
8b6ae05ed1 Bump mitm addon version to 1.2
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
- Optionally request MANAGE_EXTERNAL_STORAGE for public write access
- Fix enabled addons sometimes reset
- Fix already-loaded addons not reloaded on changes
2024-08-19 13:10:25 +02:00
emanuele-f
94779ca6c9 Implement mitm addon compatibility logic
Semantic versioning is now used to detect if the installed
mitm addon is compatible with the current PCAPdroid version.
If yes, but a newer version is available, ask the user to
install the update but allow him to ignore it.

Closes #408
2024-08-17 16:49:25 +02:00
emanuele-f
bc61c0858b Fix two taps needed to close the app from Settings view
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
FLAG_ACTIVITY_NEW_TASK was incorrectly set, requiring pressing the
back button twice in order to close the app
2024-08-15 16:14:13 +02:00
emanuele-f
9436f9ec55 Add support for Android 33+ per-app language
On Android 33+, PCAPdroid now opens the system per-app language
selector. On previous versions, the in-app selector is used.

Closes #456
2024-08-15 16:02:08 +02:00
emanuele-f
80034e4711 Detect always-on VPN enabled after capture start
Hide the stop button in such a case

Closes #412
2024-08-15 14:38:10 +02:00
emanuele-f
c4331be97a Prevent possible OOB read in DNS reply parsing 2024-08-15 13:58:47 +02:00
emanuele-f
308de20cc7 Catch possible crash in getUserBadgedIcon
Happening on Google Pixel 4 XL, Android 8.1.0
2024-05-31 10:00:30 +02:00
emanuele-f
0351e7b9ac Support Unicode strings in the Wireshark plugin
Closes #435
2024-05-23 09:44:18 +02:00
emanuele-f
28aeae7317 Move Open PCAP file to separate menu item
This feature is not used very often, so it's better to start
the capture as the default action.

Closes #418
2024-04-20 18:55:19 +02:00
emanuele-f
014ee91ed2 Bump version to 1.7.2 2024-04-20 17:58:32 +02:00
emanuele-f
abd7aae4e0 Update dependencies 2024-04-20 17:58:19 +02:00
emanuele-f
6e65e5a7e3 Do not persist PCAPdroid trailer notice shown flag
It can be useful to clarify why apps are missing
2024-04-19 22:23:24 +02:00
emanuele-f
ebba4518f5 Fix broken open PCAP file feature
Broken since bf6e834f (v1.6.9)
2024-04-19 22:20:29 +02:00
emanuele-f
5e8f38b1fb Remove unused unzip function 2024-04-11 12:27:15 +02:00
emanuele-f
16ccc20750 Avoid duplicate cliboard copy notification on 13+
Since Android 13, Android itself will show a notification
when copying data to the clipboard
2024-04-11 10:55:05 +02:00
emanuele-f
78f67e75e5 Fix possible NullPointerException in AppsTogglesAdapter 2024-04-09 09:22:19 +02:00
emanuele-f
bc340af2be Bump version to 1.7.1 2024-03-28 21:43:40 +01:00
jonnysemon
9764809c85 Update Arabic strings 2024-03-12 10:45:18 +01:00
jonnysemon
3c00d6cc48 Update Arabic strings 2024-03-12 10:35:07 +01:00
大王叫我来巡山
5068a566b2 Update Chinese (Simplified) strings 2024-03-12 10:33:49 +01:00
Emanuele Faranda
5b2c02cf7d Update Italian strings 2024-03-12 10:33:49 +01:00
Oğuz Ersen
9cdfb9c162 Update Turkish strings 2024-03-12 10:33:41 +01:00
gallegonovato
4f460b930d Update Spanish strings 2024-03-12 10:33:38 +01:00
Mario Herrmann
a140f4e5e1 Update German strings 2024-03-12 10:33:33 +01:00
emanuele-f
6b52b0454c Hide IPv6 stats if IPv6 is disabled 2024-03-12 10:18:22 +01:00
emanuele-f
591cce0137 Restore old fragment stats calculation after last commit
This ensures that the stats value is in sync with the stats parameter
2024-03-11 18:08:35 +01:00
myzhan
4018db9953
Add IPv6 bytes stats (#421)
IPv6 bytes stats are now shown in the Stats activity and exposed in the CaptureCtrl API

Co-authored-by: emanuele-f <black.silver@hotmail.it>
2024-03-11 18:05:14 +01:00
emanuele-f
ebd5b589f6 Fix uninstalled apps not removed from app filter
Closes #417
2024-03-10 11:32:45 +01:00
emanuele-f
e502fe1ae5 Fix blacklists update when the clock goes backward
This fixes a possible corner case when the wall clock is set
back in time, which could cause the blacklists not to be
updated.

Closes #413
2024-02-18 23:31:39 +01:00
emanuele-f
630e911172 Add toggle for auto-reconnection on VPN termination
This allows the user to run other VPN apps, disconnecting PCAPdroid, and
restart it when they terminate.

Closes #411
2024-02-18 22:34:26 +01:00
emanuele-f
85ded375e9 Fix changelog 2024-02-10 15:59:18 +01:00
emanuele-f
854e9038ac Bump version to 1.7.0 2024-02-10 15:09:56 +01:00
topminipie
c7931a2744
Update actions (#406)
* Update debug-build.yml

* Update gradle-wrapper-validation.yml

* Update gradle-wrapper-validation.yml

* Update native-tests.yml

* Update windows-build.yml
2024-02-10 11:19:41 +01:00