2019-07-18 08:48:15 +00:00
|
|
|
{
|
|
|
|
"comment": "Tests for ssl connection on tcp proxyspec",
|
|
|
|
"configs": {
|
|
|
|
"1": {
|
|
|
|
"proto": {
|
|
|
|
},
|
|
|
|
"client": {
|
|
|
|
"proto": "ssl",
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": "8183"
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"proto": "tcp",
|
|
|
|
"ip": "127.0.0.1",
|
|
|
|
"port": "9183"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tests": {
|
|
|
|
"1": {
|
|
|
|
"comment": "Does not accept ssl connection on tcp proxyspec if validating HTTP only",
|
|
|
|
"states": {
|
|
|
|
"1": {
|
|
|
|
"testend": "client",
|
|
|
|
"cmd": "sslconnectfail",
|
2020-04-16 12:33:50 +00:00
|
|
|
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"
|
2019-07-18 08:48:15 +00:00
|
|
|
},
|
|
|
|
"2": {
|
|
|
|
"testend": "server",
|
2019-08-20 08:47:06 +00:00
|
|
|
"cmd": "recv",
|
2019-07-18 08:48:15 +00:00
|
|
|
"payload": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|