This is an old revision of the document!


Openswan in 2.6 kernel with KLIPS

Compiling the kernel

configuration: When going through the options, the following changes needs to be made. All are in the networking options.

  1. The PF KEY sockets option should be either modular or unset.
  2. The IPSEC NAT-Traversal (KLIPS compatible) option should be compiled in the kernel.
  3. The Openswan IPsec (KLIPS26) option should be compiled in the kernel. Then enter the KLIPS options and enable every option apart from the CryptoAPI algorithm interface option.

for all the compiling erros see troubleshooting.

Troubleshooting

klips26 < 2.4.6 & kernel 2.6.17.x

 net/ipsec/aes/ipsec_alg_aes.c:82: error: syntax error before string constant

See: BUG

Apply this patch: http://bugs.xelerance.com/view.php?id=636, this shoud be fixed in 2.4.6 Openswan.

openswan/klips26.1243204502.txt.gz · Last modified: 2009/12/08 00:49 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready