- haproxy.cfg: терминация TLS (самоподписанный сертификат, wildcard), подмена Host/SNI, переписывание Location/Server и тел ответов (s3_rewrite.lua) - s3_resign.lua: проверка подписи SigV4 клиента и повторная подпись под реальный Host - s3gw-snat.nft: SNAT клиентской подсети (nftables) для прямого доступа - tests: автотесты Lua (SHA-256/HMAC/SigV4), сборщик метрик и расчёт сводок нагрузочных тестов - docs: планы и итоги всех итераций, отчёт о пути пакета, сравнительные тесты CPU/RAM (512 МБ, 2 ГБ multipart 5/20/40 потоков, 1 и 4 vCPU), Mermaid-диаграммы, сырые данные замеров - Секреты (hostinfo.txt, hostkey.key, s3_creds.lua) исключены через .gitignore Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
19 lines
1.3 KiB
Plaintext
19 lines
1.3 KiB
Plaintext
[09:33:27] mode=direct haproxy=inactive endpoint=https://hb.ru-msk.vkcloud-storage.ru
|
|
direct 1 1792748018.951111045 1792748025.995000229 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-1.bin DUR 6.716348592
|
|
direct 2 1792748042.978080694 1792748049.830298568 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-2.bin DUR 6.535165397
|
|
direct 3 1792748066.467021851 1792748073.729609481 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-3.bin DUR 6.941550966
|
|
[09:34:46] mode=proxy haproxy=active endpoint=https://s3-v.myhost.local
|
|
proxy 1 1792748098.571012024 1792748105.900168695 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-1.bin DUR 6.655190404
|
|
proxy 2 1792748122.530748942 1792748129.499281463 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-2.bin DUR 6.650936380
|
|
proxy 3 1792748146.121901121 1792748154.019811360 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-3.bin DUR 7.524588011
|
|
[09:36:06] cleanup
|
|
delete: s3://clabatombuk/cpu-test/proxy-1.bin
|
|
delete: s3://clabatombuk/cpu-test/proxy-2.bin
|
|
delete: s3://clabatombuk/cpu-test/proxy-3.bin
|
|
delete: s3://clabatombuk/cpu-test/direct-2.bin
|
|
delete: s3://clabatombuk/cpu-test/direct-3.bin
|
|
delete: s3://clabatombuk/cpu-test/direct-1.bin
|
|
config restored: 0
|
|
haproxy=active nftables=active
|
|
DONE
|