mirror of https://github.com/sonertari/SSLproxy
Reuse parent srvdst as dst of first child to avoid connecting to server twice, first conn was to get server cert for forging, so we xfer srvdst to first child after parent does not need it anymore
parent
78ba1e075c
commit
3cbcffcebc
@ -0,0 +1,36 @@
|
||||
{
|
||||
"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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue