Project

General

Profile

strongSwan User Documentation » History » Version 12

Martin Willi, 30.08.2007 23:12
Added some useful comments

1 5 Martin Willi
= strongSwan User Documentation =
2 2 Martin Willi
3 2 Martin Willi
== Features ==
4 4 Martin Willi
  * [wiki:VirtualIp Virtual IP] via mode-config (IKEv1) or configuration payload (IKEv2)
5 2 Martin Willi
  * [wiki:NatTraversal NAT Traversal]
6 2 Martin Willi
  * [wiki:MobIke MOBIKE]
7 2 Martin Willi
8 1 Martin Willi
=== FAQ ===
9 1 Martin Willi
10 8 Martin Willi
'''Q:''' ''I'm trying to set up a VPN tunnel with a ZyXELL/Linksys/X router but the other side keeps on telling me "no proposal chosen" when strongSwan initiates the connection.''
11 6 Martin Willi
12 9 Martin Willi
'''A:''' Make sure that the peer supports all the algorithms (including the key lengths) which strongSwan proposes for IKE and ESP. In terms of IKE, the proposal consists of the following parts: Encryption algorithm, hash algorithm (PRF) and DH group. In terms of ESP the proposal includes the following: Encryption algorithm, hash algorithm, pfs group (DH group) and '''compression algorithm'''. There are lots of IPSec implementations out there that do '''not''' support compression or have implemented it erronously. So the first thing to try in this situation is to switch compression off on the peer. strongSwan's default setting is
13 6 Martin Willi
{{{
14 6 Martin Willi
compress=no
15 9 Martin Willi
}}} 
16 6 Martin Willi
See also Chapter [http://www.strongswan.org/docs/readme4.htm#section_14.1 14.1 Authentication and encryption algorithms] of the strongSwan documentation. It has good information about the relevant parameters.
17 6 Martin Willi
18 1 Martin Willi
=== Interoperability ===
19 7 Tobias Brunner
20 7 Tobias Brunner
 * [wiki:WindowsVista Windows Vista]
21 10 Martin Willi
22 10 Martin Willi
=== Autoconf Options ===
23 10 Martin Willi
24 12 Martin Willi
strongSwan can be built with the following '''./configure''' options:
25 12 Martin Willi
26 1 Martin Willi
''--prefix=PREFIX''
27 12 Martin Willi
    where to put installation [''/usr/local'']. Most Linux distributions use ''"/usr"''.
28 10 Martin Willi
29 10 Martin Willi
''--libexecdir=DIR''
30 10 Martin Willi
    program executables [''PREFIX/libexec'']
31 1 Martin Willi
 
32 10 Martin Willi
''--sysconfdir=DIR''
33 12 Martin Willi
    where to put configuration files [''PREFIX/etc'']. We strongly recommend ''"/etc"''.
34 10 Martin Willi
 
35 10 Martin Willi
''--enable-cisco-quirks''
36 10 Martin Willi
    enable support of Cisco VPN client [''no''].
37 10 Martin Willi
38 10 Martin Willi
''--enable-dbus''
39 10 Martin Willi
    enable DBUS configuration and control interface [''no'']. Requires libdbus.
40 10 Martin Willi
41 10 Martin Willi
''--enable-eap-sim''
42 10 Martin Willi
    build SIM authentication module for EAP [''no''].
43 10 Martin Willi
44 10 Martin Willi
''--enable-http''
45 10 Martin Willi
    enable OCSP and fetching of certificates and CRLs over HTTP [''no'']. Requires libcurl.
46 10 Martin Willi
47 11 Martin Willi
''--enable-integrity-test''
48 11 Martin Willi
    enable the integrity test of the crypto library [''no''].
49 11 Martin Willi
50 10 Martin Willi
''--enable-ldap''
51 10 Martin Willi
    enable fetching of CRLs from LDAP [''no'']. Requires OpenLDAP.
52 10 Martin Willi
53 10 Martin Willi
''--enable-leak-detective''
54 10 Martin Willi
    enable malloc hooks to find memory leaks [''no''].
55 10 Martin Willi
56 10 Martin Willi
''--enable-nat-transport''
57 10 Martin Willi
    enable NAT traversal with IPsec transport mode [''no''].
58 10 Martin Willi
59 10 Martin Willi
''--enable-smartcard''
60 10 Martin Willi
    enable smartcard support [''no''].
61 10 Martin Willi
62 10 Martin Willi
''--enable-uml''
63 10 Martin Willi
    build the UML test framework [''no''].
64 10 Martin Willi
65 10 Martin Willi
''--enable-xml''  
66 10 Martin Willi
    enable XML configuration and control interface [''no'']. Requires libxml.
67 10 Martin Willi
68 10 Martin Willi
''--disable-self-test''
69 10 Martin Willi
    disable the self-test of the crypto library [''no''].
70 10 Martin Willi
71 10 Martin Willi
''--disable-vendor-id''
72 10 Martin Willi
    disable the sending of the strongSwan vendor ID [''no''].  
73 10 Martin Willi
74 10 Martin Willi
''--with-backenddir=DIR''
75 10 Martin Willi
    path for pluggable configuration backend modules [''IPSECDIR/plugins/backends'']
76 10 Martin Willi
77 10 Martin Willi
''--with-default-pkcs11=LIB''
78 10 Martin Willi
    set the default PKCS11 library [''/usr/lib/opensc-pkcs11.so'']
79 10 Martin Willi
80 10 Martin Willi
''--with-eapdir=DIR''
81 10 Martin Willi
    path for pluggable EAP modules [''IPSECDIR/plugins/eap'']
82 10 Martin Willi
83 10 Martin Willi
''--with-gid=GID''
84 10 Martin Willi
    change group of the daemons to GID after startup [''0'']
85 10 Martin Willi
86 10 Martin Willi
''--with-interfacedir=DIR''
87 10 Martin Willi
    path for pluggable control interface modules [''IPSECDIR/plugins/interfaces'']
88 10 Martin Willi
89 10 Martin Willi
''--with-ipsecdir=DIR''
90 10 Martin Willi
    installation path for ipsec tools [''LIBEXECDIR/ipsec'']
91 10 Martin Willi
92 10 Martin Willi
''--with-linux-headers=DIR''
93 10 Martin Willi
    linux header files to be used [''../include'']
94 10 Martin Willi
95 10 Martin Willi
''--with-piddir=DIR''
96 10 Martin Willi
    path for PID and UNIX socket files [''/var/run'']
97 10 Martin Willi
98 10 Martin Willi
''--with-random-device=DEV''
99 10 Martin Willi
    set the device for true random data [''/dev/random'']
100 10 Martin Willi
101 10 Martin Willi
''-with-resolv-conf=FILE''
102 10 Martin Willi
   set the file to store DNS server information [''SYSCONFDIR/resolv.conf'']
103 10 Martin Willi
104 10 Martin Willi
''--with-routing-table=NUM''
105 10 Martin Willi
    routing table for IPsec source routes [''220'']
106 10 Martin Willi
107 10 Martin Willi
''--with-routing-table-prio=PRIO''
108 10 Martin Willi
    priority for IPsec routing table [''220'']
109 10 Martin Willi
110 10 Martin Willi
''--with-sim-reader=LIB''
111 10 Martin Willi
    library containing the sim_run_alg() function for EAP-SIM []
112 10 Martin Willi
113 10 Martin Willi
''--with-uid=UID''
114 10 Martin Willi
    change user of the daemons to UID after startup [''0'']
115 10 Martin Willi
116 10 Martin Willi
''--with-urandom-device=DEV''
117 10 Martin Willi
    set the device for pseudo random data [''/dev/urandom'']
118 10 Martin Willi
119 10 Martin Willi
''--with-xauth-module=LIB''
120 10 Martin Willi
    set the path to the XAUTH module []