<<

NAME

CTF::FlagServer - Contestant side Daemon for CTF Flag Exchange.

SYNOPSIS

    my $server = CTF::FlagServer->new($args);
    $server->Bind();

This is a subclass of Net::Daemon::SSL, $args is a hashref containing any args that are valid for that class.

ABSTRACT

This is the side of the Flag Exchange that sits on the CTF Contestant's machine.

DESCRIPTION

This daemon is standalone server that's involved in the Flag exchange. The Server is fully configurable using a YAML configuration file. A sample config file looks like this:

    #data that the contestant-side server needs.
    port: 31337
    ca_cert: certs/cacert.pem
    server_key: certs/server-key.pem
    server_cert: certs/server-cert.pem
    flags:
        http: /home/www/htdocs/flag.txt
        smb: /home/samba/shares/flag.txt

The server will only accept connections from clients with valid certificate signed by the Cert Authority whose key is given in the ca_cert configuration directive.

Communication Protocol

The FlagServer understands the following commands.

SEE ALSO

http://crew.ccs.neu.edu/wiki/CaptureTheFlag

AUTHOR

Marc Dougherty <[email protected]>

Ian Langworth <http://langworth.com>

COPYRIGHT AND LICENSE

Copyright 2004 by Marc Dougherty

This software is released under the terms of the GPL. A copy of the GPL can be obtained here: http://www.fsf.org/licenses/gpl.html

<<

Unless otherwise noted, all content is copyright Marc Dougherty and is subject to a Creative Commons license.