Commit Graph

215 Commits

Author SHA1 Message Date
emanuele-f
aedb505063 Add sku 2021-10-28 14:50:21 +02:00
emanuele-f
c8af0ff7a2 Update Italian localization 2021-10-28 14:10:01 +02:00
emanuele-f
1416328aae Add malware detection ad strings 2021-10-28 12:50:45 +02:00
emanuele-f
f7ac4bc730 Fix hide protocol not working after bd18c5e 2021-10-27 09:45:40 +02:00
emanuele-f
f1cdbebeff Add whois lookup button 2021-10-26 18:17:39 +02:00
emanuele-f
b0698b6246 Add ability to filter plaintext connections
Also add copy request plaintext option in the contextual menu
2021-10-26 16:50:02 +02:00
emanuele-f
431bcd6ba2 Ability to copy host/IP/URL without opening details 2021-10-26 16:24:53 +02:00
emanuele-f
c82b884b87 Current connections filter now shown with chips
Clicking a chip removes the corresponding filter
2021-10-26 15:50:55 +02:00
emanuele-f
eba3eaa572 Add lists help text 2021-10-26 12:12:35 +02:00
emanuele-f
dcdbd527e0 Show blacklisted status in the connection details 2021-10-26 10:46:58 +02:00
emanuele-f
f018c82cc3 If enabled, show allocs summary in the Stats 2021-10-25 17:46:48 +02:00
emanuele-f
dae0f26da9 Upgrade to Android 12 SDK 2021-10-25 12:06:16 +02:00
emanuele-f
c54c5e06fd Add osint.digitalside.it IP blacklist 2021-10-25 11:49:12 +02:00
emanuele-f
875304b918 Billing strings 2021-10-22 18:04:31 +02:00
emanuele-f
903816e836 Fix downloadFile connections not closed 2021-10-21 19:01:53 +02:00
emanuele-f
eece3e8cce Fix domain detection with www prefix
Also add the internetbadguys.com test domain
2021-10-21 16:14:54 +02:00
emanuele-f
bd18c5e195 Add ability to whitelist malicious connections
Needed for #105
2021-10-21 14:49:23 +02:00
emanuele-f
c20b56a4ac Remove apply from EditFilterActivity, add reset 2021-10-21 11:01:17 +02:00
emanuele-f
82850d5680 Implement blacklists reloading from URLs
The blacklists state is shown in the Stats activity.

Needed for #105
2021-10-20 22:02:00 +02:00
emanuele-f
e32b4713a6 Add missing notice 2021-10-20 16:00:21 +02:00
emanuele-f
cb4bbc454d Implement blacklist-based malware detection
A notification is generated when a connection matches known malicious
domains or IP addresses. The connections view reports malicious
connections with a skull icon. A filter can be set to only show them.

Needed for #105
2021-10-20 15:32:29 +02:00
emanuele-f
6b623ea34d Fix bad locale used in Edit Rules 2021-10-19 23:35:02 +02:00
emanuele-f
bb55072f45 Improve buttons style 2021-10-19 22:58:17 +02:00
emanuele-f
79ad691e73 Rename whitelist to hidden connections 2021-10-19 22:07:05 +02:00
emanuele-f
91d3194542 Implement "Edit Filter" activity
- Ability to filter connections by status
- Fix search button sometimes disappearing

Fixes #126
2021-10-19 19:59:50 +02:00
emanuele-f
bb477f9760 Make the whitelist a singleton 2021-10-19 16:08:41 +02:00
emanuele-f
ac77f5a47f Rename MatchList 2021-10-19 15:26:33 +02:00
emanuele-f
9c3c4ba121 Catch SecurityException to prevent crash with URI
A SecurityException occurs when the app does not have the permissions to
write the specified URI
2021-09-15 11:46:27 +02:00
emanuele-f
24f10dd24c Take persistable URI to write PCAPs from cli 2021-09-15 11:17:38 +02:00
emanuele-f
8bb1ff3caf Fix SearchView text not updated on filter 2021-09-11 16:24:47 +02:00
emanuele-f
a083a05f43 Fix boolean Intent options parsing 2021-09-11 15:55:18 +02: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
8181575f82 Fix wrong app filter shown when started via intents 2021-09-11 12:44:28 +02:00
emanuele-f
b56327af5c Copy action now also dumps request plaintext 2021-09-07 15:50:13 +02:00
emanuele-f
ce941d3999 Add null check 2021-09-07 10:44:15 +02:00
emanuele-f
25f495335a Add ability to select interface in root mode
Closes #110
2021-08-25 21:48:48 +02:00
emanuele-f
bdba16562d Add PCAPdroid API documentation
See #33
2021-08-20 15:21:26 +02:00
emanuele-f
1c5995e01e Implement start via intent
User permission is asked every time the intent is fired. Stopping capure
is allowed to the same app which started it without asking permission.

See #33
2021-08-20 00:58:22 +02:00
emanuele-f
dc1b5dc1b5 Remove "rate app" menu entry 2021-07-19 18:39:57 +02:00
emanuele-f
479aeb794b Add search by source port via exact match 2021-07-16 12:21:55 +02:00
emanuele-f
5637191b13 Add TCP flags for debugging 2021-07-16 12:15:28 +02:00
emanuele-f
bc28244e21 Rework time handling
Periodic tasks are now based on a monotonic timer. The timestamp in
the exported PCAP now corresponds to the original timestamp when using
root. Moreover, in-app first/last seen time now displays the milliseconds.

Closes #89
2021-07-06 15:54:26 +02:00
emanuele-f
4846a0b546 Add preference to toggle the PCAPdroid trailer
Closes #36
2021-07-04 15:08:08 +02:00
emanuele-f
0a935be6e4 Initial export of app info in PCAP
Initial work for #36
2021-07-02 00:45:19 +02:00
emanuele-f
da141fa8df Cleanup pcap_utils 2021-07-01 18:58:37 +02:00
emanuele-f
51dc0dde7e Fix bogus connections with root due to fragments
Connections with random ports sometimes appeared while capturing packets
as root, in particular while exporting data via the UDP exporter. These
were actually IP fragments, whose data was misinterpreted due to the
lack of L4 headers.
2021-07-01 18:27:28 +02:00
emanuele-f
9d427461cb Fix UDP exporter and HTTP dump modes with root
When exporting traffic over the network, we must exclude this traffic
from the monitoring, otherwise the traffic will be captured in a loop
2021-07-01 14:30:37 +02:00
emanuele-f
91cc995eff Refactor PCAP dump
PCAP dump now always occurs in Java
2021-07-01 11:01:15 +02:00
emanuele-f
258930d110 Fix multiple issues with ICMP connections
- Fix ping to known DNS servers being blocked
- Hide port number for ICMP connections
- Fix monodirectional ICMP connnections in root mode
2021-06-30 17:31:41 +02:00
emanuele-f
ca7c8127d9 Hide connections matching whitelist after delay
Some info of the connections, such as the host and the protocol, can
become available after the connection has been shown. Such info could
determine a match with the whitelist, in which case the connection must
be hidden.
2021-06-29 19:39:11 +02:00