[Security] Re-enable SMB connectors only with pinned peers and DFS referrals #35

Open
opened 2026-07-21 16:40:42 +02:00 by zemion · 0 comments
Owner

Outcome

SMB connectors can be enabled only when every transport peer and DFS/referral target is authorized and DNS/IP pinned at connection time.

Context

The SMB implementation associated with #10 is intentionally fail-closed because the current smbclient stack can establish or follow connections outside the pinning boundary. Keeping the feature disabled is the safe green baseline until this contract is enforceable.

Acceptance

  • No smbclient session is registered while exact peer pinning cannot be enforced.
  • Initial peers, reconnects, DFS referrals, aliases, and any library-managed secondary connection are revalidated and pinned.
  • DNS rebinding, referral-to-private, mixed-answer, and peer-change tests fail closed.
  • Deployment-wide private-network policy is applied consistently.
  • Target Samba/DFS tests and operator documentation define supported configurations.
## Outcome SMB connectors can be enabled only when every transport peer and DFS/referral target is authorized and DNS/IP pinned at connection time. ## Context The SMB implementation associated with #10 is intentionally fail-closed because the current smbclient stack can establish or follow connections outside the pinning boundary. Keeping the feature disabled is the safe green baseline until this contract is enforceable. ## Acceptance - No smbclient session is registered while exact peer pinning cannot be enforced. - Initial peers, reconnects, DFS referrals, aliases, and any library-managed secondary connection are revalidated and pinned. - DNS rebinding, referral-to-private, mixed-answer, and peer-change tests fail closed. - Deployment-wide private-network policy is applied consistently. - Target Samba/DFS tests and operator documentation define supported configurations.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-files#35
No description provided.