| Summary: | [2.4] Freeswan 2.04 bug with gentoo-sources 2.4.25-r2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Janosch Machowinski <jmachowinski> |
| Component: | [OLD] Core system | Assignee: | x86-kernel (DEPRECATED) <x86-kernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
freeswan (and superfreeswan) have been removed from out tree. please use openswan or strongswan versus gentoo-sources-2.4.26-r4 or any recent 2.6 kernel. Closing. |
There's a bug with the gentoo-sources-2.4.25-r2 and Freeswan 2.04: at startup you get the error:"ipsec_setup: /usr/libexec/ipsec/eroute: pfkey write failed, returning -1 with errno=22.". This is solveb by adding the 2 lines int32_t sadb_x_sa_ref; int8_t sadb_x_reserved[4]; struct sadb_sa { uint16_t sadb_sa_len; uint16_t sadb_sa_exttype; uint32_t sadb_sa_spi; uint8_t sadb_sa_replay; uint8_t sadb_sa_state; uint8_t sadb_sa_auth; uint8_t sadb_sa_encrypt; uint32_t sadb_sa_flags; int32_t sadb_x_sa_ref; int8_t sadb_x_reserved[4]; } to gentoo-2.4.25-r2/net/ipsec/libfreeswan/pfkeyv2.h Reproducible: Always Steps to Reproduce: 1. 2. 3. Would be nice to have an Severity option: "Fix to a new bug"...