TFO: early-data for client outbound via socks5 proxy
[exim.git] / test / scripts / 4027-TFO-socks / 4027
1 # socks5 proxy on smtp transport, TCP Fast Open
2 #
3 munge loopback
4 #
5 #
6 # TFO client, not server
7 server PORT_D
8 <<\x05\x01\x00
9 >>\x05\x00
10 <<\x05\x01\x00\x01\x7f\x00\x00\x01\x04\xc8
11 >>\x05\x00\x00\x01\x7f\x00\x00\x01\xbe\xef
12 220 Connected OK
13 EHLO
14 250-server id
15 250
16 MAIL FROM
17 250
18 RCPT TO
19 250
20 DATA
21 354 do me
22 .
23 250 accepted OK
24 QUIT
25 250 bye
26 ****
27 #
28 #
29 exim -odi -bs -DOPT=
30 ehlo test.ex
31 mail from:<>
32 rcpt to:<user_tfo@test.ex>
33 data
34 Date: Fri, 17 Dec 2004 14:35:01 +0100
35 Subject: message should be sent
36
37 connection trying TFO
38 via null-auth proxy
39 .
40 quit
41 ****
42 #
43 #
44 #
45 # TFO client and server
46 server -tfo PORT_D
47 <<\x05\x01\x00
48 >>\x05\x00
49 <<\x05\x01\x00\x01\x7f\x00\x00\x01\x04\xc8
50 >>\x05\x00\x00\x01\x7f\x00\x00\x01\xbe\xef
51 220 Connected OK
52 EHLO
53 250-server id
54 250
55 MAIL FROM
56 250
57 RCPT TO
58 250
59 DATA
60 354 do me mate
61 .
62 250 accepted OK
63 QUIT
64 250 bye
65 ****
66 #
67 #
68 exim -odi -bs -DOPT=
69 ehlo test.ex
70 mail from:<>
71 rcpt to:<user_tfo@test.ex>
72 data
73 Date: Fri, 17 Dec 2004 14:35:01 +0100
74 Subject: message should be sent
75
76 connection using TFO
77 via null-auth proxy
78 .
79 quit
80 ****
81 #
82 #
83 # Ends