Repository navigation
Report connection start times and rank packet tunnel traffic - #10
Merged
Merged
Conversation
MimoProxy
force-pushed
the
kernel/tunnel-traffic
branch
from
November 21, 2026 15:58
662744d to
d43824d
Compare
Active connection rows now carry the start time in Unix milliseconds and are returned newest first, so clients can list recent connections at the top without guessing from connection IDs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The packet tunnel session now totals upload, download and connection counts per destination host and per selected policy. Closed connections are booked once from their final counters when they leave the active table; active connections add their current counters at query time. Totals are bounded and overflow into an aggregate entry. New operations: trafficRanking returns the totals since the session started or was last reset, and resetTrafficRanking clears them. The backend gains an optional close callback, which only the packet tunnel registers, and UDP flows wait for in-flight writes before reporting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MimoProxy
force-pushed
the
kernel/tunnel-traffic
branch
from
November 21, 2026 16:17
d43824d to
810269d
Compare
MimoProxy
enabled auto-merge (rebase)
November 21, 2026 16:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes for the iOS packet tunnel, one commit each.
Connection start times
connectionsrows gainstartMs(Unix milliseconds) and are returned newest first, ties broken by ID.Traffic ranking
other/otherOutbounds, so the overall totals are conserved.trafficRanking(limit, default 50, max 200) returns{sinceMs, hosts, outbounds, other}.resetTrafficRankingclears the totals.OnConnectionClosedcallback. Only the packet tunnel registers it, so other platforms are unchanged.Interface change for clients
startMsis a new field on connection rows.trafficRankingandresetTrafficRankingare new operations.🤖 Generated with Claude Code