Skip to content

Conversation

lidel
Copy link
Member

@lidel lidel commented Aug 30, 2025

Warning

This wip experimentation to see gateway-conformance regressions, not ready for review yet.

Uses boxo PR #1019 which ensures content filtering policies are enforced for CAR format responses by properly separating DAGService usage during traversal.

Updates boxo to include the fix for blocked CIDs appearing in CAR responses
and enables the previously commented test cases.

Uses boxo PR #1019 which ensures content filtering policies are enforced
for CAR format responses by properly separating DAGService usage during
traversal.

Ref: ipfs/boxo#1019
Closes #10361
@lidel lidel force-pushed the fix/car-blocked-cids branch from 431116c to fea028b Compare August 30, 2025 01:28
- test HTTP 200 with CAR for safe subdirectory when sibling is blocked
- test HTTP 404 for non-existent paths with CAR format
- test HTTP 410 for blocked root CID with CAR format
- verify safe content is included and blocked content is excluded from CARs
- distinguish between blocked (410) and not found (404) responses

These tests document the expected behavior when content blocking
interacts with CAR format responses, ensuring proper HTTP status codes
and content filtering.
lidel added 2 commits August 31, 2025 05:29
- nopfs: SessionExchange support and optimized blocking checks
  ipfs-shipyard/nopfs#50
- boxo: restored session usage in CAR streaming with proper blocking
  ipfs/boxo#1019

fixes #10361
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.

denylist: ?format=car does not skip directly blocked CIDs
1 participant