]> mj.ucw.cz Git - eval.git/blob - submit/config
Added script for creation of certificates.
[eval.git] / submit / config
1 # Configuration file for the submit server
2
3 SubmitD {
4
5 # Port number
6 Port                    8888
7
8 # Maximum number of connections allowed
9 MaxConn                 4
10
11 # Time in seconds after which inactive connections are closed (0=none)
12 SessionTimeout          300
13
14 # Maximum size of a request
15 MaxRequestSize          4K
16
17 # Maximum size of an attachment (i.e., a submitted solution)
18 MaxAttachSize           256K
19
20 # Number of bits for the Diffie-Hellman key exchange
21 DHBits                  1024
22
23 # Certificate of our internal CA which is used to validate all contestants
24 CACert                  certs/ca-cert.pem
25
26 # The certificate (issued by our CA) and secret key for this server
27 ServerCert              certs/server-cert.pem
28 ServerKey               certs/server-key.pem
29
30 # Rules for accepting connections (first matching rule is used)
31 Access {
32         # IP address range matched by this rule
33         IP              127.0.0.1
34
35         # Administrator access allowed
36         Admin           1
37
38         # Plain-text connections without any user authentication allowed
39         PlainText       0
40
41         # Maximum number of connections per IP address allowed
42         MaxConn         1
43 }
44
45 # Trace TLS parameters
46 TraceTLS                1
47
48 # Trace command and their results
49 TraceCommands           1
50
51 }
52
53 # Competition tasks
54
55 Tasks {
56         Task plans
57         Task { Name world; OpenData 10; }
58
59         Extension       c cpp pas
60         OpenDataExt     out
61 }
62
63 # Library configuration
64
65 # Need to put temporary files locally to make sure they are on the same device
66 # as the submission directories, so that we can rename the files to their final
67 # locations.
68 Tempfiles.Prefix        tmp/temp