Lines Matching refs:proxy
32 my $proxy = TLSProxy::Proxy->new(
174 $proxy->serverconnects(2);
175 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
176 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
178 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
183 $proxy->clearClient();
184 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
185 $proxy->clientstart();
186 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
197 $proxy->clear();
198 $proxy->clientflags("-no_tls1_3 -status");
199 $proxy->start();
200 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
206 $proxy->clear();
207 $proxy->clientflags("-no_tls1_3");
208 $proxy->serverflags("-status_file "
210 $proxy->start();
211 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
216 $proxy->clear();
217 $proxy->clientflags("-no_tls1_3 -status");
218 $proxy->serverflags("-status_file "
220 $proxy->start();
221 checkhandshake($proxy, checkhandshake::OCSP_HANDSHAKE,
229 $proxy->clear();
230 $proxy->clientflags("-no_tls1_3 -cert ".srctop_file("apps", "server.pem"));
231 $proxy->serverflags("-Verify 5");
232 $proxy->start();
233 checkhandshake($proxy, checkhandshake::CLIENT_AUTH_HANDSHAKE,
238 $proxy->clear();
239 $proxy->clientflags("-no_tls1_3");
240 $proxy->serverflags("-client_renegotiation");
241 $proxy->reneg(1);
242 $proxy->start();
243 checkhandshake($proxy, checkhandshake::RENEG_HANDSHAKE,
248 $proxy->clear();
249 $proxy->clientflags("-no_tls1_3 -noservername");
250 $proxy->start();
251 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
257 $proxy->clear();
258 $proxy->clientflags("-no_tls1_3 -noservername");
259 $proxy->serverflags("-servername testhost");
260 $proxy->start();
261 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
267 $proxy->clear();
268 $proxy->clientflags("-no_tls1_3 -servername testhost");
269 $proxy->serverflags("-servername testhost");
270 $proxy->start();
271 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
277 $proxy->clear();
278 $proxy->clientflags("-no_tls1_3 -alpn test");
279 $proxy->start();
280 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
286 $proxy->clear();
287 $proxy->clientflags("-no_tls1_3");
288 $proxy->serverflags("-alpn test");
289 $proxy->start();
290 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
295 $proxy->clear();
296 $proxy->clientflags("-no_tls1_3 -alpn test");
297 $proxy->serverflags("-alpn test");
298 $proxy->start();
299 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
310 $proxy->clear();
312 $proxy->clientflags("-no_tls1_3 -ct");
313 $proxy->serverflags("-status_file "
315 $proxy->start();
316 checkhandshake($proxy, checkhandshake::OCSP_HANDSHAKE,
329 $proxy->clear();
331 $proxy->clientflags("-no_tls1_3");
332 $proxy->serverflags("-status_file "
334 $proxy->start();
335 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
347 $proxy->clear();
349 $proxy->clientflags("-no_tls1_3 -ct");
350 $proxy->serverflags("-status_file "
353 $proxy->start();
354 checkhandshake($proxy, checkhandshake::OCSP_HANDSHAKE,
369 $proxy->clear();
370 $proxy->clientflags("-no_tls1_3 -nextprotoneg test");
371 $proxy->start();
372 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
378 $proxy->clear();
379 $proxy->clientflags("-no_tls1_3");
380 $proxy->serverflags("-nextprotoneg test");
381 $proxy->start();
382 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
387 $proxy->clear();
388 $proxy->clientflags("-no_tls1_3 -nextprotoneg test");
389 $proxy->serverflags("-nextprotoneg test");
390 $proxy->start();
391 checkhandshake($proxy, checkhandshake::NPN_HANDSHAKE,
407 $proxy->clear();
408 $proxy->clientflags("-no_tls1_3 -srpuser user -srppass pass:pass");
409 $proxy->start();
410 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
419 $proxy->clear();
420 $proxy->clientflags("-no_tls1_3");
421 $proxy->serverflags("-no_tls1_3");
422 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
423 $proxy->start();
424 checkhandshake($proxy, checkhandshake::EC_HANDSHAKE,