FS#39615 - [ipsec-tools] 0.8.1-5 does not support forwarding

Attached to Project: Community Packages
Opened by Brendan MacDonell (bremac) - Monday, 24 March 2014, 22:04 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 25 March 2014, 08:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

ipsec-tools uses autoconf to detect if it's running on a version of linux that requires separate forwarding rules for tunnels. Unfortunately the kernel headers conflict with some of the glibc headers. This causes compilation of the feature check to fail, which autoconf interprets as the feature being missing, so the package is built without the necessary forwarding support.

In any case, ipsec-tools only needs the kernel API headers, not the full kernel headers. If '--with-kernel-headers=/usr/include' is passed to configure instead, it will build correctly, with forwarding support enabled.


Steps to reproduce:

The simplest way to check if ipsec-tools was configured correctly for recent linux versions is to run 'sudo setkey -k'. If it prints 'warning: -r and -k options are not supported in this environment', then the package was built incorrectly.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 25 March 2014, 08:54 GMT
Reason for closing:  Fixed

Loading...