Commit Graph

126 Commits

Author SHA1 Message Date
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
7c44d9480b Merge branch 'master' into dev 2021-02-23 12:32:34 +01:00
emanuele-f
5d777851e3 Fix non-selectable text in connections details
Fixes #35
2021-02-23 12:31:35 +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
emanuele-f
f1490a05ea Revert "Add option to start the app with predefined settings"
This reverts commit 02f238a7b2.
Check out https://github.com/emanuele-f/PCAPdroid/issues/33 for details.
2021-02-20 10:37:53 +01:00
samuelp
02f238a7b2 Add option to start the app with predefined settings 2021-02-19 23:40:00 +01:00
emanuele-f
b2a7544bfd Add ability to filter the connections by app 2021-02-19 22:06:50 +01:00
emanuele-f
8d508b7cd1 Merge branch 'master' into dev 2021-02-19 14:40:18 +01:00
emanuele-f
a5c4078d7f Further reduce windows size to prevent ENOBUFS 2021-02-18 00:42:13 +01:00
emanuele-f
c78aba0dae Show fatal errors in the gui and terminate vpn 2021-02-17 17:27:53 +01:00
emanuele-f
d5a8c14131 Add apps view with per-app connections and volumes 2021-02-17 16:00:37 +01:00
emanuele-f
6d47d75805 Add check on FD_SETSIZE 2021-02-16 12:27:23 +01:00
emanuele-f
0713a674be Fix 0.0.0.0 sometimes shown in HTTP server mode 2021-02-16 12:08:01 +01:00
sr093906
7f617f5cf0
Update Chinese Strings (#31)
* Add files via upload

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Add files via upload

* Update strings.xml

* Update strings.xml
2021-02-15 17:36:18 +01:00
emanuele-f
e325a52153 Reorganize code in subdirectories 2021-02-14 22:53:37 +01:00
emanuele-f
cd154b261f Merge branch 'master' into dev 2021-02-14 22:16:12 +01:00
emanuele-f
3235c0334b Prevent IPv6 DNS servers from being used
Also show the currently used DNS server in the runtime stats
2021-02-14 19:04:37 +01:00
emanuele-f
20b949267d Fix app filter selection when search is used 2021-02-14 18:51:38 +01:00
emanuele-f
99bd931817 Sync adapter items count with its notifications
This should prevent an occasional IndexOutOfBoundsException: Inconsistency detected
after resuming the app
2021-02-14 18:34:08 +01:00
emanuele-f
452683f0b8 Implement app filter search bar and sort 2021-02-14 15:45:51 +01:00
emanuele-f
0abb670099 Increase max number of connections 2021-02-14 12:20:56 +01:00
emanuele-f
d52e7217ae Fix crash in RecyclerView due to misaligned state 2021-02-13 14:55:19 +01:00
emanuele-f
dd1011809a Show active connections indicator and improve layout 2021-02-13 12:42:41 +01:00
emanuele-f
90dc3cf4f9 Optimize RecyclerView operations
This provides both better performance and nice animations
2021-02-12 23:53:40 +01:00
emanuele-f
d08c3d3f64 Implement connections autoscroll and scroll to bottom 2021-02-12 23:03:14 +01:00
emanuele-f
86ae093e31 Add missing license comments 2021-02-12 18:41:31 +01:00
emanuele-f
9722b221ce Migrate connections view to RecyclerView 2021-02-12 18:25:54 +01:00
emanuele-f
c43f2e8f6c Implement persistent connections log 2021-02-12 17:14:18 +01:00
sr093906
150097a6f7
Update Chinese Strings (#29)
* Add files via upload

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Add files via upload

* Update strings.xml
2021-02-12 12:25:23 +01:00
emanuele-f
8cbad66676 Hide settings menu item when app is running
Settings only have affect when the start button is pressed
2021-02-11 19:21:42 +01:00
emanuele-f
a36936fc3e Dropped connections counter color set to red 2021-02-11 19:05:50 +01:00
emanuele-f
dc31cbcb59 Add runtime stats view 2021-02-11 18:52:56 +01:00
emanuele-f
e63ea8fa14 Add further checks to dump_pcap_rec 2021-02-11 15:32:40 +01:00
emanuele-f
8ef66211d3 Integrate zdtun socket handling improvements 2021-02-11 15:13:31 +01:00
sr093906
1196c9ffe8
Update Chinese Strings (#23)
* Add files via upload

* Update strings.xml

* Update strings.xml

* Update strings.xml
2021-02-08 17:48:35 +01:00
emanuele-f
1bb08e3b0c Reduce probability of sending packets with private IPs
When starting/stopping the VPNService, some packets with internal IP
addresses 10.215.173.1 and 10.215.173.2 may be sent over the LAN.
Based on trial and error, this patch reduces such events. In
particular we can see:

- At startup, DNS queries with internal DNS server 10.215.173.2
- At shutdown, some packets with source IP 10.215.173.1

The shutdown issue is more frequent when stopping the VPN from the
android VPN settings. This also happens with other VPN apps.
2021-02-08 01:00:02 +01:00
emanuele-f
13706f8baa Add apps loading in progress message 2021-02-07 18:13:57 +01:00
emanuele-f
f862e8fe05 Move start/stop button to the action bar 2021-02-07 17:51:16 +01:00
emanuele-f
5c8c8ddec0 Clear connections fragment on capture restart 2021-02-07 16:50:31 +01:00
emanuele-f
b3f222cd3a Remove activity dependency on fragments 2021-02-07 12:44:40 +01:00
emanuele-f
c389468037 Fix filter icon issues 2021-02-06 15:18:50 +01:00
TacoTheDank
3a1613c876 Fix some drawables 2021-02-04 17:11:50 -05:00