Instrumental actions (e.g. start/stop a competition) require an SSH connection to the master server.
Less important actions (e.g. post a piece of news, view logs) require a connection to the admin subnet and a web browser.
$ ssh master.final.volgactf.test
$ sudo systemctl start/stop volgactf_final.target
The target comprises several systemd services. To get their statuses, run
$ ssh master.final.volgactf.test
$ sudo systemctl status 'volgactf_final*'
CLI program is installed on the master server.
Reset the database (remove all tables and recreate them). Use at the start of every contest.
$ volgactf-final-cli db reset
Init a competition (write information about teams, services etc. into the database) from a so-called domain file.
$ volgactf-final-cli competition init /opt/volgactf/final/domain/init-10.rb
Start a competition. This command runs asyncronously (a new round will not be started immediately, watch the status in the scoreboard).
$ volgactf-final-cli competition start
Pause a competition. This command runs asyncronously (all "live" flags must expire, watch the status in the scoreboard).
$ volgactf-final-cli competition pause
Resume a competition. This command runs asyncronously (a new round will not be started immediately, watch the status in the scoreboard).
$ volgactf-final-cli competition resume
Finish a competition. This command runs asyncronously (all "live" flags must expire, watch the status in the scoreboard).
$ volgactf-final-cli competition finish
Disable scoreboard update (for teams' subnets during a last hour of a competition)
$ volgactf-final-cli scoreboard disable
Users connected to admin network (organisers) have access to competition logs, news editing and teams' performance stats, not to mention visualisation system available at /visualization
.
- stop the systemd target
- reset database
- start the systemd target
- init a competition
- start the competition
- (optional) pause the competition, then resume
- disable scoreboard update for teams one hour before the end
- stop the competition
MIT @ VolgaCTF