SSLproxy/tests/testproxy/userauth_testset_1.json
2020-04-16 15:33:50 +03:00

36 lines
758 B
JSON

{
"comment": "Tests for UserAuth with TCP",
"configs": {
"1": {
"proto": {
"proto": "tcp"
},
"client": {
"ip": "127.0.0.1",
"port": "8187"
},
"server": {
"ip": "127.0.0.1",
"port": "9187"
}
}
},
"tests": {
"1": {
"comment": "Rejects IP with user auth enabled",
"states": {
"1": {
"testend": "client",
"cmd": "send",
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n",
"comment": "SSLproxy rejects conn because it cannot find the ethernet address of the client"
},
"2": {
"testend": "server",
"cmd": "recv",
"payload": ""
}
}
}
}
}