Lines Matching refs:proxy

202 my $proxy = TLSProxy::Proxy->new(
211 $proxy->serverconnects(2);
212 $proxy->clientflags("-no_rx_cert_comp -sess_out ".$session);
213 $proxy->sessionfile($session);
214 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
216 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
221 $proxy->clearClient();
222 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
223 $proxy->clientstart();
224 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
234 $proxy->clear();
235 $proxy->clientflags("-no_rx_cert_comp -status");
236 $proxy->start();
237 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
243 $proxy->clear();
244 $proxy->clientflags("-no_rx_cert_comp");
245 $proxy->serverflags("-no_rx_cert_comp -status_file "
247 $proxy->start();
248 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
253 $proxy->clear();
254 $proxy->clientflags("-no_rx_cert_comp -status");
255 $proxy->serverflags("-no_rx_cert_comp -status_file "
257 $proxy->start();
258 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
265 $proxy->clear();
266 $proxy->clientflags("-no_rx_cert_comp -status -enable_pha -cert "
268 $proxy->serverflags("-no_rx_cert_comp -Verify 5 -status_file "
270 $proxy->start();
271 checkhandshake($proxy, checkhandshake::CLIENT_AUTH_HANDSHAKE,
280 $proxy->clear();
281 $proxy->clientflags("-no_rx_cert_comp -enable_pha -cert ".srctop_file("apps", "server.pem"));
282 $proxy->serverflags("-no_rx_cert_comp -Verify 5");
283 $proxy->start();
284 checkhandshake($proxy, checkhandshake::CLIENT_AUTH_HANDSHAKE,
290 $proxy->clear();
291 $proxy->clientflags("-no_rx_cert_comp -noservername");
292 $proxy->start();
293 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
299 $proxy->clear();
300 $proxy->clientflags("-no_rx_cert_comp -noservername");
301 $proxy->serverflags("-no_rx_cert_comp -servername testhost");
302 $proxy->start();
303 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
309 $proxy->clear();
310 $proxy->clientflags("-no_rx_cert_comp -servername testhost");
311 $proxy->serverflags("-no_rx_cert_comp -servername testhost");
312 $proxy->start();
313 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
319 $proxy->clear();
320 $proxy->clientflags("-no_rx_cert_comp -alpn test");
321 $proxy->start();
322 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
328 $proxy->clear();
329 $proxy->clientflags("-no_rx_cert_comp");
330 $proxy->serverflags("-no_rx_cert_comp -alpn test");
331 $proxy->start();
332 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
337 $proxy->clear();
338 $proxy->clientflags("-no_rx_cert_comp -alpn test");
339 $proxy->serverflags("-no_rx_cert_comp -alpn test");
340 $proxy->start();
341 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
352 $proxy->clear();
354 $proxy->clientflags("-no_rx_cert_comp -ct");
355 $proxy->serverflags("-no_rx_cert_comp -status_file "
358 $proxy->start();
359 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
369 $proxy->clear();
370 $proxy->clientflags("-no_rx_cert_comp");
371 $proxy->serverflags("-no_rx_cert_comp -curves P-384");
372 $proxy->start();
373 checkhandshake($proxy, checkhandshake::HRR_HANDSHAKE,
379 $proxy->clear();
380 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
381 $proxy->serverflags("-no_rx_cert_comp -curves P-384");
382 $proxy->start();
383 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
391 $proxy->clear();
392 $proxy->clientflags("-no_rx_cert_comp -curves P-384");
393 $proxy->start();
394 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,