mirror of
https://github.com/sonertari/SSLproxy
synced 2024-10-31 21:20:21 +00:00
36 lines
758 B
JSON
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": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |