Commit Graph

21 Commits

Author SHA1 Message Date
emanuele-f
7a1a0e6981 Reaching max_dump_size does not stop the capture
Now only the PCAP dump is stopped when max_dump_size is reached
2022-02-03 11:59:40 +01:00
emanuele-f
02b143aa42 Reorganize tests 2022-01-29 18:43:29 +01:00
emanuele-f
9052bd8f5f Return the PCAPdroid version in get_status 2022-01-28 18:29:37 +01:00
emanuele-f
e00870b23e New dump parameters for the Intent-based API
- snaplen: limit the size of a every packet
- max_pkts_per_flow
- max_dump_size: stop the capture when the size limit is reached
2022-01-25 15:57:38 +01:00
emanuele-f
3364a4946e Fix SecurityException with PCAP file dump on Android TV
When no file manager was available, takePersistableUriPermission
was called without an Intent (and the corresponding
FLAG_GRANT_PERSISTABLE_URI_PERMISSION flag), causing a
SecurityException.

Fixes #176
2022-01-21 00:17:14 +01:00
Emanuele Faranda
472b7f4a18
Update testing.md 2022-01-20 20:09:32 +01:00
emanuele-f
a59664415a Add DPI and malware detection tests 2022-01-20 20:07:13 +01:00
Emanuele Faranda
6f73c46537
Update app_api.md 2021-11-22 19:35:54 +01:00
Emanuele Faranda
cff85f84ea
Update how_it_works.md 2021-10-30 19:42:23 +00:00
Emanuele Faranda
fa24d6010d
Update how_it_works.md 2021-10-30 19:36:13 +00:00
Emanuele Faranda
42df468221
Update app_api.md 2021-10-30 10:42:20 +00:00
Emanuele Faranda
b9b4010ced
Create how_it_works.md 2021-10-29 13:44:27 +00:00
Emanuele Faranda
12d627a051
Update app_api.md 2021-10-28 00:59:21 +02:00
Emanuele Faranda
642180a1b7
Update app_api.md 2021-09-14 20:46:36 +00:00
Emanuele Faranda
1aea5df86a
Fix wrong parameter names 2021-09-14 20:03:23 +00:00
emanuele-f
ca3889fab9 Improve control via Intent
- Fix app state not refreshed
- Fix VPNService.prepare not called
- Add missing pcap_uri parameter
2021-09-11 15:45:31 +02:00
emanuele-f
25f495335a Add ability to select interface in root mode
Closes #110
2021-08-25 21:48:48 +02:00
Emanuele Faranda
8f7d08aa23
Update app_api.md 2021-08-20 16:04:47 +02:00
Emanuele Faranda
af0a905f48
Update app_api.md 2021-08-20 15:39:45 +02:00
Emanuele Faranda
c497a954b6
Update app_api.md 2021-08-20 15:30:25 +02:00
emanuele-f
bdba16562d Add PCAPdroid API documentation
See #33
2021-08-20 15:21:26 +02:00