Commit Graph

80 Commits

Author SHA1 Message Date
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
TacoTheDank
f41d8655ec Migrate activity to ViewPager2 2021-02-04 17:11:37 -05:00
TacoTheDank
4f4ca2a3b3 Update stuff in build.gradle 2021-02-04 15:40:43 -05:00
TacoTheDank
ee7aba7945 Delete unnecessary files 2021-02-04 14:03:40 -05:00
emanuele-f
226d3c334a Fix DNS-over-TLS internal connection shown 2021-01-26 19:17:16 +01:00
emanuele-f
4c8ba2da10 Fix no traffic when "No Filter" is selected 2021-01-26 19:16:49 +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
4bc4745b50 Move to minimum API version 21 (lollypop)
It provides material design as long as new VPNService related APIs.
2021-01-26 17:47:18 +01:00
emanuele-f
8bb3666702 Fix empty apps list in Android 11
Due to package visibility changes in the API, QUERY_ALL_PACKAGES is now required.
2021-01-25 16:24:45 +01:00
emanuele-f
3bcd157283 Fix bad include 2021-01-23 18:31:04 +01:00
emanuele-f
a0cad89658 Fix disabled button when VPN request is denied 2021-01-22 15:00:44 +01:00
emanuele-f
3355b7baed Simplify project structure and build
The ndpi and zdtun modules have been removed and directly integrated
into the vpnproxy-jni makefile
2021-01-22 14:33:36 +01:00
sr093906
db7e1e6c87
Update strings.xml 2021-01-22 12:19:42 +08:00
sr093906
7be6cf0e31
Update strings.xml 2021-01-22 12:19:09 +08:00
emanuele-f
ef09f36109 Change telegram channel to group 2021-01-21 22:53:42 +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
c4af4c80b6 Fix some broken TCP connections due to big packets 2021-01-11 23:41:40 +01:00
emanuele-f
94ff1487e1 Add null check 2021-01-11 14:39:44 +01:00
emanuele-f
bca7b8e284 Periodically call zdtun_purge_expired
This is necessary in order to free memory before connections limit it's reached
2021-01-11 14:31:44 +01:00
sr093906
e952116bc6
Create strings.xml 2021-01-09 18:12:10 +08:00
emanuele-f
31bf679ffb Resolve system apps UIDs 2021-01-07 23:46:34 +01:00
emanuele-f
b812ccdfb9 Fix app ID not resolved on android >= Q 2021-01-07 23:44:21 +01:00
emanuele-f
6d9e625806 Add links: rate app, telegram channel, user guide 2020-11-16 15:03:09 +01:00
emanuele-f
afebac6904 Fix view consistency when app filter is in use
The Connections view now only shows the connections matching the current
app filter. TLS mitm is now performed based on the app filter.
2020-11-16 14:30:21 +01:00
emanuele-f
26c25c05ed Fix occasional crash due to null ConnDescriptor in array 2020-11-15 19:06:23 +01:00
emanuele-f
1c81c2d9ff Add TLS decryption settings 2020-11-08 23:50:29 +01:00
emanuele-f
47599a2794 Initial support for TLS decryption 2020-11-08 22:33:17 +01:00
emanuele-f
b2eb3fd8bc Fix crash when pressing start the 2nd time 2020-09-20 22:26:37 +02: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
0fec9f997b Fix bad JNI types 2020-09-18 14:56:22 +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
566eecf4b9 Attempts to address crash in SetByteArrayRegion
#00  pc 0000000000081f74  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
 #01  pc 00000000004b1ea0  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2268)
 #02  pc 000000000000c5b4  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+608)
 #03  pc 0000000000373490  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1592)
 #04  pc 00000000003d1170  /apex/com.android.runtime/lib64/libart.so (art::JNI::SetByteArrayRegion(_JNIEnv*, _jbyteArray*, int, int, signed char const*)+1548)
 #05  pc 0000000000003160  /data/app/com.emanuelef.remote_capture-xiEcJOAl9FXbn5MvKtbhMA==/lib/arm64/libvpnproxy-jni.so
 #06  pc 00000000000038d4  /data/app/com.emanuelef.remote_capture-xiEcJOAl9FXbn5MvKtbhMA==/lib/arm64/libzdtun.so
2020-02-19 20:27:15 +01:00
emanuele-f
6d665bf9d8 Manually free local references in sendConnectionsDump
This is needed to avoid the "local reference table overflow" error.
Also impose a maximum number for dumped connections.
2020-02-19 19:53:48 +01:00
emanuele-f
8c89b5508a Add secondary layout for screens <= 480dp 2020-02-19 19:31:05 +01:00
Atrate
acf87a73e0
Added additional translatable flags 2020-02-11 11:17:20 +01:00
Atrate
9547b91c1f
Added Polish translation 2020-02-11 11:15:25 +01:00
Atrate
6bdec4a980
Added "translatable" flag 2020-02-11 10:48:54 +01: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
b1da40d478 Fix crash due to null drawable 2020-01-11 15:05:53 +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
930bfaa218 Implement PCAP dump mode selector 2020-01-05 21:05:11 +01:00
emanuele-f
a4b6924acb nDPI API update 2020-01-02 16:11:41 +01:00
emanuele-f
9f2ca6c335 Implement connection details view
Closes #17
2020-01-01 23:40:54 +01:00
emanuele-f
44a9f1fb67 Use the system DNS server if possible
Closes #5
2020-01-01 19:31:28 +01:00