mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 12:05:46 +00:00
test(e2e): add TLS listener rejectUnknownSNI test suite
Covers rejectUnknownSNI with and without a serverNames allow list, verifying allowed/unknown/empty SNI handshakes via openssl s_client.
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
- name: tls-reject
|
||||
addr: :8443
|
||||
handler:
|
||||
type: http
|
||||
listener:
|
||||
type: tls
|
||||
tls:
|
||||
rejectUnknownSNI: true
|
||||
serverNames:
|
||||
- example.com
|
||||
Reference in New Issue
Block a user