]> mj.ucw.cz Git - eval.git/blobdiff - submit/config
Fixed a comment.
[eval.git] / submit / config
index 811634934e1a5edde4749362b94fa0f0d84ffcc3..85d266981f5e732ea738b32b978b59d0433563f6 100644 (file)
@@ -2,11 +2,14 @@
 
 SubmitD {
 
+# Log file (optional)
+LogFile                        log/submitd
+
 # Port number
 Port                   8888
 
 # Maximum number of connections allowed
-MaxConn                        4
+MaxConn                        60
 
 # Time in seconds after which inactive connections are closed (0=none)
 SessionTimeout         300
@@ -15,8 +18,13 @@ SessionTimeout               300
 MaxRequestSize         4K
 
 # Maximum size of an attachment (i.e., a submitted solution)
+# This is a default, which can be overriden in task definitions.
 MaxAttachSize          256K
 
+# Maximum number of versions of a single task part a contestant is allowed
+# to submit (0=unlimited)
+MaxVersions            50
+
 # Number of bits for the Diffie-Hellman key exchange
 DHBits                 1024
 
@@ -27,18 +35,30 @@ CACert                      certs/ca-cert.pem
 ServerCert             certs/server-cert.pem
 ServerKey              certs/server-key.pem
 
+# Keep history of all submitted files in files of a given name prefix
+# (formatted by strftime; default: no history kept)
+History                        history/%H%M%S-
+
 # Rules for accepting connections (first matching rule is used)
 Access {
-       # IP address range matched by this rule
+       # IP address ranges matched by this rule
        IP              127.0.0.1
 
-       # Administrator access allowed
+       # Administrator access allowed (does not do anything yet)
        Admin           1
 
        # Plain-text connections without any user authentication allowed
        PlainText       0
 
        # Maximum number of connections per IP address allowed
+       MaxConn         16
+}
+
+Access {
+       IP              195.113.18.125
+       IP              10.10.8.0/24
+       Admin           0
+       PlainText       0
        MaxConn         2
 }
 
@@ -46,15 +66,19 @@ Access {
 TraceTLS               1
 
 # Trace command and their results
-TraceCommands          1
+TraceCommands          2
 
 }
 
 # Competition tasks
 
 Tasks {
-       Task plans
-       Task { Name world; OpenData 10; }
+#      Task plans
+       Task { Name world; OpenData 10; MaxSize 1M; }
+
+       Task            asteroids
+       Task            cards
+       Task            lines
 
        Extension       c cpp pas
        OpenDataExt     out