]> mj.ucw.cz Git - eval.git/blob - submit/config
f52f8e5dd0afd9ef743c59045e6673557e79aa79
[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                 60
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         16
43 }
44
45 Access {
46         IP              195.113.18.125
47         Admin           0
48         PlainText       0
49         MaxConn         2
50 }
51
52 Access {
53         IP              10.10.8.0/24
54         Admin           0
55         PlainText       0
56         MaxConn         2
57 }
58
59 # Trace TLS parameters
60 TraceTLS                1
61
62 # Trace command and their results
63 TraceCommands           1
64
65 }
66
67 # Competition tasks
68
69 Tasks {
70 #       Task plans
71 #       Task { Name world; OpenData 10; }
72
73         Task            necklace
74         Task            nei
75         Task            town
76
77         Extension       c cpp pas
78         OpenDataExt     out
79 }
80
81 # Library configuration
82
83 # Need to put temporary files locally to make sure they are on the same device
84 # as the submission directories, so that we can rename the files to their final
85 # locations.
86 Tempfiles.Prefix        tmp/temp