Commit Graph

764 Commits

Author SHA1 Message Date
emanuele-f
af2df846fd Add ability to unblock connections from context menu 2022-05-19 22:50:49 +02:00
emanuele-f
3be18fb2e5 Add app context menu to quickly add firewall rule
Moreover, the apps list now shows a ban icon if the app is blocked
2022-05-19 14:46:25 +02:00
emanuele-f
67dae23ca2 Add apps icons in lists 2022-05-19 12:58:58 +02:00
emanuele-f
bc5589d2e1 2nd-level domain rules now match all subdomains
A rule like "example.com" is now interpreted as "*.example.com", so it
will match all its sub-domains (e.g. "yet.another.example.com"). This is
importantant, in particular, to match malware subdomains.
2022-05-19 12:22:52 +02:00
emanuele-f
667a9b6e39 Small ui improvements 2022-05-19 12:22:52 +02:00
Emanuele Faranda
4e99524c18
Update README.md 2022-05-18 19:16:38 +00:00
Emanuele Faranda
02d0eae2c5
Add matrix link 2022-05-18 19:16:08 +00:00
emanuele-f
8db2463bb9 App rules are now identified by package name
Previously app rules where identified by app UID. The UID changes
across (re)installations, so it could result in a different app match.

Fixes #206
2022-05-18 16:56:50 +02:00
emanuele-f
f3bf5e282c Fix VPN marked as metered on newer Android 2022-05-18 12:30:22 +02:00
emanuele-f
2cb44daddb Ignore font scaling for payload text size
This prevents splitting hexdump lines on most devices
2022-05-18 12:19:53 +02:00
emanuele-f
46af0e6fc1 Fix unrendered whitespaces in some devices
Some devices have a bad monospace font
2022-05-18 12:07:02 +02:00
emanuele-f
351a741eb0 Fix payload text sometimes not selectable 2022-05-18 11:51:06 +02:00
emanuele-f
c0ec3e6421 Add app details connections tab
Closes #204
2022-05-17 20:01:02 +02:00
emanuele-f
68d661d625 Split app details activity into fragment 2022-05-17 19:22:46 +02:00
emanuele-f
30b73bab84 Make connections card clickable
Clicking it shows the related connections
2022-05-17 16:11:19 +02:00
emanuele-f
51224accb6 Implement firewall status
- Ability to enable/disable the firewall at runtime
- Blocked connections stats: num blocked, last block, jump to
  connections
- In the app details, show traffic and total/blocked connections
2022-05-17 15:58:09 +02:00
emanuele-f
5facf66175 Add ability to import/export rules
This applies to: firewall, malware whitelist, hidden connections
2022-05-16 17:42:58 +02:00
emanuele-f
9a4bdf7271 Add debug toasts in case of certificate issues 2022-05-12 22:07:46 +02:00
emanuele-f
5e63567926 Add phone app uid mapping 2022-05-01 18:54:59 +02:00
emanuele-f
966ac47de2 Ensure consistent package name for shared uids
Fixes #200
2022-05-01 18:47:21 +02:00
emanuele-f
f90eec7c59 Add "Malicious" column in the CSV file export
The column is only added when malware detection is enabled.

Closes #142
2022-05-01 18:41:03 +02:00
emanuele-f
f456ef0365 Show message for blocked connections in the details 2022-05-01 18:33:48 +02:00
emanuele-f
6774545da0 Ability to manually download the geolocation db
This removes the bundled geolocation db, saving about 8 MB of space.
It is now possible to manually download the database from the app settings.

Closes #172
2022-05-01 17:08:27 +02:00
emanuele-f
4c93c72cd2 Use the new mitm-addon per-abi releases 2022-05-01 00:03:59 +02:00
emanuele-f
9608d48522 Rename mitm receiver message variables 2022-04-30 18:24:40 +02:00
emanuele-f
737d955c26 Fix SSLKEYLOG export dialog shown with no decryption
Fixes #199
2022-04-30 12:11:52 +02:00
emanuele-f
0b2afde0b5 Move to stable robolectric 4.8 release 2022-04-28 19:51:49 +02:00
emanuele-f
833cf8022d Rename connection "open" status to "active" 2022-04-27 18:37:35 +02:00
emanuele-f
91cbbe4fd3 Fix "full payload" preference hidden on root capture 2022-04-27 18:29:04 +02:00
emanuele-f
af118eef99 Fix hexdump misplaced in right-to-left languages 2022-04-27 18:01:09 +02:00
emanuele-f
38e24f4a1f User can now specify text/hexdump visualization 2022-04-27 17:12:11 +02:00
emanuele-f
6ffcdd41da Sort payload by request/reply pairs
This removes the need for "jump to reply" buttons, which were not user
friendly. Also display the ContentType in the payload chunk heading
2022-04-27 14:47:29 +02:00
emanuele-f
ede31c61d7 Improve mitm addon control and status reporting
This fixes the addon not being stopped when a start request is
followed by a stop request in a short interval
2022-04-26 19:01:34 +02:00
emanuele-f
6854284db0 Fix export of SSLKEYLOG
The keylog export dialog now appears automatically when the capture is
stopped and PCAP dump is enabled
2022-04-26 16:32:11 +02:00
emanuele-f
4e89c54724 Fix tests with SDK 32 2022-04-26 11:32:42 +02:00
emanuele-f
3fe6f4ca3c Update to SDK 32, ndk, gradle and androidx 2022-04-26 11:18:16 +02:00
emanuele-f
efce847438 Bump version to 1.4.8 2022-04-22 22:36:29 +02:00
emanuele-f
f22a07f989 Catch possible SecurityException with apps filter 2022-04-19 23:36:43 +02:00
emanuele-f
da34a5529d Fix crash with TLS decryption and app filter set 2022-04-19 22:59:23 +02:00
emanuele-f
58b2da09e5 Avoid capturing the mitm-addon own traffic
This allows TLS decryption to be enabled system-wide
2022-04-19 22:38:18 +02:00
emanuele-f
3ca3603ed0 Show warning if no app data is exchanged 2022-04-19 19:25:48 +02:00
emanuele-f
37955540f2 Handle new mitmproxy errors 2022-04-19 17:43:53 +02:00
emanuele-f
7b8eb2d24b Fix IP, country and decryption status not copied
When copying to clipboard or sharing the connection details
2022-04-14 15:09:06 +02:00
emanuele-f
05ca7a4617 Improve connection overview
- Show the decryption status
- Show payload size
- Show warning if connection start is not seen (root)
2022-04-14 15:00:42 +02:00
emanuele-f
06a98d3486 Add decryption status filter 2022-04-14 11:37:38 +02:00
emanuele-f
5dfe15c4d9 TLS decryption now uses SOCKS5 auth
This prevents other processes from using the proxy
2022-04-14 01:04:09 +02:00
emanuele-f
ab697a186f Pass mitm args as object 2022-04-13 21:55:36 +02:00
emanuele-f
bc80a5fb44 Read timestamp from the mitm plugin, fix warnings 2022-04-13 18:49:54 +02:00
emanuele-f
64900d5f59 Improve payload visualization
- The "jump to reply" button is only shown for non-consecutive items
- Removed extra space when paginated
2022-04-13 18:01:28 +02:00
emanuele-f
710cd7b471 Fix content-length header not used 2022-04-12 23:16:47 +02:00