xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | #based off 19 | ||||
3 | <info> | ||||
4 | <keywords> | ||||
5 | HTTP | ||||
6 | SOCKS5 | ||||
7 | connect to non-listen | ||||
8 | FAILURE | ||||
9 | </keywords> | ||||
10 | </info> | ||||
11 | # Server-side | ||||
12 | <reply> | ||||
13 | <data> | ||||
14 | </data> | ||||
15 | # 1 is socks5 failure | ||||
16 | <servercmd> | ||||
17 | response 1 | ||||
18 | </servercmd> | ||||
19 | </reply> | ||||
20 | |||||
21 | # Client-side | ||||
22 | <client> | ||||
23 | <server> | ||||
24 | socks5 | ||||
25 | </server> | ||||
26 | <features> | ||||
27 | http | ||||
28 | proxy | ||||
29 | </features> | ||||
30 | <name> | ||||
31 | Attempt connect to non-listening HTTP server via SOCKS5 proxy | ||||
32 | </name> | ||||
33 | <command> | ||||
34 | --socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:%NOLISTENPORT | ||||
35 | </command> | ||||
36 | </client> | ||||
37 | |||||
38 | # Verify data after the test has been "shot" | ||||
39 | <verify> | ||||
40 | <errorcode> | ||||
41 | 97 | ||||
42 | </errorcode> | ||||
43 | </verify> | ||||
44 | </testcase> |