Commit Graph

469 Commits

Author SHA1 Message Date
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
b1a7d25389 Add 0.0.0.1 as a blacklist testing IP address 2021-10-26 11:02:51 +02:00
emanuele-f
dcdbd527e0 Show blacklisted status in the connection details 2021-10-26 10:46:58 +02:00
emanuele-f
6173ef2798 Offload blacklists reload to a separate thread
This avoids slowing down the capture thread during the reload
2021-10-25 19:10:43 +02:00
emanuele-f
f018c82cc3 If enabled, show allocs summary in the Stats 2021-10-25 17:46:48 +02:00
emanuele-f
4645b16a05 Track memory allocations 2021-10-25 17:02:25 +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
61711d47ba Fix alignment 2021-10-24 15:36:38 +02:00
emanuele-f
d93bed560c Fix bug causing connections not to be updated
next_connections_dump was decremented by a wrong count, which could
cause it to wrap. When this occurred, connections in the GUI where not
updated anymore (new connections not shown, old connections not updated)
2021-10-24 15:24:41 +02:00
emanuele-f
875304b918 Billing strings 2021-10-22 18:04:31 +02:00
emanuele-f
da3f155ad8 Merge branch 'master' into dev 2021-10-21 22:16:11 +02:00
emanuele-f
903816e836 Fix downloadFile connections not closed 2021-10-21 19:01:53 +02:00
emanuele-f
47ddb23e4b Improve connections handling
- Improve netd resolution with root capture
- Fix nDPI detection not performed on some closed connections
- Fix missing blacklist match on some connections
2021-10-21 18:50:28 +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
0f980239e2 Fix java version 2021-10-14 20:06:58 +02:00
emanuele-f
1809a3d88c Update dependencies
- libpcap 1.10.1
- nDPI 4.0
- gradle, ndk, build tools
2021-10-14 19:48:16 +02:00
emanuele-f
4088285d16 Add option to write PCAP to file 2021-09-22 11:27:35 +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 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
862953d5a3 Bump version to 1.4.2 2021-09-11 17:10:06 +02:00
emanuele-f
5921e71eee Fix debug symbols added to release build 2021-09-11 17:02:43 +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
b410cbca25 Update IT localization 2021-09-11 11:29:46 +02:00
emanuele-f
b56327af5c Copy action now also dumps request plaintext 2021-09-07 15:50:13 +02:00
emanuele-f
959db94996 Fix root capture after 241a39a 2021-09-07 15:45:56 +02:00
emanuele-f
ce941d3999 Add null check 2021-09-07 10:44:15 +02:00
RyoidenshiAokigahara
0c7c5f6c3c
Added github action to build debug apk on each push and pull request (#117)
Average build time was about 3-4 minutes
2021-09-04 11:58:00 +00:00
RyoidenshiAokigahara
e636a95a63
New strings related to capture requests (#116)
RU translation
2021-09-04 01:03:08 +02:00
emanuele-f
241a39ae91 Improve pcapd error reporting
This makes it possible to get pcapd errors which occur before the
logfile is open.
2021-09-01 14:37:59 +02:00