Skip to content

Releases: jcpwfloi/cboj

v1.5 New Version Released

21 Aug 09:44
Compare
Choose a tag to compare

version 1.5 Release

Features

  • Sandbox completed
  • Solving the problem of Memory Leak
  • Compatible to pm2
  • version2 views
  • prepared for Multi-language support

EMERGENCY UPDATE

09 Dec 14:07
Compare
Choose a tag to compare

EMERGENCY UPDATE

Features

  • Fixed the bugs of the judger (forgetting to remove temp output after executing a program)
  • A bug still exists: The input data should be in the format of mac/unix/linux, if it contains '\r', some submissions will have problems with their scores. The solution to this bug has been found but it'll be fixed in the next version.
  • Note: v0.1.* CANNOT BE PUT INTO A PRODUCTION ENVIRONMENT because of the bugs and the instability!!!!

Existing Bugs

You can run a program like this:

#include<cstdlib>
int main() {
    system("reboot");
    return 0;
}

The program will reboot the machine if you run node in the root mode.

Solution:

  • Use chroot to build a sandbox to avoid hacking like this
  • Use restricted Memory Usage Limitations to avoid those who submit a judger-hacking program. (by ulimit -v)

The Database authentication model (or config) is not used, so if you're building a judging-server using this build(or earlier build), please be careful with the setting of MONGODB SERVER.

Finally

Thanks to the bug reporter @LXLWDGY

Version 0.1.1 Features

07 Dec 14:46
Compare
Choose a tag to compare

v0.1.1 Features

Views

  • NOTE THAT JUDGER CAN ONLY JUDGE CPP/PAS SOURCE CODE NOW
  • Updated the view of Compiler Message
  • Updated the view of submission status
  • Show the detailed status of each submission
  • Submission details for the submitter only
  • If there's no Compiler Message, the message won't be shown
  • SyntaxHighlighter tested

Models

  • The Judger provides compiler Message
  • DB part won't be opened for multi-times

version 0.1 features

07 Dec 14:41
Compare
Choose a tag to compare

v0.1 Features

Views

  • Status Page completed
  • Problems listing available
  • Showing one problem available
  • Problem administration available
  • Updating Problem available

Models

  • Judger Availble
  • All the db problems are fixed
  • Have some problems with judger