SSLproxy/extra/testproxy/userauth_testset_1.json

36 lines
760 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: comixwall.org\r\n\r\n",
"comment": "SSLproxy rejects conn because it cannot find the ethernet address of the client"
},
"2": {
"testend": "server",
"cmd": "recv",
"payload": ""
}
}
}
}
}