Files
mtusi2026lab4/evidence/s3-security.txt
T
IlyaandClaude Opus 5.5 57105dd010 выполнение ЛР4 на 4
- S3: SeaweedFS 4.51 (MinIO-образы недоступны), приватный bucket,
  отдельные ограниченные ключи API, служебные порты закрыты;
  идемпотентный s3-init с проверкой приватности и прогревом записи
- вложения: потоковая загрузка PNG/JPEG, лимиты 10 MiB / 40 Мпикс,
  тип по содержимому, проверка filename, скачивание только участникам
- согласованность PG/S3: pending -> PUT -> ready, компенсация, sweeper
  с grace и dry-run; attachment_ids в сообщениях, FK по чату
- back-pressure на S3 PUT после найденного OOM SeaweedFS
- тесты student-tests, evidence, REPORT.md, DEMO.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:00:45 +03:00

19 lines
890 B
Plaintext

# 2026-10-28T12:44:21Z
$ make test-s3-security
object key: originals/<random 128-bit hex>, unrelated to attachment id and filename
anonymous_get_object 403
anonymous_list_bucket 403
anonymous_list_all 403
api_create_bucket AccessDenied
api_put_bucket_policy_public AccessDenied
api_put_object_acl_public AccessDenied
api_delete_bucket AccessDenied
api_get_own_bucket_object ALLOWED
s3:9333 master UI ConnectionRefusedError
s3:8888 filer UI ConnectionRefusedError
s3:8080 volume ConnectionRefusedError
s3:9000 S3 API OPEN
s3 published host ports: none ({})
lb -> s3:9000 (edge network): unreachable (exit status 1)
PASS: private bucket, least-privilege API credentials, no exposed admin interfaces