Commit Graph

75 Commits

Author SHA1 Message Date
emanuele-f
b2eb3fd8bc Fix crash when pressing start the 2nd time 2020-09-20 22:26:37 +02:00
emanuele-f
c30a50a473 Don't strip ndk debug symbols 2020-09-20 22:25:48 +02:00
emanuele-f
cabb9d2122 Bump version to 1.2.4 2020-09-18 21:26:15 +02:00
emanuele-f
149e3c193c Add contribution notes 2020-09-18 19:33:22 +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
a4c67ffa16 Bump version to 1.2.3 2020-02-19 20:36:59 +01: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
Emanuele Faranda
fc28934927
Merge pull request #5 from Atrate/master
Added Polish translation, translatable flags
2020-02-11 13:50:44 +00: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
d87387b326 Bump version to 1.2.2 2020-01-11 22:59:44 +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 Faranda
55174a3bdb
Update README.md 2020-01-07 10:08:18 +00: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 Faranda
fe8bff6c9f
Update README.md 2020-01-06 17:39:49 +00: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
fc79ac7136 Bump version to 1.2 2020-01-02 00:48:49 +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
emanuele-f
4676e6f778 Fix TLS server name extraction 2020-01-01 19:10:00 +01:00
emanuele-f
fd0437a853 Protocol detection fix 2019-11-10 14:12:43 +01:00
emanuele-f
31d4ea1af4 Fix some connections not shown
Some quick purged connections (e.g. DNS) were not shown. A 10 seconds
timeout is now used to ensure that all the connections are visualized.
2019-11-10 14:02:10 +01:00
emanuele-f
fed5223a04 Fix native crashes 2019-11-10 12:26:01 +01:00
emanuele-f
4e25aac8e6 Show nDPI information
NOTE: the code is still buggy and crashes randomly due to
unaligned accesses
2019-11-10 00:30:31 +01:00
emanuele-f
03b6a391c1 Add nDPI library module 2019-11-09 22:07:00 +01:00
emanuele-f
e7e8d154d4 Add nDPI cmake file 2019-11-09 21:39:53 +01:00
emanuele-f
acfabc2991 Remove inactive connections 2019-11-09 19:59:03 +01:00
emanuele-f
a7f926f763 Improve connections view 2019-11-09 13:23:04 +01:00
emanuele-f
11d948c6e2 Inititial active connection list visualization 2019-11-09 01:03:24 +01:00
emanuele-f
2b0b179e33 Add swipe view to show active connections 2019-11-08 23:47:42 +01:00
Emanuele Faranda
e210306b42
Update README.md 2019-11-08 00:38:58 +01:00
emanuele-f
b0b525128a Export active connections data 2019-11-08 00:33:31 +01:00
emanuele-f
e131b00dc2 Rename about to instructions 2019-11-03 23:18:41 +01:00
emanuele-f
a82d52f0ed Update icon 2019-11-03 23:12:34 +01:00
Emanuele Faranda
eca06cde24
Update README.md 2019-11-03 20:52:52 +01:00
Emanuele Faranda
dae0e32005
Add "How it Works" 2019-11-03 20:51:01 +01:00
emanuele-f
fb6db3af00 Add handshake diagram 2019-11-03 20:22:37 +01:00
Emanuele Faranda
0cf982f1ac
udp_receiver instructions and DNS information 2019-11-03 20:04:32 +01:00
emanuele-f
3619abecb5 Fix receiver issue when verbose is diasabled 2019-11-03 19:45:20 +01:00
emanuele-f
1494e7d06e Add UDP receiver python script
It handles PCAP headers automatically in order to make it easy to pause
and resume a capture
2019-11-03 19:35:17 +01:00