- 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:00:21] mode=direct haproxy=inactive endpoint=https://hb.ru-msk.vkcloud-storage.ru
|
|
direct 1 1792746033.140854837 1792746061.637970647 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-1.bin DUR 27.609820718
|
|
direct 2 1792746078.414784613 1792746102.415420122 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-2.bin DUR 23.657959000
|
|
direct 3 1792746119.704938949 1792746144.325019833 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-3.bin DUR 24.289115156
|
|
[09:02:37] mode=proxy haproxy=active endpoint=https://s3-v.myhost.local
|
|
proxy 1 1792746169.205232478 1792746194.848439766 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-1.bin DUR 24.756256014
|
|
proxy 2 1792746211.556321739 1792746236.026254186 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-2.bin DUR 24.132777859
|
|
proxy 3 1792746253.292318102 1792746276.670065435 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-3.bin DUR 23.013356116
|
|
[09:04:48] cleanup
|
|
delete: s3://clabatombuk/cpu-test/direct-1.bin
|
|
delete: s3://clabatombuk/cpu-test/direct-3.bin
|
|
delete: s3://clabatombuk/cpu-test/direct-2.bin
|
|
delete: s3://clabatombuk/cpu-test/proxy-1.bin
|
|
delete: s3://clabatombuk/cpu-test/proxy-2.bin
|
|
delete: s3://clabatombuk/cpu-test/proxy-3.bin
|
|
config restored: 0
|
|
haproxy=active nftables=active
|
|
DONE
|