]> mj.ucw.cz Git - eval.git/blobdiff - submit/config
Maximum submission size is now configurable per task.
[eval.git] / submit / config
index 811634934e1a5edde4749362b94fa0f0d84ffcc3..02dcc543317fc3fdc8a923896d437963f4c2cc7c 100644 (file)
@@ -2,11 +2,14 @@
 
 SubmitD {
 
 
 SubmitD {
 
+# Log file (optional)
+LogFile                        log/submitd
+
 # Port number
 Port                   8888
 
 # Maximum number of connections allowed
 # 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
 
 # Time in seconds after which inactive connections are closed (0=none)
 SessionTimeout         300
@@ -15,6 +18,7 @@ SessionTimeout                300
 MaxRequestSize         4K
 
 # Maximum size of an attachment (i.e., a submitted solution)
 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
 
 # Number of bits for the Diffie-Hellman key exchange
 MaxAttachSize          256K
 
 # Number of bits for the Diffie-Hellman key exchange
@@ -32,13 +36,27 @@ Access {
        # IP address range matched by this rule
        IP              127.0.0.1
 
        # IP address range 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
        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
+       Admin           0
+       PlainText       0
+       MaxConn         2
+}
+
+Access {
+       IP              10.10.8.0/24
+       Admin           0
+       PlainText       0
        MaxConn         2
 }
 
        MaxConn         2
 }
 
@@ -53,8 +71,12 @@ TraceCommands                1
 # Competition tasks
 
 Tasks {
 # Competition tasks
 
 Tasks {
-       Task plans
-       Task { Name world; OpenData 10; }
+#      Task plans
+       Task { Name world; OpenData 10; MaxSize 1M; }
+
+       Task            necklace
+       Task            nei
+       Task            town
 
        Extension       c cpp pas
        OpenDataExt     out
 
        Extension       c cpp pas
        OpenDataExt     out