Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52852 - [2.4] Freeswan 2.04 bug with gentoo-sources 2.4.25-r2
Summary: [2.4] Freeswan 2.04 bug with gentoo-sources 2.4.25-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 00:30 UTC by Janosch Machowinski
Modified: 2004-07-09 07:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janosch Machowinski 2004-06-03 00:30:17 UTC
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"...
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2004-07-09 07:26:54 UTC
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.