mirror of
https://github.com/rustfs/rustfs.git
synced 2026-11-30 20:57:35 +00:00
5a0bdfcf1c
* fix(security): harden RPC, proxies, egress DNS, and OIDC Harden internode RPC authentication/quotas, trusted-proxy allowlisting, protocol IAM policy conditions, outbound DNS egress pinning, and OIDC redirect and HTTPS enforcement: - Trusted proxies: replace broad private/link-local peer trust in simple mode with the configured trusted-proxy allowlist (defaulting to loopback-only) and update proxy integration coverage. - Protocol gateways & FTPS: populate standard IAM condition keys (SourceIp, SecureTransport, CurrentTime, EpochTime, UserAgent, Referer, principal metadata) in gateway authorization and replace the unchecked FTPS fallback IP parse with explicit connection context. - Bucket listing RPC: fail closed with entry index diagnostics instead of silently dropping malformed BucketInfo entries on encode/decode. - Internode RPC streams & replay cache: add framed HMAC-SHA256 response authentication with sequence/digest/EOF verification and post-verification endpoint pinning for read_file_stream and walk_dir, plus canonicalized per-peer entry and memory-budget replay cache isolation. - Outbound DNS egress: unify storage/tier, remote S3 replication targets, on-demand migration HTTP, Azure Blob, GCS, Keystone, and OIDC outbound checks onto OutboundPolicy and connection-time OutboundDnsResolver (with redirect blocking on Keystone) to stop DNS rebinding to loopback/link-local/metadata targets. - OIDC redirects & transport security: trust forwarded scheme/host only from verified trusted proxies, never reflect untrusted request headers into STS credential or logout redirects, and reject plaintext http:// OIDC URLs for non-loopback hosts unless explicitly opted in via RUSTFS_IDENTITY_OPENID_ALLOW_INSECURE_TRANSPORT. Refs: rustfs/backlog#1470, rustfs/backlog#1473, rustfs/backlog#1472, rustfs/backlog#1506 * fix(egress): restrict GCS endpoints and restore tier compatibility * ci: tighten the GCS error-format baseline * fix(ci): stop sending deprecated policy field in s3-tests add-user rustfs/rustfs#9677 hardened /rustfs/admin/v3/add-user to fail closed when a non-empty deprecated policy field is provided. scripts/s3-tests/run.sh was still passing policy=readwrite in the add-user body even though it immediately calls set-user-or-group-policy right after, and awscurl returned exit 0 on XML <Error> responses so provisioning silently failed and broke all alt-user s3-tests. Remove the deprecated policy field from the add-user payload, check awscurl responses for XML <Error> elements in provisioning, and add a regression unit test in scripts/s3-tests/test_runner_tools.py. Refs: rustfs/backlog#1246 * fix(ci): fail S3 user provisioning on HTTP errors without logging responses * fix(iceberg): reject repeated warehouses before validating bucket names * test(ecstore): wait for relaxed writes on the foreground lane * test(quota): isolate concurrent real-disk probes in CI * test(ecstore): scope upload lock identity helper to its Linux test * fix(oidc): preserve HTTPS in dynamic callbacks * ci: allow cold builds to finish all fuzz binaries
72 lines
3.4 KiB
Plaintext
72 lines
3.4 KiB
Plaintext
# `::other(format!` ratchet baseline for crates/ecstore/src (backlog#1845 PR2).
|
|
#
|
|
# SHRINK-ONLY: entries are `count|file`. A PR may lower a count or drop a file
|
|
# (after replacing the call sites with typed variants) by re-running
|
|
# scripts/check_error_other_format_ratchet.sh --update-baseline. A PR that
|
|
# raises a count or adds a file is introducing a new quorum-bucketing hazard
|
|
# and must carry an explicit exemption rationale in its description.
|
|
4|crates/ecstore/src/bucket/lifecycle/bucket_lifecycle_ops.rs
|
|
3|crates/ecstore/src/bucket/lifecycle/durable_namespace.rs
|
|
2|crates/ecstore/src/bucket/lifecycle/metadata_boundary.rs
|
|
4|crates/ecstore/src/bucket/lifecycle/tier_delete_journal.rs
|
|
1|crates/ecstore/src/bucket/lifecycle/transition_transaction.rs
|
|
27|crates/ecstore/src/bucket/metadata.rs
|
|
22|crates/ecstore/src/bucket/metadata_sys.rs
|
|
3|crates/ecstore/src/bucket/msgp_decode.rs
|
|
1|crates/ecstore/src/bucket/object_lock/objectlock_sys.rs
|
|
1|crates/ecstore/src/bucket/replication/replication_object_config.rs
|
|
2|crates/ecstore/src/bucket/replication/replication_pool.rs
|
|
2|crates/ecstore/src/bucket/replication/replication_target_boundary.rs
|
|
3|crates/ecstore/src/cluster/rpc/http_auth.rs
|
|
2|crates/ecstore/src/cluster/rpc/internode_data_transport.rs
|
|
10|crates/ecstore/src/cluster/rpc/peer_rest_client.rs
|
|
10|crates/ecstore/src/cluster/rpc/peer_s3_client.rs
|
|
10|crates/ecstore/src/cluster/rpc/remote_disk.rs
|
|
6|crates/ecstore/src/config/com.rs
|
|
14|crates/ecstore/src/config/storageclass.rs
|
|
174|crates/ecstore/src/core/pools.rs
|
|
6|crates/ecstore/src/data_movement/mod.rs
|
|
2|crates/ecstore/src/data_usage/local_snapshot.rs
|
|
12|crates/ecstore/src/data_usage/mod.rs
|
|
5|crates/ecstore/src/disk/local.rs
|
|
1|crates/ecstore/src/disk/mod.rs
|
|
5|crates/ecstore/src/erasure/codec/bridge.rs
|
|
1|crates/ecstore/src/erasure/coding/decode_reader.rs
|
|
8|crates/ecstore/src/erasure/coding/encode.rs
|
|
25|crates/ecstore/src/erasure/coding/erasure.rs
|
|
3|crates/ecstore/src/layout/disks_layout.rs
|
|
2|crates/ecstore/src/layout/endpoint.rs
|
|
14|crates/ecstore/src/layout/endpoints.rs
|
|
1|crates/ecstore/src/layout/format.rs
|
|
1|crates/ecstore/src/layout/pool_space.rs
|
|
1|crates/ecstore/src/layout/set_layout.rs
|
|
18|crates/ecstore/src/object_api/readers.rs
|
|
1|crates/ecstore/src/object_api/types.rs
|
|
3|crates/ecstore/src/runtime/sources.rs
|
|
4|crates/ecstore/src/services/batch_processor.rs
|
|
12|crates/ecstore/src/services/notification_sys.rs
|
|
15|crates/ecstore/src/services/rebalance/control.rs
|
|
1|crates/ecstore/src/services/rebalance/entry.rs
|
|
6|crates/ecstore/src/services/rebalance/meta.rs
|
|
8|crates/ecstore/src/services/rebalance/runtime.rs
|
|
17|crates/ecstore/src/services/rebalance/worker.rs
|
|
33|crates/ecstore/src/services/tier/tier.rs
|
|
1|crates/ecstore/src/services/tier/tier_config.rs
|
|
1|crates/ecstore/src/services/tier/warm_backend.rs
|
|
1|crates/ecstore/src/services/tier/warm_backend_gcs.rs
|
|
1|crates/ecstore/src/services/tier/warm_backend_s3.rs
|
|
1|crates/ecstore/src/services/tier/warm_backend_wasabi.rs
|
|
7|crates/ecstore/src/set_disk/core/io_primitives.rs
|
|
1|crates/ecstore/src/set_disk/mod.rs
|
|
3|crates/ecstore/src/set_disk/ops/bitrot_self_verify.rs
|
|
1|crates/ecstore/src/set_disk/ops/heal.rs
|
|
5|crates/ecstore/src/set_disk/ops/multipart.rs
|
|
2|crates/ecstore/src/set_disk/ops/object.rs
|
|
1|crates/ecstore/src/set_disk/read.rs
|
|
5|crates/ecstore/src/store/bucket.rs
|
|
1|crates/ecstore/src/store/heal_walk.rs
|
|
10|crates/ecstore/src/store/init.rs
|
|
3|crates/ecstore/src/store/multipart.rs
|
|
6|crates/ecstore/src/store/object.rs
|
|
3|crates/ecstore/src/store/rebalance/support.rs
|