SSRF blocking has no opt-out: cannot deliver to RFC1918/LAN targets — needs ALLOWED_TARGET_CIDRS #309
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From audit #303 (significant).
Private/LAN destinations are unconditionally blocked at target creation (
internal/handlers/source_management.go:948) and at dial (internal/delivery/ssrf.go:41-59,:206). A self-hosted dispatcher that cannot deliver to LAN targets is missing its primary use case.Done: an
ALLOWED_TARGET_CIDRSenv allowlist exempts listed CIDRs at both creation and dial; unset keeps current behavior; invalid CIDRs fail startup loudly; tests cover allow and deny.