26df2bdb3a52c53bc8c37747204100a67ade5b9d
[openssl.git] / test / recipes / 80-test_ssl_old.t
1 #! /usr/bin/env perl
2 # Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9
10 use strict;
11 use warnings;
12
13 use POSIX;
14 use File::Basename;
15 use File::Copy;
16 use OpenSSL::Test qw/:DEFAULT with bldtop_file bldtop_dir srctop_file srctop_dir cmdstr data_file/;
17 use OpenSSL::Test::Utils;
18
19 BEGIN {
20 setup("test_ssl");
21 }
22
23 use lib srctop_dir('Configurations');
24 use lib bldtop_dir('.');
25 use platform;
26
27 my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
28 my $infile = bldtop_file('providers', platform->dso('fips'));
29
30 my ($no_rsa, $no_dsa, $no_dh, $no_ec, $no_psk,
31     $no_ssl3, $no_tls1, $no_tls1_1, $no_tls1_2, $no_tls1_3,
32     $no_dtls, $no_dtls1, $no_dtls1_2, $no_ct) =
33     anydisabled qw/rsa dsa dh ec psk
34                    ssl3 tls1 tls1_1 tls1_2 tls1_3
35                    dtls dtls1 dtls1_2 ct/;
36 my $no_anytls = alldisabled(available_protocols("tls"));
37 my $no_anydtls = alldisabled(available_protocols("dtls"));
38
39 plan skip_all => "No SSL/TLS/DTLS protocol is support by this OpenSSL build"
40     if $no_anytls && $no_anydtls;
41
42 my $digest = "-sha1";
43 my @reqcmd = ("openssl", "req");
44 my @x509cmd = ("openssl", "x509", $digest);
45 my @verifycmd = ("openssl", "verify");
46 my @genpkeycmd = ("openssl", "genpkey");
47 my $dummycnf = srctop_file("apps", "openssl.cnf");
48
49 my $cnf = srctop_file("test", "ca-and-certs.cnf");
50 my $CAkey = "keyCA.ss";
51 my $CAcert="certCA.ss";
52 my $CAserial="certCA.srl";
53 my $CAreq="reqCA.ss";
54 my $CAreq2="req2CA.ss"; # temp
55 my $Ukey="keyU.ss";
56 my $Ureq="reqU.ss";
57 my $Ucert="certU.ss";
58 my $Dkey="keyD.ss";
59 my $Dreq="reqD.ss";
60 my $Dcert="certD.ss";
61 my $Ekey="keyE.ss";
62 my $Ereq="reqE.ss";
63 my $Ecert="certE.ss";
64
65 my $proxycnf=srctop_file("test", "proxy.cnf");
66 my $P1key="keyP1.ss";
67 my $P1req="reqP1.ss";
68 my $P1cert="certP1.ss";
69 my $P1intermediate="tmp_intP1.ss";
70 my $P2key="keyP2.ss";
71 my $P2req="reqP2.ss";
72 my $P2cert="certP2.ss";
73 my $P2intermediate="tmp_intP2.ss";
74
75 my $server_sess="server.ss";
76 my $client_sess="client.ss";
77
78 # ssltest_old.c is deprecated in favour of the new framework in ssl_test.c
79 # If you're adding tests here, you probably want to convert them to the
80 # new format in ssl_test.c and add recipes to 80-test_ssl_new.t instead.
81 plan tests =>
82    ($no_fips ? 0 : 1 + 5) # For fipsinstall + testssl with fips provider
83     + 1                   # For testss
84     + 5                   # For the testssl with default provider
85     ;
86
87 unless ($no_fips) {
88     ok(run(app(['openssl', 'fipsinstall',
89                 '-out', bldtop_file('providers', 'fipsmodule.cnf'),
90                 '-module', $infile])),
91        "fipsinstall");
92 }
93
94 subtest 'test_ss' => sub {
95     if (testss()) {
96         open OUT, ">", "intP1.ss";
97         copy($CAcert, \*OUT); copy($Ucert, \*OUT);
98         close OUT;
99
100         open OUT, ">", "intP2.ss";
101         copy($CAcert, \*OUT); copy($Ucert, \*OUT); copy($P1cert, \*OUT);
102         close OUT;
103     }
104 };
105
106 note('test_ssl -- key U');
107 testssl("keyU.ss", $Ucert, $CAcert, "default", srctop_file("test","default-and-legacy.cnf"));
108 unless ($no_fips) {
109     testssl("keyU.ss", $Ucert, $CAcert, "fips",
110             srctop_file("test","fips-and-base.cnf"));
111 }
112
113 # -----------
114 # subtest functions
115 sub testss {
116     my @req_dsa = ("-newkey",
117                    "dsa:".data_file("dsa2048.pem"));
118     my $dsaparams = data_file("dsa2048.pem");
119     my @req_new;
120     if ($no_rsa) {
121         @req_new = @req_dsa;
122     } else {
123         @req_new = ("-new");
124     }
125
126     plan tests => 17;
127
128   SKIP: {
129       skip 'failure', 16 unless
130           ok(run(app([@reqcmd, "-config", $cnf,
131                       "-out", $CAreq, "-keyout", $CAkey,
132                       @req_new])),
133              'make cert request');
134
135       skip 'failure', 15 unless
136           ok(run(app([@x509cmd, "-CAcreateserial", "-in", $CAreq, "-days", "30",
137                       "-req", "-out", $CAcert, "-signkey", $CAkey,
138                       "-extfile", $cnf, "-extensions", "v3_ca"],
139                      stdout => "err.ss")),
140              'convert request into self-signed cert');
141
142       skip 'failure', 14 unless
143           ok(run(app([@x509cmd, "-in", $CAcert,
144                       "-x509toreq", "-signkey", $CAkey, "-out", $CAreq2],
145                      stdout => "err.ss")),
146              'convert cert into a cert request');
147
148       skip 'failure', 13 unless
149           ok(run(app([@reqcmd, "-config", $dummycnf,
150                       "-verify", "-in", $CAreq, "-noout"])),
151              'verify request 1');
152
153
154       skip 'failure', 12 unless
155           ok(run(app([@reqcmd, "-config", $dummycnf,
156                       "-verify", "-in", $CAreq2, "-noout"])),
157              'verify request 2');
158
159       skip 'failure', 11 unless
160           ok(run(app([@verifycmd, "-CAfile", $CAcert, $CAcert])),
161              'verify signature');
162
163       skip 'failure', 10 unless
164           ok(run(app([@reqcmd, "-config", $cnf, "-section", "userreq",
165                       "-out", $Ureq, "-keyout", $Ukey, @req_new],
166                      stdout => "err.ss")),
167              'make a user cert request');
168
169       skip 'failure', 9 unless
170           ok(run(app([@x509cmd, "-CAcreateserial", "-in", $Ureq, "-days", "30",
171                       "-req", "-out", $Ucert,
172                       "-CA", $CAcert, "-CAkey", $CAkey, "-CAserial", $CAserial,
173                       "-extfile", $cnf, "-extensions", "v3_ee"],
174                      stdout => "err.ss"))
175              && run(app([@verifycmd, "-CAfile", $CAcert, $Ucert])),
176              'sign user cert request');
177
178       skip 'failure', 8 unless
179           ok(run(app([@x509cmd,
180                       "-subject", "-issuer", "-startdate", "-enddate",
181                       "-noout", "-in", $Ucert])),
182              'Certificate details');
183
184       skip 'failure', 7 unless
185           subtest 'DSA certificate creation' => sub {
186               plan skip_all => "skipping DSA certificate creation"
187                   if $no_dsa;
188
189               plan tests => 5;
190
191             SKIP: {
192                 $ENV{CN2} = "DSA Certificate";
193                 skip 'failure', 4 unless
194                     ok(run(app([@genpkeycmd, "-out", $Dkey,
195                                 "-paramfile", $dsaparams],
196                                stdout => "err.ss")),
197                        "make a DSA key");
198                 skip 'failure', 3 unless
199                     ok(run(app([@reqcmd, "-new", "-config", $cnf,
200                                 "-section", "userreq",
201                                 "-out", $Dreq, "-key", $Dkey],
202                                stdout => "err.ss")),
203                        "make a DSA user cert request");
204                 skip 'failure', 2 unless
205                     ok(run(app([@x509cmd, "-CAcreateserial",
206                                 "-in", $Dreq,
207                                 "-days", "30",
208                                 "-req",
209                                 "-out", $Dcert,
210                                 "-CA", $CAcert, "-CAkey", $CAkey,
211                                 "-CAserial", $CAserial,
212                                 "-extfile", $cnf,
213                                 "-extensions", "v3_ee_dsa"],
214                                stdout => "err.ss")),
215                        "sign DSA user cert request");
216                 skip 'failure', 1 unless
217                     ok(run(app([@verifycmd, "-CAfile", $CAcert, $Dcert])),
218                        "verify DSA user cert");
219                 skip 'failure', 0 unless
220                     ok(run(app([@x509cmd,
221                                 "-subject", "-issuer",
222                                 "-startdate", "-enddate", "-noout",
223                                 "-in", $Dcert])),
224                        "DSA Certificate details");
225               }
226       };
227
228       skip 'failure', 6 unless
229           subtest 'ECDSA/ECDH certificate creation' => sub {
230               plan skip_all => "skipping ECDSA/ECDH certificate creation"
231                   if $no_ec;
232
233               plan tests => 5;
234
235             SKIP: {
236                 $ENV{CN2} = "ECDSA Certificate";
237                 skip 'failure', 4 unless
238                     ok(run(app(["openssl", "genpkey", "-genparam",
239                                 "-algorithm", "EC",
240                                 "-pkeyopt", "ec_paramgen_curve:P-256",
241                                 "-pkeyopt", "ec_param_enc:named_curve",
242                                 "-out", "ecp.ss"])),
243                        "make EC parameters");
244                 skip 'failure', 3 unless
245                     ok(run(app([@reqcmd, "-config", $cnf,
246                                 "-section", "userreq",
247                                 "-out", $Ereq, "-keyout", $Ekey,
248                                 "-newkey", "ec:ecp.ss"],
249                                stdout => "err.ss")),
250                        "make a ECDSA/ECDH user cert request");
251                 skip 'failure', 2 unless
252                     ok(run(app([@x509cmd, "-CAcreateserial",
253                                 "-in", $Ereq,
254                                 "-days", "30",
255                                 "-req",
256                                 "-out", $Ecert,
257                                 "-CA", $CAcert, "-CAkey", $CAkey,
258                                 "-CAserial", $CAserial,
259                                 "-extfile", $cnf,
260                                 "-extensions", "v3_ee_ec"],
261                                stdout => "err.ss")),
262                        "sign ECDSA/ECDH user cert request");
263                 skip 'failure', 1 unless
264                     ok(run(app([@verifycmd, "-CAfile", $CAcert, $Ecert])),
265                        "verify ECDSA/ECDH user cert");
266                 skip 'failure', 0 unless
267                     ok(run(app([@x509cmd,
268                                 "-subject", "-issuer",
269                                 "-startdate", "-enddate", "-noout",
270                                 "-in", $Ecert])),
271                        "ECDSA Certificate details");
272               }
273       };
274
275       skip 'failure', 5 unless
276           ok(run(app([@reqcmd, "-config", $proxycnf,
277                       "-out", $P1req, "-keyout", $P1key, @req_new],
278                      stdout => "err.ss")),
279              'make a proxy cert request');
280
281
282       skip 'failure', 4 unless
283           ok(run(app([@x509cmd, "-CAcreateserial", "-in", $P1req, "-days", "30",
284                       "-req", "-out", $P1cert,
285                       "-CA", $Ucert, "-CAkey", $Ukey,
286                       "-extfile", $proxycnf, "-extensions", "proxy"],
287                      stdout => "err.ss")),
288              'sign proxy with user cert');
289
290       copy($Ucert, $P1intermediate);
291       run(app([@verifycmd, "-CAfile", $CAcert,
292                "-untrusted", $P1intermediate, $P1cert]));
293       ok(run(app([@x509cmd,
294                   "-subject", "-issuer", "-startdate", "-enddate",
295                   "-noout", "-in", $P1cert])),
296          'Certificate details');
297
298       skip 'failure', 2 unless
299           ok(run(app([@reqcmd, "-config", $proxycnf, "-section", "proxy2_req",
300                       "-out", $P2req, "-keyout", $P2key,
301                       @req_new],
302                      stdout => "err.ss")),
303              'make another proxy cert request');
304
305
306       skip 'failure', 1 unless
307           ok(run(app([@x509cmd, "-CAcreateserial", "-in", $P2req, "-days", "30",
308                       "-req", "-out", $P2cert,
309                       "-CA", $P1cert, "-CAkey", $P1key,
310                       "-extfile", $proxycnf, "-extensions", "proxy_2"],
311                      stdout => "err.ss")),
312              'sign second proxy cert request with the first proxy cert');
313
314
315       open OUT, ">", $P2intermediate;
316       copy($Ucert, \*OUT); copy($P1cert, \*OUT);
317       close OUT;
318       run(app([@verifycmd, "-CAfile", $CAcert,
319                "-untrusted", $P2intermediate, $P2cert]));
320       ok(run(app([@x509cmd,
321                   "-subject", "-issuer", "-startdate", "-enddate",
322                   "-noout", "-in", $P2cert])),
323          'Certificate details');
324     }
325 }
326
327 sub testssl {
328     my ($key, $cert, $CAtmp, $provider, $configfile) = @_;
329     my @CA = $CAtmp ? ("-CAfile", $CAtmp) : ("-CApath", bldtop_dir("certs"));
330     my @providerflags = ("-provider", $provider);
331
332     if ($provider eq "default") {
333         push @providerflags, "-provider", "legacy";
334     }
335
336     my @ssltest = ("ssltest_old",
337                    "-s_key", $key, "-s_cert", $cert,
338                    "-c_key", $key, "-c_cert", $cert,
339                    "-config", $configfile,
340                    @providerflags);
341
342
343     my $serverinfo = srctop_file("test","serverinfo.pem");
344
345     my $dsa_cert = 0;
346     if (grep /DSA Public Key/, run(app(["openssl", "x509", "-in", $cert,
347                                         "-text", "-noout"]), capture => 1)) {
348         $dsa_cert = 1;
349     }
350
351
352     # plan tests => 11;
353
354     subtest 'standard SSL tests' => sub {
355         ######################################################################
356       plan tests => 13;
357
358       SKIP: {
359           skip "SSLv3 is not supported by this OpenSSL build", 4
360               if disabled("ssl3");
361
362           skip "SSLv3 is not supported by the FIPS provider", 4
363               if $provider eq "fips";
364
365           ok(run(test([@ssltest, "-bio_pair", "-ssl3"])),
366              'test sslv3 via BIO pair');
367           ok(run(test([@ssltest, "-bio_pair", "-ssl3", "-server_auth", @CA])),
368              'test sslv3 with server authentication via BIO pair');
369           ok(run(test([@ssltest, "-bio_pair", "-ssl3", "-client_auth", @CA])),
370              'test sslv3 with client authentication via BIO pair');
371           ok(run(test([@ssltest, "-bio_pair", "-ssl3", "-server_auth", "-client_auth", @CA])),
372              'test sslv3 with both server and client authentication via BIO pair');
373         }
374
375       SKIP: {
376           skip "Neither SSLv3 nor any TLS version are supported by this OpenSSL build", 1
377               if $no_anytls;
378
379           ok(run(test([@ssltest, "-bio_pair"])),
380              'test sslv2/sslv3 via BIO pair');
381         }
382
383       SKIP: {
384           skip "Neither SSLv3 nor any TLS version are supported by this OpenSSL build", 8
385               if $no_anytls;
386
387         SKIP: {
388             skip "skipping test of sslv2/sslv3 w/o (EC)DHE test", 1 if $dsa_cert;
389
390             ok(run(test([@ssltest, "-bio_pair", "-no_dhe", "-no_ecdhe"])),
391                'test sslv2/sslv3 w/o (EC)DHE via BIO pair');
392           }
393
394           ok(run(test([@ssltest, "-bio_pair", "-dhe1024dsa", "-v"])),
395              'test sslv2/sslv3 with 1024bit DHE via BIO pair');
396           ok(run(test([@ssltest, "-bio_pair", "-server_auth", @CA])),
397              'test sslv2/sslv3 with server authentication');
398           ok(run(test([@ssltest, "-bio_pair", "-client_auth", @CA])),
399              'test sslv2/sslv3 with client authentication via BIO pair');
400           ok(run(test([@ssltest, "-bio_pair", "-server_auth", "-client_auth", @CA])),
401              'test sslv2/sslv3 with both client and server authentication via BIO pair');
402           ok(run(test([@ssltest, "-bio_pair", "-server_auth", "-client_auth", "-app_verify", @CA])),
403              'test sslv2/sslv3 with both client and server authentication via BIO pair and app verify');
404
405         SKIP: {
406             skip "No IPv4 available on this machine", 1
407                 unless !disabled("sock") && have_IPv4();
408             ok(run(test([@ssltest, "-ipv4"])),
409                'test TLS via IPv4');
410           }
411
412         SKIP: {
413             skip "No IPv6 available on this machine", 1
414                 unless !disabled("sock") && have_IPv6();
415             ok(run(test([@ssltest, "-ipv6"])),
416                'test TLS via IPv6');
417           }
418         }
419     };
420
421     subtest "Testing ciphersuites" => sub {
422
423         my @exkeys = ();
424         my $ciphers = '-PSK:-SRP:@SECLEVEL=0';
425
426         if (!$no_dsa) {
427             push @exkeys, "-s_cert", "certD.ss", "-s_key", "keyD.ss";
428         }
429
430         if (!$no_ec) {
431             push @exkeys, "-s_cert", "certE.ss", "-s_key", "keyE.ss";
432         }
433
434         my @protocols = ();
435         # We only use the flags that ssltest_old understands
436         push @protocols, "-tls1_3" unless $no_tls1_3;
437         push @protocols, "-tls1_2" unless $no_tls1_2;
438         push @protocols, "-tls1" unless $no_tls1 || $provider eq "fips";
439         push @protocols, "-ssl3" unless $no_ssl3 || $provider eq "fips";
440         my $protocolciphersuitecount = 0;
441         my %ciphersuites = ();
442         my %ciphersstatus = ();
443         #There's no "-config" option to the ciphers command so we set the
444         #environment variable instead
445         my $opensslconf = $ENV{OPENSSL_CONF};
446         $ENV{OPENSSL_CONF} = $configfile;
447         foreach my $protocol (@protocols) {
448             my $ciphersstatus = undef;
449             my @ciphers = run(app(["openssl", "ciphers", "-s", $protocol,
450                                    @providerflags,
451                                    "ALL:$ciphers"]),
452                                    capture => 1, statusvar => \$ciphersstatus);
453             $ciphersstatus{$protocol} = $ciphersstatus;
454             if ($ciphersstatus) {
455                 $ciphersuites{$protocol} = [ map { s|\R||; split(/:/, $_) }
456                                     @ciphers ];
457                 $protocolciphersuitecount += scalar @{$ciphersuites{$protocol}};
458             }
459         }
460         $ENV{OPENSSL_CONF} = $opensslconf;
461
462         plan skip_all => "None of the ciphersuites to test are available in this OpenSSL build"
463             if $protocolciphersuitecount + scalar(keys %ciphersuites) == 0;
464
465         # The count of protocols is because in addition to the ciphersuites
466         # we got above, we're running a weak DH test for each protocol (except
467         # TLSv1.3)
468         my $testcount = scalar(@protocols) + $protocolciphersuitecount
469                         + scalar(keys %ciphersuites);
470         $testcount-- unless $no_tls1_3;
471         plan tests => $testcount;
472
473         foreach my $protocol (@protocols) {
474             ok($ciphersstatus{$protocol}, "Getting ciphers for $protocol");
475         }
476
477         foreach my $protocol (sort keys %ciphersuites) {
478             note "Testing ciphersuites for $protocol";
479             # ssltest_old doesn't know -tls1_3, but that's fine, since that's
480             # the default choice if TLSv1.3 enabled
481             my $flag = $protocol eq "-tls1_3" ? "" : $protocol;
482             my $ciphersuites = "";
483             foreach my $cipher (@{$ciphersuites{$protocol}}) {
484                 if ($protocol eq "-ssl3" && $cipher =~ /ECDH/ ) {
485                     note "*****SKIPPING $protocol $cipher";
486                     ok(1);
487                 } else {
488                     if ($protocol eq "-tls1_3") {
489                         $ciphersuites = $cipher;
490                         $cipher = "";
491                     } else {
492                         $cipher = $cipher.':@SECLEVEL=0';
493                     }
494                     ok(run(test([@ssltest, @exkeys, "-cipher",
495                                  $cipher,
496                                  "-ciphersuites", $ciphersuites,
497                                  $flag || ()])),
498                        "Testing $cipher");
499                 }
500             }
501             next if $protocol eq "-tls1_3";
502             is(run(test([@ssltest,
503                          "-s_cipher", "EDH",
504                          "-c_cipher", 'EDH:@SECLEVEL=1',
505                          "-dhe512",
506                          $protocol])), 0,
507                "testing connection with weak DH, expecting failure");
508         }
509     };
510
511     subtest 'RSA/(EC)DHE/PSK tests' => sub {
512         ######################################################################
513
514         plan tests => 5;
515
516       SKIP: {
517           skip "TLSv1.0 is not supported by this OpenSSL build", 5
518               if $no_tls1 || $provider eq "fips";
519
520         SKIP: {
521             skip "skipping anonymous DH tests", 1
522               if ($no_dh);
523
524             ok(run(test([@ssltest, "-v", "-bio_pair", "-tls1", "-cipher", "ADH", "-dhe1024dsa", "-num", "10", "-f", "-time"])),
525                'test tlsv1 with 1024bit anonymous DH, multiple handshakes');
526           }
527
528         SKIP: {
529             skip "skipping RSA tests", 2
530                 if $no_rsa;
531
532             ok(run(test(["ssltest_old", "-provider", "default", "-v", "-bio_pair", "-tls1", "-s_cert", srctop_file("apps","server2.pem"), "-no_dhe", "-no_ecdhe", "-num", "10", "-f", "-time"])),
533                'test tlsv1 with 1024bit RSA, no (EC)DHE, multiple handshakes');
534
535             skip "skipping RSA+DHE tests", 1
536                 if $no_dh;
537
538             ok(run(test(["ssltest_old", "-provider", "default", "-v", "-bio_pair", "-tls1", "-s_cert", srctop_file("apps","server2.pem"), "-dhe1024dsa", "-num", "10", "-f", "-time"])),
539                'test tlsv1 with 1024bit RSA, 1024bit DHE, multiple handshakes');
540           }
541
542         SKIP: {
543             skip "skipping PSK tests", 2
544                 if ($no_psk);
545
546             ok(run(test([@ssltest, "-tls1", "-cipher", "PSK", "-psk", "abc123"])),
547                'test tls1 with PSK');
548
549             ok(run(test([@ssltest, "-bio_pair", "-tls1", "-cipher", "PSK", "-psk", "abc123"])),
550                'test tls1 with PSK via BIO pair');
551           }
552         }
553
554     };
555
556     subtest 'Custom Extension tests' => sub {
557         ######################################################################
558
559         plan tests => 1;
560
561       SKIP: {
562           skip "TLSv1.0 is not supported by this OpenSSL build", 1
563               if $no_tls1 || $provider eq "fips";
564
565           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-custom_ext"])),
566              'test tls1 with custom extensions');
567         }
568     };
569
570     subtest 'Serverinfo tests' => sub {
571         ######################################################################
572
573         plan tests => 5;
574
575       SKIP: {
576           skip "TLSv1.0 is not supported by this OpenSSL build", 5
577               if $no_tls1 || $provider eq "fips";
578
579           note('echo test tls1 with serverinfo');
580           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-serverinfo_file", $serverinfo])));
581           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-serverinfo_file", $serverinfo, "-serverinfo_sct"])));
582           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-serverinfo_file", $serverinfo, "-serverinfo_tack"])));
583           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-serverinfo_file", $serverinfo, "-serverinfo_sct", "-serverinfo_tack"])));
584           ok(run(test([@ssltest, "-bio_pair", "-tls1", "-custom_ext", "-serverinfo_file", $serverinfo, "-serverinfo_sct", "-serverinfo_tack"])));
585         }
586     };
587 }