Commit Graph

33 Commits

Author SHA1 Message Date
emanuele-f
4a7a55d504 Ability to block QUIC always or only on decryption
Commit ddec1a8 limited the ability to block QUIC to only
connections matching the decryption rules. Some users may still want
to always block QUIC for different reasons, so this commit makes it
possible to choose the block policy to apply.

See #369
2024-01-28 20:08:24 +01:00
emanuele-f
ddec1a85eb Only block QUIC for connections to decrypt
Since PCAPdroid can now be run with decryption enabled all the time, blocking
QUIC is now limited to the connections matching the decryption whitelist.
This also hides the block QUIC option when TLS decryption is disabled.

Closes #369
2023-12-25 17:06:58 +01:00
emanuele-f
6ca1073806 Fix glitch on capture start via intent-based API
When a user allows an app permanent capture control, starting the capture
caused the control permission dialog to be shown briefly, causing a glitch.
This is caused by the SOCKS5 host resolution logic introduced in 6d7708e.
To fix this, SOCKS5 host resolution is now disabled in the intent-based API
2023-12-02 16:14:55 +01:00
emanuele-f
6d7708eec0 Support IPv6 and host names in socks5 mode
Closes #343
2023-08-20 19:58:15 +02:00
emanuele-f
8e584fa8c2 Allow configuring SOCKS5 proxy auth
Closes #304
2023-03-16 12:17:52 +01:00
emanuele-f
2bde04c971 Fix incorrect pcap file size in Android 7
The internal dump size is now used instead of the
on-disk size
2023-01-15 10:15:15 +01:00
emanuele-f
0b322b0941 Implement PCAPNG dump format
It's now possible to dump packets in the PCAPNG format. This mode does
not currently support the PCAPdroid trailer option.
2023-01-07 19:48:20 +01:00
emanuele-f
46889738c7 Rework PCAP dump to file
PCAP dump to file has been reworked as follows:

- File selection dialog is not shown anymore when the capture starts
- The PCAP filea are saved to the Downloads/PCAPdroid folder
- Simplified mechanism to dump to an arbitrary URI (pcap_uri param)
- Add pcap_name parameter to specify PCAP file name

Overall, this simplifies user interaction and make it easier to
access the PCAP file.

Closes #183
2022-12-27 13:59:02 +01:00
emanuele-f
60460880af Ability to provide custom mitmproxy options
A new preference has been added to provide additional mitmproxy options

Closes #283
2022-11-24 20:02:37 +01:00
Emanuele Faranda
ff171cf8f3
Add info about new security checks 2022-07-12 10:57:24 +00:00
emanuele-f
d81a7a2356 Implement IPv6-only VPN mode
This allows running PCAPdroid over an IPv6-only network

See #223
2022-06-29 11:25:48 +02:00
emanuele-f
7433dcf9de Add ability to disable blocking of private DNS
Closes #164
2022-05-27 16:59:08 +02:00
emanuele-f
557690da1a Add ability to block QUIC when decrypting TLS
This can force apps to fallback to TLS, whose decryption is supported.

https://www.ietf.org/archive/id/draft-ietf-quic-applicability-09.html#section-2

Closes #213
2022-05-27 15:09:05 +02:00
Emanuele Faranda
f0d53ed671
Update app_api.md 2022-05-27 12:51:51 +02:00
emanuele-f
efce847438 Bump version to 1.4.8 2022-04-22 22:36:29 +02:00
emanuele-f
f8ccd99980 Simplify the payload mode preference
Turn it into a toggle which enables/disables the full payload
2022-04-12 22:54:07 +02:00
emanuele-f
35cdd7086b Add ability to display the full packet payload
- 3 modes: no payload, minimal payload (save memory), full payload
- Display payload as hexdump
- Display HTTP requests and responses as string
- Show decrypted HTTPS (requires mitm addon)
- Decode chunked encoding and gzip body
- Show websockets messages (only with TLS decryption enabled)
- An icon indicates the connections decryption status
- Easily copy the HTTP request/response from the context menu

See #107
2022-03-21 18:00:43 +01:00
emanuele-f
6f42015873 Initial support for built-in TLS decryption
PCAPdroid can now decrypt TLS connections and show the decrypted data
with the help of a separate mitm addon
2022-02-13 00:00:07 +01:00
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
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
6f73c46537
Update app_api.md 2021-11-22 19:35:54 +01:00
Emanuele Faranda
42df468221
Update app_api.md 2021-10-30 10:42:20 +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