1IPSEC(8) System Manager's Manual IPSEC(8)
2
3
4
6 ipsec - invoke IPsec utilities
7
9 ipsec command [ argument ...]
10
11 ipsec --help
12 ipsec --version
13 ipsec --versioncode
14 ipsec --copyright
15 ipsec --directory
16 ipsec --confdir
17
19 Ipsec invokes any of several utilities involved in controlling the
20 IPsec encryption/authentication system, running the specified command
21 with the specified arguments as if it had been invoked directly. This
22 largely eliminates possible name collisions with other software, and
23 also permits some centralized services.
24
25 In particular, ipsec supplies the invoked command with a suitable PATH
26 environment variable, and also provides IPSEC_DIR, IPSEC_CONFS, and
27 IPSEC_VERSION environment variables, containing respectively the full
28 pathname of the directory where the IPsec utilities are stored, the
29 full pathname of the directory where the configuration files live, and
30 the IPsec version number.
31
32 ipsec --help lists the available commands. Most have their own manual
33 pages, e.g. ipsec_auto(8) for auto.
34
35 ipsec --version outputs version information about Linux FreeS/WAN. A
36 version code of the form ``Uxxx/Kyyy'' indicates that the user-level
37 utilities are version xxx but the kernel portion appears to be version
38 yyy (this form is used only if the two disagree).
39
40 ipsec --versioncode outputs just the version code, with none of --ver‐
41 sion's supporting information, for use by scripts.
42
43 ipsec --copyright supplies boring copyright details.
44
45 ipsec --directory reports where ipsec thinks the IPsec utilities are
46 stored.
47
48 ipsec --confdir reports where ipsec thinks the IPsec configuration
49 files are stored.
50
52 /usr/local/lib/ipsec usual utilities directory
53
55 The following environment variables control where FreeS/WAN finds its
56 components. The ipsec command sets them if they are not already set.
57 IPSEC_EXECDIR directory containing published commands
58 IPSEC_LIBDIR directory containing internal executables
59 IPSEC_SBINDIR directory containing ipsec command
60 IPSEC_CONFS directory containing configuration files
61
63 ipsec.conf(5), ipsec.secrets(5), ipsec_auto(8), ipsec_barf(8),
64 ipsec_setup(8), ipsec_showdefaults(8), ipsec_showhostkey(8)
65
66 HTML documentation shipped with the release, starting with doc/in‐
67 dex.html. <http://www.freeswan.org/doc.html> may also be of use.
68
70 Written for Linux FreeS/WAN <http://www.freeswan.org> by Henry Spencer.
71
73 The provision of centralized services, while convenient, does compro‐
74 mise the original concept of making the utilities invocable directly as
75 well as via ipsec.
76
77
78
79 26 March 2002 IPSEC(8)