[Openswan Users]

Väisänen Teemu teemuuolevivaisanen at gmail.com
Mon Nov 14 14:46:38 CET 2005


Hi and thank you Paul for help!

Your answers helped, but I have still some questions:

- Where could I find out some info about NETKEY and 2.6.8.1 kernel
native IPsec capabilities? What is wrong with them?
- What KLIPS version should I use, because there aren't version for
2.6.8.1 or should I try to make one (shown later in this message)?

I downloaded openswan-2.4.0-1.src.rpm for Fedora core 3 and installed
it. Then I went to openswan-2.4.0/packaging/redhat/ where
openswan.spec is and typed
# rpmbuild -bb openswan.spec --define 'buildklips 1' --define 'kversion 2.6.8.1'

it made
/usr/src/redhat/RPMS/i386/openswan-2.4.0-1.i386.rpm
/usr/src/redhat/RPMS/i386/openswan-doc-2.4.0-1.i386.rpm
/usr/src/redhat/RPMS/i386/openswan-klips-2.4.0-2.6.8.1_1.i386.rpm

When trying to install them
# rpm -ivh openswan-*
it says
error: Failed dependencies:
    kernel = 2.6.8.1 is needed by openswan-klips-2.4.0-2.6.8.1_1.i386
#

- Why does it give that error? I didn't patch my kernel with natt-patch yet.
- Can other kernel patches cause this error, and kernel isn't 2.6.8.1 anymore?
- What is the right order when installing files? natt-patch to kernel,
new kernel, KLIPS, openswan, openswan-docs? Am I missing something?

> You might need to patch your 2.6.8.1 kernel with the natt-patch for the above
> to work. get it using:
>
> make KERNELSRC=/usr/src/linux-2.6.8.1 nattpatch > /usr/src/natt.patch
> cd /usr/src/linux-2.6.8.1
> cat natt.patch | patch -p1 -s

In what folder do I use make? If nattpatch is in
/usr/src/openswan-2.4.0/packaking/utils/ and kernel sources are in
/usr/src/linux-2.6.8.1/. What if t I copy nattpatch file to a folder
where linux-2.6.8.1 folder is?

# make KERNELSRC=/usr/src/linux-2.6.8.1 nattpatch > /usr/src/natt.patch
seems to do nothing. /usr/src/natt.patch file is empty.

Thank you for any help and answers!

-Teemu Väisänen


More information about the Users mailing list