Lines Matching full:proxy
13 use TLSProxy::Proxy;
184 my $proxy = TLSProxy::Proxy->new(
193 $proxy->clientflags("-sess_out ".$session);
194 $proxy->serverflags("-servername localhost");
195 $proxy->sessionfile($session);
196 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
202 $proxy->clear();
203 $proxy->clientflags("-sess_in ".$session);
205 $proxy->filter(\&modify_kex_modes_filter);
206 $proxy->start();
211 $proxy->clear();
212 $proxy->clientflags("-sess_in ".$session);
214 $proxy->start();
219 $proxy->clear();
220 $proxy->clientflags("-allow_no_dhe_kex -sess_in ".$session);
221 $proxy->serverflags("-allow_no_dhe_kex");
223 $proxy->start();
224 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
232 $proxy->clear();
233 $proxy->clientflags("-sess_in ".$session);
235 $proxy->start();
236 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
246 $proxy->clear();
247 $proxy->clientflags("-sess_in ".$session);
249 $proxy->start();
250 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
259 $proxy->clear();
260 $proxy->clientflags("-sess_in ".$session);
262 $proxy->start();
263 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
273 $proxy->clear();
274 $proxy->clientflags("-sess_in ".$session);
275 $proxy->serverflags("-curves P-256");
277 $proxy->start();
278 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
289 $proxy->clear();
290 $proxy->clientflags("-sess_in ".$session);
291 $proxy->serverflags("-curves P-256");
293 $proxy->start();
294 checkhandshake($proxy, checkhandshake::HRR_RESUME_HANDSHAKE,
306 $proxy->clear();
307 $proxy->clientflags("-allow_no_dhe_kex -curves P-384 -sess_in ".$session);
308 $proxy->serverflags("-allow_no_dhe_kex -curves P-256");
310 $proxy->start();
311 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
320 $proxy->clear();
321 $proxy->clientflags("-curves P-384 -sess_in ".$session);
322 $proxy->serverflags("-curves P-256");
324 $proxy->start();
331 my $proxy = shift;
334 return if ($proxy->flight != 0);
336 foreach my $message (@{$proxy->message_list}) {