Lines Matching refs:proxy
67 my $proxy = TLSProxy::Proxy->new(
80 $proxy->filter(\&modify_key_shares_filter);
82 $proxy->serverflags("-groups ffdhe3072");
84 $proxy->serverflags("-groups P-384");
86 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
92 $proxy->clear();
93 $proxy->start();
97 $proxy->clear();
99 $proxy->start();
104 $proxy->clear();
105 $proxy->filter(undef);
107 $proxy->serverflags("-groups ffdhe3072");
109 $proxy->serverflags("-groups P-256");
111 $proxy->start();
115 $proxy->clear();
116 $proxy->filter(undef);
118 $proxy->serverflags("-groups ffdhe2048");
120 $proxy->serverflags("-groups P-256");
123 $proxy->clientflags("-groups ffdhe3072");
125 $proxy->clientflags("-groups P-384");
127 $proxy->start();
131 $proxy->clear();
132 $proxy->clientflags("-curves P-256");
134 $proxy->clientflags("-groups ffdhe3072");
136 $proxy->clientflags("-groups P-256");
138 $proxy->start();
140 $proxy->filter(\&modify_key_shares_filter);
147 $proxy->clear();
149 $proxy->start();
155 $proxy->clear();
157 $proxy->start();
161 $proxy->clear();
163 $proxy->start();
167 $proxy->clear();
169 $proxy->start();
173 $proxy->clear();
175 $proxy->start();
179 $proxy->clear();
181 $proxy->start();
185 $proxy->clear();
190 $proxy->clientflags("-groups ffdhe3072:ffdhe2048");
192 $proxy->clientflags("-groups P-256:P-384");
194 $proxy->start();
204 $proxy->clear();
206 $proxy->clientflags("-curves ffdhe2048:ffdhe3072");
208 $proxy->clientflags("-curves X25519:P-256");
210 $proxy->start();
220 $proxy->clear();
223 $proxy->clientflags("-groups ffdhe3072");
225 $proxy->clientflags("-groups P-256");
227 $proxy->start();
231 $proxy->clear();
233 $proxy->start();
237 $proxy->clear();
239 $proxy->start();
243 $proxy->clear();
245 $proxy->start();
249 $proxy->clear();
251 $proxy->start();
259 $proxy->clear();
260 $proxy->filter(undef);
261 $proxy->clientflags("-no_tls1_3");
262 $proxy->start();
263 my $clienthello = $proxy->message_list->[0];
267 $proxy->filter(\&modify_key_shares_filter);
271 $proxy->clear();
274 $proxy->serverflags("-no_tls1_3");
275 $proxy->start();
281 $proxy->clear();
285 $proxy->serverflags("-groups ffdhe2048");
287 $proxy->serverflags("-groups X25519");
289 $proxy->start();
295 $proxy->clear();
298 $proxy->clientflags("-groups secp192r1:P-256:P-384");
300 $proxy->clientflags("-groups secp192r1:P-256:X25519");
302 $proxy->ciphers("AES128-SHA:\@SECLEVEL=0");
304 $proxy->start();
305 my $ishrr = defined ${$proxy->message_list}[2]
306 &&(${$proxy->message_list}[0]->mt == TLSProxy::Message::MT_CLIENT_HELLO)
307 && (${$proxy->message_list}[2]->mt == TLSProxy::Message::MT_CLIENT_HELLO);
314 my $proxy = shift;
317 if (($direction == CLIENT_TO_SERVER && $proxy->flight != 0
318 && ($proxy->flight != 1 || $testtype != NO_KEY_SHARES_IN_HRR))
319 || ($direction == SERVER_TO_CLIENT && $proxy->flight != 1)) {
323 foreach my $message (@{$proxy->message_list}) {