Skip to content

fix: correct --no-dirty-tracking docs and add fd00::/64 to ss -K filter#537

Closed
claude-claude[bot] wants to merge 1 commit intorouted-mode-fixesfrom
claude/fix-22561374350
Closed

fix: correct --no-dirty-tracking docs and add fd00::/64 to ss -K filter#537
claude-claude[bot] wants to merge 1 commit intorouted-mode-fixesfrom
claude/fix-22561374350

Conversation

@claude-claude
Copy link
Copy Markdown
Contributor

@claude-claude claude-claude bot commented Mar 2, 2026

Auto-Fix for PR #536

Issues Fixed

  1. [MEDIUM] --no-dirty-tracking CLI help text contradicts DESIGN.md: The CLI description and code comments incorrectly claimed that disabling dirty tracking enables memory page sharing between clones. DESIGN.md's own empirical data shows MAP_PRIVATE CoW still copies pages to Private_Clean regardless of dirty tracking. Updated all descriptions to accurately state the flag reduces KVM bitmap overhead.

  2. [MEDIUM] ss -K filter missing fd00::/64 exclusion: The detection logic correctly classified [fd00: connections as local, but the ss -K filter didn't exclude them. Added fd00::/64 to the filter (ss accepts bare IPv6 CIDR syntax without brackets). Fixed the incorrect comment that claimed fd00:: traffic was preserved by the 10.0.2.0/24 IPv4 rule.

Changes

  • src/cli/args.rs: Updated --no-dirty-tracking help text to describe KVM bitmap overhead reduction instead of false sharing claim
  • src/commands/snapshot.rs: Updated dirty tracking code comment
  • src/commands/common.rs: Updated RestoreParams::track_dirty_pages doc comment
  • fc-agent/src/network.rs: Added fd00::/64 to ss -K exclusion filter, fixed comment

Generated by Claude | Review Run

- Fix misleading CLI help and code comments that claimed --no-dirty-tracking
  enables memory page sharing between clones. Per DESIGN.md's empirical data,
  MAP_PRIVATE CoW still copies pages to Private_Clean regardless of dirty
  tracking. The flag reduces KVM bitmap overhead but does not enable sharing.
- Add fd00::/64 (pasta ULA IPv6) to the ss -K exclusion filter so IPv6
  gateway connections are preserved after snapshot restore, matching the
  detection logic that already classifies [fd00: as local.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ejc3
Copy link
Copy Markdown
Owner

ejc3 commented Mar 2, 2026

Superseded by fixes in #536

@ejc3 ejc3 closed this Mar 2, 2026
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