Lines Matching full:proxy

13 use TLSProxy::Proxy;
198 my $proxy = TLSProxy::Proxy->new(
207 $proxy->serverconnects(2);
208 $proxy->clientflags("-sess_out ".$session);
209 $proxy->sessionfile($session);
210 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
212 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
217 $proxy->clearClient();
218 $proxy->clientflags("-sess_in ".$session);
219 $proxy->clientstart();
220 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
230 $proxy->clear();
231 $proxy->clientflags("-status");
232 $proxy->start();
233 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
239 $proxy->clear();
240 $proxy->serverflags("-status_file "
242 $proxy->start();
243 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
248 $proxy->clear();
249 $proxy->clientflags("-status");
250 $proxy->serverflags("-status_file "
252 $proxy->start();
253 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
260 $proxy->clear();
261 $proxy->clientflags("-status -enable_pha -cert "
263 $proxy->serverflags("-Verify 5 -status_file "
265 $proxy->start();
266 checkhandshake($proxy, checkhandshake::CLIENT_AUTH_HANDSHAKE,
275 $proxy->clear();
276 $proxy->clientflags("-enable_pha -cert ".srctop_file("apps", "server.pem"));
277 $proxy->serverflags("-Verify 5");
278 $proxy->start();
279 checkhandshake($proxy, checkhandshake::CLIENT_AUTH_HANDSHAKE,
285 $proxy->clear();
286 $proxy->clientflags("-noservername");
287 $proxy->start();
288 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
294 $proxy->clear();
295 $proxy->clientflags("-noservername");
296 $proxy->serverflags("-servername testhost");
297 $proxy->start();
298 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
304 $proxy->clear();
305 $proxy->clientflags("-servername testhost");
306 $proxy->serverflags("-servername testhost");
307 $proxy->start();
308 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
314 $proxy->clear();
315 $proxy->clientflags("-alpn test");
316 $proxy->start();
317 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
323 $proxy->clear();
324 $proxy->serverflags("-alpn test");
325 $proxy->start();
326 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
331 $proxy->clear();
332 $proxy->clientflags("-alpn test");
333 $proxy->serverflags("-alpn test");
334 $proxy->start();
335 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
346 $proxy->clear();
348 $proxy->clientflags("-ct");
349 $proxy->serverflags("-status_file "
352 $proxy->start();
353 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
363 $proxy->clear();
364 $proxy->serverflags("-curves P-256");
365 $proxy->start();
366 checkhandshake($proxy, checkhandshake::HRR_HANDSHAKE,
372 $proxy->clear();
373 $proxy->clientflags("-sess_in ".$session);
374 $proxy->serverflags("-curves P-256");
375 $proxy->start();
376 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
384 $proxy->clear();
385 $proxy->clientflags("-curves P-256");
386 $proxy->start();
387 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,