You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud Foundry Diego Download Cache Forensics - Trace cached droplet files back to CF apps
Cloud Foundry Diego Download Cache Forensics
Overview
When investigating suspicious files on Cloud Foundry Diego cells (compute nodes), you may encounter files in the download cache directory (/var/vcap/data/rep/shared/garden/download_cache/) with cryptic filenames like:
Research Note: XFCC URI= field and CF app cert identity
Research: Should gorouter Envoy XFCC format include URI= field?
Context: PR cloudfoundry/java-buildpack-client-certificate-mapper#16 adds support for the Envoy XFCC key-value format including a XFCC_URI_ATTRIBUTE. The gorouter change emits Hash=<sha256>;Subject="<DN>" — no URI=. Question: does it make sense to add it?
Answer: No — CF app certs don't have URI SANs
Diego's createCertificateTemplate (executor/depot/containerstore/credmanager.go) generates the app identity certificate:
Cloud Foundry XFCC Header Tester - Test X-Forwarded-Client-Cert format in CF mTLS environments
Cloud Foundry XFCC Header Tester
A simple Go application to test X-Forwarded-Client-Cert (XFCC) header format in Cloud Foundry environments with mTLS app-to-app routing.
Purpose
This tool verifies that GoRouter correctly implements the Envoy XFCC format when routing requests over mTLS domains. It checks whether the XFCC header contains:
Context for TOC discussion (2026-04-14). The Identity-Aware Routing RFC introduces L7 route-level access policies ("access rules") that control which apps can reach a route through GoRouter using mTLS identity. This document compares two placement options for the external CRUD API that manages these access rules.
Background
Current Path-Based Routing on api.<system_domain>
Cloud Controller, the policy-server, and the routing-api are separate processes colocated on the api instance group. GoRouter routes requests to the correct backend using path-based prefix matching on api.<system_domain>. The current cf-deployment registers three overlapping prefixes:
Experiment: GoRouter route tags with shared routes (CF mTLS RFC)
Experiment: GoRouter Route Tags with Shared Routes
Context
Cloud Foundry's RFC for Domain-Scoped mTLS on GoRouter proposes scope-based authorization that uses GoRouter's existing route-emitter tags (organization_id, space_id) to enforce "same org/space" boundary checks at the domain level. This experiment verifies that the tags carry the correct information when routes are shared across spaces.
Question
When a route is shared from Space A to Space B (and both spaces have apps mapped to it), do the GoRouter route table tags reflect:
(a) The route owner's org/space (Space A for all endpoints), or
Analysis: Why cf-deployment use-compiled-releases.yml is stuck on stemcell 1.423
Why use-compiled-releases.yml is Stuck on Stemcell 1.423
Summary
The operations/use-compiled-releases.yml file in cf-deployment references stemcell version 1.423 for all compiled releases, even though newer stemcells are available. This is due to how the CI pipeline is configured to only recompile all releases on major stemcell version bumps.
Root Cause
1. The update-stemcell-and-recompile-releases Job Only Triggers on Major Bumps