Commit Graph

130 Commits

Author SHA1 Message Date
emanuele-f
4ac471f3a1 Handle missing Storage Access Framework on save
The Storage Access Framework may be missing in some Android devices,
expecially TVs, which sometimes implement an empty stub. In such cases,
PCAPdroid uses the deprecated API to save the file to the Downloads
folder in the internal memory.

Fixes #53
2021-03-30 00:56:49 +02:00
emanuele-f
8a8e96ee39 Remove home screen channel on Android TV 2021-03-29 22:14:07 +02:00
emanuele-f
1bb6ae3165 Fix UDP broadcast connections 2021-03-29 12:01:51 +02:00
emanuele-f
9bb1741456 Handle file selector exception 2021-03-29 11:11:03 +02:00
emanuele-f
fbabe5478f Fix host LRU resolution not performed in some cases 2021-03-25 11:29:40 +01:00
emanuele-f
429215400e Refresh connection details activity 2021-03-24 00:52:21 +01:00
emanuele-f
ab3d684fe7 Implement language switch
It is now possible to switch between the system default language and
the english language.
2021-03-23 23:40:14 +01:00
emanuele-f
6ae5f3fd04 Add initial language switch support
Also add italian translation
2021-03-23 19:26:15 +01:00
emanuele-f
7430687d8c Improve connection status reporting 2021-03-23 18:00:34 +01:00
emanuele-f
47e1d88aab Add IPv6 support
IPv6 must be manually enabled from the preferences. However, when an IPv6 gateway
is not available, the connections will fail with network unreachable.

Closes #2
2021-03-18 19:25:25 +01:00
emanuele-f
08e65d7223 Rework uid_resolver.c
Closes #1
2021-03-17 18:30:55 +01:00
emanuele-f
e7bdb27727 Avoid "No Apps" after starting the AppsActivity 2021-03-17 11:52:43 +01:00
emanuele-f
adcc8b6e5a Avoid unnecessary updates when in background 2021-03-17 11:38:49 +01:00
emanuele-f
6ae6a0f7b8 Use fallback DNS server when main network changes
This avoids using a private DNS server which isn't reachable anymore
2021-03-17 10:37:31 +01:00
emanuele-f
5e43340002 Add ICMP support
Closes #3
2021-03-09 16:19:47 +01:00
emanuele-f
afdd8ad043 Avoid loading all the installed apps when not necessary
This reduces the CPU and memory usage and also improves the adapters
responsiveness.

Closes #40
2021-03-08 21:20:31 +01:00
emanuele-f
778362fd07 Prevent crash in Bitmap.createBitmap 2021-03-08 13:10:58 +01:00
emanuele-f
407f1386ec Color fix 2021-03-07 13:09:36 +01:00
emanuele-f
d04b93edd0 Fix startup crash before Oreo 2021-03-07 12:35:45 +01:00
emanuele-f
d117a9342a Add ability to filter by unknown app 2021-03-05 16:56:25 +01:00
emanuele-f
569523f091 Remove unused resources and add TLS decryption help 2021-03-04 23:46:40 +01:00
emanuele-f
e8a56aa669 Add about view and share app 2021-03-04 23:14:30 +01:00
emanuele-f
fc31bf6e7c Add message for old untracked connections 2021-03-04 22:02:46 +01:00
emanuele-f
0f09214a09 Update copyright 2021-03-04 18:48:24 +01:00
emanuele-f
279c189f20 Honor uid filter while exporting CSV 2021-03-04 18:05:31 +01:00
emanuele-f
7c1075b6e7 Add Android TV support 2021-03-04 17:26:48 +01:00
emanuele-f
29d7ce8d63 Remove share action on connections log
The share intent data size is limited and the connections log can easily
exceed it.
2021-03-04 10:59:30 +01:00
emanuele-f
bea157d5e5 Add more known apps 2021-03-04 10:50:58 +01:00
emanuele-f
b31975c650 Restore ability to apply filter from the Apps view 2021-03-03 18:12:31 +01:00
emanuele-f
c51c765369 Implement connections export as CSV 2021-03-03 17:32:48 +01:00
emanuele-f
3f1028604d Ability to copy/share stats and connection details 2021-03-03 16:05:42 +01:00
emanuele-f
3ad73afcec Improve connection items layout
Also add first/last seen infromation in the connection details
2021-03-03 00:42:21 +01:00
emanuele-f
63cedf972c Restore status and connections tabs view 2021-03-02 18:52:11 +01:00
emanuele-f
6f009ce19a Rework app settings in status view quick settings 2021-03-02 17:39:39 +01:00
emanuele-f
94b93f3175 Fix notification icon 2021-03-02 10:32:25 +01:00
emanuele-f
76d422e92d Fix BroadcastReceiver leaks 2021-03-01 22:28:17 +01:00
emanuele-f
3460e27703 Unify sendCaptureStats and sendVPNStats 2021-03-01 22:11:55 +01:00
emanuele-f
6555724cc7 Fix notification not removed 2021-03-01 21:24:47 +01:00
emanuele-f
138f9c4650 Implement capture service notification 2021-03-01 21:05:40 +01:00
emanuele-f
7e7d469666 Implement ability to save the PCAP file in the device
Closes #24
2021-03-01 17:57:34 +01:00
emanuele-f
3e08121edc Add inspector link into the status view 2021-03-01 10:14:45 +01:00
emanuele-f
e5a774847b Retain UID filter on screen rotation 2021-02-28 11:07:08 +01:00
emanuele-f
46579b31db Fix apps information loading in fragments 2021-02-28 11:02:05 +01:00
emanuele-f
5df007ec38 Improve navigation drawer 2021-02-28 10:47:57 +01:00
emanuele-f
30fdea4d31 Rework layout via Navigation Drawer 2021-02-28 00:21:55 +01:00
emanuele-f
995f3cdfef Decouple fragments from MainActivity 2021-02-27 17:44:23 +01:00
emanuele-f
62b4c9e1d8 Decouple apps loading from MainActivity 2021-02-27 17:13:47 +01:00
emanuele-f
897a464809 Fix warnings 2021-02-27 11:01:19 +01:00
emanuele-f
dc08b8a18b Merge branch 'master' into dev 2021-02-20 21:36:42 +01:00
emanuele-f
673a70eed4 Fix wrong app state on first app start
On the first app start, when the VPN confirmation dialog was shown, the
app state remained in the "ready" state rather than transitioning to to
"running" state. The play button was not replaced with the stop button.
2021-02-20 21:34:58 +01:00