Lines Matching refs:proxy

187 my $proxy = TLSProxy::Proxy->new(
196 $proxy->clientflags("-no_rx_cert_comp -sess_out ".$session);
197 $proxy->serverflags("-no_rx_cert_comp -servername localhost");
198 $proxy->sessionfile($session);
199 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
205 $proxy->clear();
206 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
208 $proxy->filter(\&modify_kex_modes_filter);
209 $proxy->start();
214 $proxy->clear();
215 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
217 $proxy->start();
222 $proxy->clear();
223 $proxy->clientflags("-no_rx_cert_comp -allow_no_dhe_kex -sess_in ".$session);
224 $proxy->serverflags("-no_rx_cert_comp -allow_no_dhe_kex");
226 $proxy->start();
227 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
235 $proxy->clear();
236 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
238 $proxy->start();
239 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
249 $proxy->clear();
250 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
252 $proxy->start();
253 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
262 $proxy->clear();
263 $proxy->clientflags("-no_rx_cert_comp -allow_no_dhe_kex -sess_in ".$session);
264 $proxy->serverflags("-allow_no_dhe_kex");
266 $proxy->start();
267 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
277 $proxy->clear();
278 $proxy->clientflags("-no_rx_cert_comp -allow_no_dhe_kex -sess_in ".$session);
279 $proxy->serverflags("-allow_no_dhe_kex -prefer_no_dhe_kex");
281 $proxy->start();
282 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
291 $proxy->clear();
292 $proxy->clientflags("-no_rx_cert_comp -allow_no_dhe_kex -sess_in ".$session);
293 $proxy->serverflags("-prefer_no_dhe_kex");
295 $proxy->start();
296 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
306 $proxy->clear();
307 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
308 $proxy->serverflags("-no_rx_cert_comp -curves P-384");
310 $proxy->start();
311 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
322 $proxy->clear();
323 $proxy->clientflags("-no_rx_cert_comp -sess_in ".$session);
324 $proxy->serverflags("-no_rx_cert_comp -curves P-384");
326 $proxy->start();
327 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
339 $proxy->clear();
340 $proxy->clientflags("-no_rx_cert_comp -allow_no_dhe_kex -curves P-384 -sess_in ".$session);
341 $proxy->serverflags("-no_rx_cert_comp -allow_no_dhe_kex -curves P-256");
343 $proxy->start();
344 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
353 $proxy->clear();
354 $proxy->clientflags("-no_rx_cert_comp -curves P-384 -sess_in ".$session);
355 $proxy->serverflags("-no_rx_cert_comp -curves P-256");
357 $proxy->start();
364 my $proxy = shift;
367 return if ($proxy->flight != 0);
369 foreach my $message (@{$proxy->message_list}) {