X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=submit%2Fconfig;h=85d266981f5e732ea738b32b978b59d0433563f6;hb=04c2d74bd1a8f8c4203220ab70cc11ed215fd8d4;hp=2581bfb2fe7d0d2d791dd5e8f458df2e9233c41b;hpb=8fdc51fe5a272ddd03dbd7b8b7aa497a6b5582fc;p=moe.git diff --git a/submit/config b/submit/config index 2581bfb..85d2669 100644 --- a/submit/config +++ b/submit/config @@ -18,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 @@ -30,12 +35,16 @@ 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 @@ -47,12 +56,6 @@ Access { Access { IP 195.113.18.125 - Admin 0 - PlainText 0 - MaxConn 2 -} - -Access { IP 10.10.8.0/24 Admin 0 PlainText 0 @@ -63,7 +66,7 @@ Access { TraceTLS 1 # Trace command and their results -TraceCommands 1 +TraceCommands 2 } @@ -71,11 +74,11 @@ TraceCommands 1 Tasks { # Task plans -# Task { Name world; OpenData 10; } + Task { Name world; OpenData 10; MaxSize 1M; } - Task necklace - Task nei - Task town + Task asteroids + Task cards + Task lines Extension c cpp pas OpenDataExt out