/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to intro.xml

  • Committer: Teddy Hogeborn
  • Date: 2015-07-01 20:01:26 UTC
  • mto: (237.7.307 trunk)
  • mto: This revision was merged to the branch mainline in revision 325.
  • Revision ID: teddy@recompile.se-20150701200126-qb3f6c3jcas2f4og
mandos-client: Try to start a plugin to add and remove a local route.

* debian/mandos-client.README.Debian: Add setting of environment
                                      variable MANDOSPLUGINHELPERDIR
                                      to command line testing
                                      mandos-client.
* mandos-client.c (raise_privileges): Moved to top of file.
                  (raise_privileges_permanently): - '' -
                  (lower_privileges): - '' -
                  (lower_privileges_permanently): - '' -
  (add_remove_local_route, add_local_route, remove_local_route): New.
  (start_mandos_communication): Set SOCK_CLOEXEC flag on socket.  Run
                                the above functions to add (and
                                remove) local route, if the conditions
                                indicates it could help.
  (run_network_hooks): Use O_DIRECTORY, O_PATH, and O_CLOEXEC flags
                       when opening network hook directory. Do
                       TEMP_FAILURE_RETRY around opening of /dev/null
                       and network hook executables.  Move redirecting
                       of stdout and stderr to as late as possible
                       before fexecve().
  (main): Use O_DIRECTORY and O_PATH when opening temporary directory.
* plugins.d/mandos-client.xml (ENVIRONMENT): Document usage of the
                                             MANDOSPLUGINHELPERDIR
                                             environment variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
 
<!ENTITY TIMESTAMP "2012-01-01">
 
4
<!ENTITY TIMESTAMP "2014-06-22">
5
5
<!ENTITY % common SYSTEM "common.ent">
6
6
%common;
7
7
]>
215
215
      </para>
216
216
    </refsect2>
217
217
    
218
 
    <refsect2 id="fakeping">
219
 
      <title>Faking ping replies?</title>
 
218
    <refsect2 id="fakecheck">
 
219
      <title>Faking checker results?</title>
220
220
      <para>
221
 
        The default for the server is to use
 
221
        If the Mandos client does not have an SSH server, the default
 
222
        is for the Mandos server to use
222
223
        <quote><literal>fping</literal></quote>, the replies to which
223
224
        could be faked to eliminate the timeout.  But this could
224
225
        easily be changed to any shell command, with any security
225
 
        measures you like.  It could, for instance, be changed to an
226
 
        SSH command with strict keychecking, which could not be faked.
227
 
        Or IPsec could be used for the ping packets, making them
228
 
        secure.
 
226
        measures you like.  If the Mandos client
 
227
        <emphasis>has</emphasis> an SSH server, the default
 
228
        configuration (as generated by
 
229
        <command>mandos-keygen</command> with the
 
230
        <option>--password</option> option) is for the Mandos server
 
231
        to use an <command>ssh-keyscan</command> command with strict
 
232
        keychecking, which can not be faked.  Alternatively, IPsec
 
233
        could be used for the ping packets, making them secure.
229
234
      </para>
230
235
    </refsect2>
231
236
  </refsect1>