Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

codex_server

codex_server is the binary for the server.

The following command-line options are recognized:

The configuration file must be in OpenSSL's CONF format and should define the following fields:

Here is an example of a relevant section in a configuration file:

 [ server1 ]
 nhosts  = 4
 hostnum = 1
 
 # Refresh shares every 5 minutes.
 apss_interval = 300
 
 # This is an artificially short list.
 ciphers = EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA
 
 host0 = foo1.bar.org
 host1 = foo2.bar.org
 host2 = foo3.bar.org
 host3 = foo4.bar.org
 
 # Server 2 listens for other servers on a different port than the others.
 client_port  = 3456
 server_port  = 4567
 server_port2 = 4568
 
 public_dir             = /etc/CODEX/pubkeys
 ca_cert_file           = ${public_dir}/CA.cert.pem
 service_cert_file      = ${public_dir}/service.cert.pem
 rsa_witness_file       = ${public_dir}/service.rsa.witness
 server0_cert_file      = ${public_dir}/foo1.cert.pem
 server1_cert_file      = ${public_dir}/foo2.cert.pem
 server2_cert_file      = ${public_dir}/foo3.cert.pem
 server3_cert_file      = ${public_dir}/foo4.cert.pem
 service_eg_public_file = ${public_dir}/service.eg.pub
 elgamal_witness_file   = ${public_dir}/service.eg.witness
 
 private_dir         = /etc/CODEX/privkeys
 server_private_file = ${private_dir}/foo2.private.pem
 rsa_shares_file     = ${private_dir}/foo2.rsa.shares
 elgamal_shares_file = ${private_dir}/foo2.elgamal.shares

The command-line option -s server1 would then be supplied to specify that this is the section to load. If multiple servers share a common configuration file, the common configuration can be put in the default (unnamed) section and server-specific information in the named sections.


Generated on Fri May 6 17:41:31 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1