=== modified file 'TODO' --- TODO 2008-08-24 10:49:09 +0000 +++ TODO 2008-08-25 07:52:35 +0000 @@ -85,8 +85,6 @@ [[http://www.steve.org.uk/Reference/Unix/faq_4.html#SEC48][Unix Programming FAQ 3.1 How can I make my program not echo input?]] * mandos (server) -** [#A] Config file man page: man5/mandos-clients.conf (clients.conf) -*** For option "secret", document which program can help generate it. ** [#A] /etc/init.d/mandos-server :teddy: ** [#B] Log level :bugs: ** /etc/mandos/clients.d/*.conf @@ -115,6 +113,8 @@ *** Keydir move: /etc/mandos -> /etc/keys/mandos Must create in preinst if not pre-depending on cryptsetup *** mandos-keygen +**** "--passfile" option + Using the "secfile" option instead of "secret" **** [#A] "--test" option For testing decryption before rebooting. ** Server-side === modified file 'mandos-clients.conf.xml' --- mandos-clients.conf.xml 2008-08-22 00:16:20 +0000 +++ mandos-clients.conf.xml 2008-08-25 07:52:35 +0000 @@ -79,11 +79,11 @@ DESCRIPTION - The file &CONFPATH; is the configuration file for mandos - 8, read by it at startup, - where each client that will be able to use the service needs to - be listed. All clients listed will be regarded as valid, even + 8, read by it at startup. + The file needs to list all clients that should be able to use + the service. All clients listed will be regarded as valid, even if a client was declared invalid in a previous run of the server. @@ -111,7 +111,11 @@ OPTIONS - The possible options are: + Note: all option values are subject to + start time expansion, see . + + + Uknown options are ignored. The used options are as follows: @@ -175,13 +179,15 @@ This option allows you to override the default shell command that the server will use to check if the client is - still up. The output of the command will be ignored, only - the exit code is checked. The command will be run using - /bin/sh - . The default - command is fping - - %(host)s. + still up. Any output of the command will be ignored, only + the exit code is checked: If the exit code of the command + is zero, the client is considered up. The command will be + run using /bin/sh + , so + PATH will be searched. The default + value for the checker command is fping %(host)s. In addition to normal start time expansion, this option @@ -218,16 +224,22 @@ to the client matching the above . This should, of course, be OpenPGP encrypted data, decryptable only by the client. - - - - - - - Note: this value of this option will probably run over - many lines, and will then have to use the fact that a line - beginning with white space adds to the value of the - previous line, RFC 822-style. + The program mandos-keygen8 can, using its + option, be used to generate + this, if desired. + + + Note: this value of this option will probably be very + long. A useful feature to avoid having unreadably-long + lines is that a line beginning with white space adds to + the value of the previous line, RFC 822-style. + + + If this option is not specified, the option is used instead, but one of them + must be present. @@ -235,9 +247,18 @@ secfile - - Base 64 encoded OpenPGP encrypted password encrypted by - the clients openpgp certificate as a binary file. + secfile = FILENAME + + + The same as , but the secret data + is in an external file. The contents of the file should + not be base64-encoded, but will be + sent to clients verbatim. + + + This option is only used, and must be + present, if is not specified. @@ -245,31 +266,16 @@ host + host = STRING + - Host name that can be used in for checking that the client is up. + Host name for this client. This is not used by the server + directly, but can be, and is by default, used by the + checker. See the option. - - - checker - - - Shell command that the server will use to check up if a - client is still up. - - - - - - timeout - - - Duration that a client can be down whitout be removed from - the client list. - - - @@ -317,7 +323,7 @@ Note that this means that, in order to include an actual percent character (%) in a - checker options, four + checker option, four percent characters in a row (%%%%) must be entered. Also, a bad format here will lead to an immediate but silent run-time fatal exit; debug @@ -376,17 +382,29 @@ 5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm 4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O QlnHIvPzEArRQLo= - =iHhv host = foo.example.org -interval = 5m +interval = 1m # Client "bar" [bar] fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27 -secfile = /etc/mandos/bar-secret.txt.asc +secfile = /etc/mandos/bar-secret +timeout = 15m - + + + SEE ALSO + + + mandos + 8, + mandos-keygen + 8, + mandos.conf + 5 + +