mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-08 07:10:26 +00:00
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
|
{
|
||
|
"comment": "Tests for Passthrough",
|
||
|
"configs": {
|
||
|
"1": {
|
||
|
"comment": "Passthrough should behave similar to direct connection, so test direct connection first",
|
||
|
"proto": {
|
||
|
"proto": "ssl",
|
||
|
"verify_peer": "no"
|
||
|
},
|
||
|
"client": {
|
||
|
"ip": "127.0.0.1",
|
||
|
"port": "9454"
|
||
|
},
|
||
|
"server": {
|
||
|
"ip": "127.0.0.1",
|
||
|
"port": "9454",
|
||
|
"crt": "server.crt",
|
||
|
"key": "server.key"
|
||
|
}
|
||
|
},
|
||
|
"2": {
|
||
|
"proto": {
|
||
|
"proto": "ssl",
|
||
|
"verify_peer": "no"
|
||
|
},
|
||
|
"client": {
|
||
|
"ip": "127.0.0.1",
|
||
|
"port": "8454"
|
||
|
},
|
||
|
"server": {
|
||
|
"ip": "127.0.0.1",
|
||
|
"port": "9454",
|
||
|
"crt": "server.crt",
|
||
|
"key": "server.key"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"tests": {
|
||
|
"1": {
|
||
|
"comment": "Passes conn through if ssl handshake fails",
|
||
|
"states": {
|
||
|
"1": {
|
||
|
"testend": "client",
|
||
|
"cmd": "send",
|
||
|
"payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\n\r\n"
|
||
|
},
|
||
|
"2": {
|
||
|
"testend": "server",
|
||
|
"cmd": "recv",
|
||
|
"payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\n\r\n"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|