Commit Graph

158 Commits

Author SHA1 Message Date
emanuele-f
6b3fb1c2d0 Fix root domain rule label 2021-06-25 09:22:56 +02:00
emanuele-f
01b4fa1a60 Add null check 2021-06-14 18:34:38 +02:00
emanuele-f
0c4b33c4ba Implement ability yo search connections
Through the search bar is now possible to search connections by host,
IP, protocol, uid, app name or package name.

Closes #67
2021-06-14 18:25:58 +02:00
emanuele-f
209b24ccd6 Remove leftover 2021-06-14 15:47:35 +02:00
emanuele-f
66f27ff805 Add ability to copy/share whitelist 2021-06-14 15:38:29 +02:00
emanuele-f
f49c34ddec Rework whitelist
The whitelist editor is now a separate activity. Whitelist removed from
the ConnectionRegister.
2021-06-14 15:21:57 +02:00
emanuele-f
9b7675d6e2 Rename "exclusions" to "whitelist" 2021-06-14 11:15:36 +02:00
emanuele-f
c5ef7caf31 Fix label for apps exclusions 2021-06-11 21:19:27 +02:00
emanuele-f
a642ddbd0d Optimize connections matching 2021-06-11 21:01:17 +02:00
emanuele-f
8701eb9145 Add ability to exclude a root domain 2021-06-11 18:53:09 +02:00
emanuele-f
2983be8ecf Optimize adapter ops with connections filters 2021-06-11 18:22:25 +02:00
emanuele-f
c190caadfd Fix app filter not working when using exclusions 2021-06-11 15:29:10 +02:00
emanuele-f
4a4886b0ed Make exclusions persistent 2021-06-09 16:52:46 +02:00
emanuele-f
404f5e0238 Implement ability to ignore connections
An exclusion list can now be created to hide connections matching the
specified host, app, IP address or protocol.

Closes #68
2021-06-09 15:35:45 +02:00
emanuele-f
0d48c1f141 Fix deprecations 2021-06-05 13:06:02 +02:00
Taco
c28acd2804
Fix several deprecations (#63)
* Update Gradle and RecyclerView
* Use FragmentContainerView
* Fix onActivityResult deprecations
* Fix onRequestPermissionsResult deprecation

Co-authored-by: emanuele-f <black.silver@hotmail.it>
2021-06-05 11:47:31 +02:00
emanuele-f
50bc81e575 Show request plaintext regardless of the protocol 2021-06-03 12:27:28 +02:00
emanuele-f
78d2e12233 Add ads placeholders 2021-06-03 11:36:06 +02:00
emanuele-f
e65ff93972 Add ability to read the root daemon log 2021-06-02 00:01:10 +02:00
emanuele-f
f777ed16c2 String trailing newlines from HTTP request data 2021-06-01 22:39:07 +02:00
emanuele-f
1f32813f1f HTTP requests data is now shown in the details
Also move to the material theme

Closes #38
2021-06-01 19:02:17 +02:00
emanuele-f
2ff3fec947 Fix URL when an HTTP proxy is used
Also show the proxy URL in the connection details
2021-05-01 16:42:53 +02:00
emanuele-f
c2df8436ab Implement ability to capture packets as root
This requires a rooted device. It allows PCAPdroid to run with other VPN
apps.
2021-05-01 12:02:48 +02:00
emanuele-f
72949b0284 Update zdtun 2021-04-14 12:32:42 +02:00
emanuele-f
b02989598f Implement SOCKS5 proxy support
When enabled, all the TCP connections will be redirected to a SOCKS5
proxy. This also removes the need to use a customized mitmproxy to
perform the TLS decryption.
2021-04-09 10:52:25 +02:00
emanuele-f
547af36b73 Implement splash screen for cold start 2021-03-30 13:00:26 +02:00
emanuele-f
2b52fcaa50 Make fab down clickable on Android TV 2021-03-30 13:00:26 +02:00
emanuele-f
049af45f42 Implement dark theme
Closes #46
2021-03-30 13:00:26 +02:00
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