Lines Matching refs:proxy

29 my $proxy = TLSProxy::Proxy->new(
56 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh");
57 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
66 $proxy->filter(\&sigalgs_filter);
69 $proxy->clear();
71 $proxy->start();
75 $proxy->clear();
77 $proxy->start();
81 $proxy->clear();
83 $proxy->start();
88 $proxy->clear();
90 $proxy->start();
96 $proxy->clear();
98 $proxy->start();
104 $proxy->filter(\&modify_cert_verify_sigalg);
105 $proxy->clear();
106 $proxy->start();
116 $proxy->clear();
117 $proxy->clientflags("-sigalgs ECDSA+SHA256");
118 $proxy->filter(undef);
119 $proxy->start();
129 $proxy->clear();
130 $proxy->serverflags("-no_tls1_3");
131 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
132 $proxy->filter(undef);
133 $proxy->start();
140 $proxy->filter(\&sigalgs_filter);
144 $proxy->clear();
146 $proxy->clientflags("-no_tls1_3 -cipher DEFAULT:\@SECLEVEL=0");
147 $proxy->ciphers("ECDHE-RSA-AES128-SHA:\@SECLEVEL=0");
148 $proxy->start();
154 $proxy->clear();
156 $proxy->clientflags("-tls1_2 -cipher DEFAULT:\@SECLEVEL=0");
157 $proxy->ciphers("DEFAULT:\@SECLEVEL=1");
158 $proxy->start();
164 $proxy->clear();
166 $proxy->clientflags("-tls1_2 -cipher DEFAULT:\@SECLEVEL=1");
167 $proxy->ciphers("DEFAULT:\@SECLEVEL=0");
168 $proxy->start();
172 $proxy->clear();
174 $proxy->clientflags("-no_tls1_3");
175 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
176 $proxy->start();
180 $proxy->clear();
182 $proxy->clientflags("-no_tls1_3");
183 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
184 $proxy->start();
189 $proxy->clear();
191 $proxy->clientflags("-no_tls1_3");
192 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
193 $proxy->start();
197 $proxy->clear();
199 $proxy->serverflags("-no_tls1_3");
200 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
201 $proxy->start();
208 $proxy->clear();
210 $proxy->clientflags("-no_tls1_3 -sigalgs RSA+SHA256");
211 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
212 $proxy->start();
217 $proxy->clear();
218 $proxy->clientflags("-no_tls1_3 -sigalgs ECDSA+SHA256");
219 $proxy->ciphers("ECDHE-RSA-AES128-SHA");
220 $proxy->filter(undef);
221 $proxy->start();
223 $proxy->filter(\&sigalgs_filter);
227 $proxy->clear();
229 $proxy->clientflags("-no_tls1_3 -cipher DEFAULT:\@SECLEVEL=0");
230 $proxy->serverflags("-cert " . srctop_file("test", "certs",
234 $proxy->ciphers("ECDHE-ECDSA-AES128-SHA:\@SECLEVEL=0");
235 $proxy->start();
248 $proxy->clear();
249 $proxy->clientflags("-tls1_3");
250 $proxy->filter(\&modify_sigalgs_filter);
251 $proxy->start();
260 $proxy->clear();
261 $proxy->clientflags("-cipher AES128-SHA\@SECLEVEL=0");
262 $proxy->filter(\&modify_sigalgs_filter);
263 $proxy->start();
274 $proxy->clear();
275 $proxy->filter(\&modify_sigalgs_cert_filter);
276 $proxy->start();
281 $proxy->clear();
282 $proxy->filter(\&modify_sigalgs_cert_filter);
283 $proxy->start();
288 $proxy->clear();
289 $proxy->filter(\&modify_sigalgs_cert_filter);
290 $proxy->start();
296 $proxy->clear();
297 $proxy->filter(\&inject_unrecognized_sigalg);
298 $proxy->clientflags("-tls1_3");
301 $proxy->serverflags("" .
306 $proxy->start();
312 $proxy->clear();
313 $proxy->filter(\&inject_unrecognized_sigalg);
314 $proxy->clientflags("-tls1_3");
315 $proxy->serverflags("" .
320 $proxy->start();
328 my $proxy = shift;
331 if ($proxy->flight != 0) {
335 foreach my $message (@{$proxy->message_list}) {
362 my $proxy = shift;
365 return if ($proxy->flight != 0);
367 foreach my $message (@{$proxy->message_list}) {
419 my $proxy = shift;
422 if ($proxy->flight != 0) {
426 foreach my $message (@{$proxy->message_list}) {
455 my $proxy = shift;
458 if ($proxy->flight != 1) {
462 foreach my $message (@{$proxy->message_list}) {
472 my $proxy = shift;
476 if ($proxy->flight != 0) {
492 my $message = ${$proxy->message_list}[0];