SSLproxy/extra/testproxy/userauth_testset_2.json

37 lines
708 B
JSON

{
"comment": "Tests for UserAuth",
"configs": {
"1": {
"proto": {
"proto": "ssl"
},
"client": {
"ip": "127.0.0.1",
"port": "8458"
},
"server": {
"ip": "127.0.0.1",
"port": "9458",
"crt": "server.crt",
"key": "server.key"
}
}
},
"tests": {
"1": {
"comment": "Rejects IP with user auth enabled",
"states": {
"1": {
"testend": "client",
"cmd": "send",
"payload": "GET / HTTP/1.1\r\nHost: comixwall.org\r\n\r\n"
},
"2": {
"testend": "server",
"cmd": "timeout",
"payload": ""
}
}
}
}
}