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