Lines Matching full:proxy

12 use TLSProxy::Proxy;
30 my $proxy = TLSProxy::Proxy->new(
57 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh");
58 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
67 $proxy->filter(\&sigalgs_filter);
70 $proxy->clear();
72 $proxy->start();
76 $proxy->clear();
78 $proxy->start();
82 $proxy->clear();
84 $proxy->start();
89 $proxy->clear();
91 $proxy->start();
97 $proxy->clear();
99 $proxy->start();
105 $proxy->filter(\&modify_cert_verify_sigalg);
106 $proxy->clear();
107 $proxy->start();
117 $proxy->clear();
118 $proxy->clientflags("-sigalgs ECDSA+SHA256");
119 $proxy->filter(undef);
120 $proxy->start();
130 $proxy->clear();
131 $proxy->serverflags("-no_tls1_3");
132 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
133 $proxy->filter(undef);
134 $proxy->start();
141 $proxy->filter(\&sigalgs_filter);
145 $proxy->clear();
147 $proxy->clientflags("-no_tls1_3 -cipher DEFAULT:\@SECLEVEL=0");
148 $proxy->ciphers("ECDHE-RSA-AES128-SHA:\@SECLEVEL=0");
149 $proxy->start();
155 $proxy->clear();
157 $proxy->clientflags("-tls1_2 -cipher DEFAULT:\@SECLEVEL=0");
158 $proxy->ciphers("DEFAULT:\@SECLEVEL=1");
159 $proxy->start();
165 $proxy->clear();
167 $proxy->clientflags("-tls1_2 -cipher DEFAULT:\@SECLEVEL=1");
168 $proxy->ciphers("DEFAULT:\@SECLEVEL=0");
169 $proxy->start();
173 $proxy->clear();
175 $proxy->clientflags("-no_tls1_3");
176 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
177 $proxy->start();
181 $proxy->clear();
183 $proxy->clientflags("-no_tls1_3");
184 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
185 $proxy->start();
190 $proxy->clear();
192 $proxy->clientflags("-no_tls1_3");
193 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
194 $proxy->start();
198 $proxy->clear();
200 $proxy->serverflags("-no_tls1_3");
201 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
202 $proxy->start();
209 $proxy->clear();
211 $proxy->clientflags("-no_tls1_3 -sigalgs RSA+SHA256");
212 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
213 $proxy->start();
218 $proxy->clear();
219 $proxy->clientflags("-no_tls1_3 -sigalgs ECDSA+SHA256");
220 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
221 $proxy->filter(undef);
222 $proxy->start();
224 $proxy->filter(\&sigalgs_filter);
228 $proxy->clear();
230 $proxy->clientflags("-no_tls1_3 -cipher DEFAULT:\@SECLEVEL=0");
231 $proxy->serverflags("-cert " . srctop_file("test", "certs",
235 $proxy->ciphers("ECDHE-ECDSA-AES128-SHA:\@SECLEVEL=0");
236 $proxy->start();
249 $proxy->clear();
250 $proxy->clientflags("-tls1_3");
251 $proxy->filter(\&modify_sigalgs_filter);
252 $proxy->start();
261 $proxy->clear();
262 $proxy->clientflags("-cipher AES128-SHA\@SECLEVEL=0");
263 $proxy->filter(\&modify_sigalgs_filter);
264 $proxy->start();
275 $proxy->clear();
276 $proxy->filter(\&modify_sigalgs_cert_filter);
277 $proxy->start();
282 $proxy->clear();
283 $proxy->filter(\&modify_sigalgs_cert_filter);
284 $proxy->start();
289 $proxy->clear();
290 $proxy->filter(\&modify_sigalgs_cert_filter);
291 $proxy->start();
297 $proxy->clear();
298 $proxy->filter(\&inject_unrecognized_sigalg);
299 $proxy->clientflags("-tls1_3");
302 $proxy->serverflags("" .
307 $proxy->start();
313 $proxy->clear();
314 $proxy->filter(\&inject_unrecognized_sigalg);
315 $proxy->clientflags("-tls1_3");
316 $proxy->serverflags("" .
321 $proxy->start();
329 my $proxy = shift;
332 if ($proxy->flight != 0) {
336 foreach my $message (@{$proxy->message_list}) {
363 my $proxy = shift;
366 return if ($proxy->flight != 0);
368 foreach my $message (@{$proxy->message_list}) {
420 my $proxy = shift;
423 if ($proxy->flight != 0) {
427 foreach my $message (@{$proxy->message_list}) {
456 my $proxy = shift;
459 if ($proxy->flight != 1) {
463 foreach my $message (@{$proxy->message_list}) {
473 my $proxy = shift;
477 if ($proxy->flight != 0) {
493 my $message = ${$proxy->message_list}[0];