forked from mtusi2026/mtusi2026lab7
fix: address rotation-revocation control verify findings
Keep the hold mark of an identity whose revocation has started whatever signal ends pki.sh, refuse every rotation command while the files of a held identity are missing, bound the handshake of the LB metrics port, name sessions of another password until verify ends, and run Makefile prerequisites in order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -194,6 +194,9 @@ frontend monitor
|
||||
# следующего же (CRL проверяет рукопожатие, а простаивающее keep-alive
|
||||
# runtime API не видит и не закрывает — change rotation-revocation)
|
||||
option httpclose
|
||||
# CRL рукопожатия — тот, что был при ClientHello: рукопожатие, начатое до
|
||||
# отзыва, длится не дольше этого, а не timeout client (30 с)
|
||||
timeout client-hs 5s
|
||||
tcp-request session set-var(sess.refusal) str(identity_not_allowed) unless { ssl_c_san -m str DNS:otel-collector }
|
||||
tcp-request session reject if { var(sess.refusal) -m found }
|
||||
# журнал отказов: адрес, SAN, версия TLS и причина, без содержимого
|
||||
|
||||
Reference in New Issue
Block a user