Commit Graph

22 Commits

Author SHA1 Message Date
emanuele-f
dc31cbcb59 Add runtime stats view 2021-02-11 18:52:56 +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
b3f222cd3a Remove activity dependency on fragments 2021-02-07 12:44:40 +01:00
emanuele-f
c14597d92b Properly capture DNS traffic when app filter is set
This allows PCAPdroid to only capture the DNS traffic of the target
application rather than any DNS traffic with unknown app as before.
2021-01-26 18:35:32 +01:00
emanuele-f
e1a6436489 Add check for existing VPN
Android only supports running one VPNService at a time. Added a check to
ask user confirmation in case another VPN connection is active.
2021-01-21 22:07:25 +01:00
emanuele-f
9518e3bd6a Fix app crash when stopped from VPN settings 2021-01-16 23:20:35 +01:00
emanuele-f
94ff1487e1 Add null check 2021-01-11 14:39:44 +01:00
emanuele-f
1c81c2d9ff Add TLS decryption settings 2020-11-08 23:50:29 +01:00
emanuele-f
1c9d5b8a11 Update copyright 2020-09-18 18:58:20 +02:00
emanuele-f
3b6eb249ba JNI fixes and optimizations 2020-09-18 17:37:54 +02:00
emanuele-f
47aacace96 Fix some traffic not being monitored
The 128.0.0.0/1 route was missing, resulting in all the traffic for
higher IP addresses not being monitored
2020-06-09 19:02:42 +02:00
emanuele-f
cb3b34d697 Improve local IP address detection
The IP address of the WiFi interface is tried first. If inactive, then all the network interfaces
are iterated.
2020-01-11 15:45:25 +01:00
emanuele-f
4f25d1496b Bump version to 1.2.1, add CHANGELOG 2020-01-06 20:56:51 +01:00
emanuele-f
dab1bcb2fe Rename project to PCAPdroid 2020-01-06 19:38:47 +01:00
emanuele-f
14435311a5 Implement embedded HTTP server to provide an easy PCAP download option
It's now possible to choose the PCAP dump mode: none (no external PCAP dump), HTTP server, UDP exporter.
The HTTP server mode is a convenient way to download a PCAP without any client side configuration.
This also makes it possible to capture the PCAP data on a Windows pc, where the UDP collection mode is
not normally applicable.

Closes #13
2020-01-06 18:12:53 +01:00
emanuele-f
b0b525128a Export active connections data 2019-11-08 00:33:31 +01:00
emanuele-f
1dd7e982d6 Add option to enable/disable unknown app traffic capture 2019-11-03 18:58:40 +01:00
emanuele-f
d5c366c17e Fix app state handling
Fixes #6
2019-11-03 18:01:44 +01:00
emanuele-f
c4b34757b5 Implement runtime captured bytes monitor 2019-10-25 23:36:06 +02:00
emanuele-f
bb7968c541 Move settings to Prefs activity 2019-10-23 23:40:34 +02:00
emanuele-f
7feaf9b2c5 First commit 2019-09-08 22:09:03 +02:00