Skip to content

feat(network): observe connections for a selected app - #271

Merged
niranjan94 merged 1 commit into
mainfrom
feat/per-app-network-observation
Dec 1, 2026
Merged

niranjan94 merged 1 commit into
mainfrom
feat/per-app-network-observation

Conversation

@niranjan94

@niranjan94 niranjan94 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add App options → Network observation so a user can start and stop a visible Android VPN session for one installed app and review destination IPs, ports, times, and byte counts. The local forwarder sends traffic to its original destinations, preserves TLS, and keeps up to 500 connection records in memory. Local networks bypass observation.

Evidence

  • Before The prototype timed out on a 4,096-byte UDP probe.
  • After On Android 17, two separate app UIDs completed TLS 1.3 and UDP requests. Only the selected app's endpoints appeared in the report, with exact IP byte counts. A 4,096-byte echo, a 33-second delayed reply, private-network bypass, revocation, competing VPN handling, and cleanup passed.
  • On the rebased build, verified the VPN, Hybrid JavaScript preview and Hermes disassembly, both license pages, symbol mapping controls, and current permission grants. All 90 unit tests and both lint variants passed. The combined release APK and bundle retained both service declarations and attributions, packaged the ARM64 VPN library alongside HotSpot, and passed 16 KiB alignment checks.

Merge Danger

Door Two-way

Blast Radius Opt-in VPN sessions and native Android packaging.

Reviewed with sol-loop: 3 rounds with GPT-6.2 Sol on high. Sol verdict: approved.

@niranjan94
niranjan94 force-pushed the feat/per-app-network-observation branch from 768b794 to 6414b92 Compare December 1, 2026 21:20
@niranjan94
niranjan94 force-pushed the feat/per-app-network-observation branch from 6414b92 to b41c185 Compare December 1, 2026 21:27
@niranjan94
niranjan94 merged commit 9d9403f into main Dec 1, 2026
2 checks passed
@niranjan94
niranjan94 deleted the feat/per-app-network-observation branch December 1, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant