mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-06 09:20:26 +00:00
38 lines
831 B
JSON
38 lines
831 B
JSON
{
|
|
"comment": "Tests for UserAuth with SSL",
|
|
"configs": {
|
|
"1": {
|
|
"proto": {
|
|
"proto": "ssl"
|
|
},
|
|
"client": {
|
|
"ip": "127.0.0.1",
|
|
"port": "8459"
|
|
},
|
|
"server": {
|
|
"ip": "127.0.0.1",
|
|
"port": "9459",
|
|
"crt": "server.crt",
|
|
"key": "server.key"
|
|
}
|
|
}
|
|
},
|
|
"tests": {
|
|
"1": {
|
|
"comment": "Rejects IP with user auth enabled",
|
|
"states": {
|
|
"1": {
|
|
"testend": "client",
|
|
"cmd": "sslconnectfail",
|
|
"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": "timeout",
|
|
"payload": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |