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 | SOCKS4 | ||||
7 | connect to non-listen | ||||
8 | FAILURE | ||||
9 | </keywords> | ||||
10 | </info> | ||||
11 | # Server-side | ||||
12 | <reply> | ||||
13 | <data> | ||||
14 | </data> | ||||
15 | # 91 is socks4 failure | ||||
16 | <servercmd> | ||||
17 | response 91 | ||||
18 | </servercmd> | ||||
19 | </reply> | ||||
20 | |||||
21 | # Client-side | ||||
22 | <client> | ||||
23 | <features> | ||||
24 | proxy | ||||
25 | </features> | ||||
26 | <server> | ||||
27 | socks4 | ||||
28 | </server> | ||||
29 | <features> | ||||
30 | http | ||||
31 | proxy | ||||
32 | </features> | ||||
33 | <name> | ||||
34 | Attempt connect to non-listening HTTP server via SOCKS4 proxy | ||||
35 | </name> | ||||
36 | <command> | ||||
37 | --socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%NOLISTENPORT | ||||
38 | </command> | ||||
39 | </client> | ||||
40 | |||||
41 | # Verify data after the test has been "shot" | ||||
42 | <verify> | ||||
43 | <errorcode> | ||||
44 | 97 | ||||
45 | </errorcode> | ||||
46 | </verify> | ||||
47 | </testcase> |