[Openswan Users] SAREF patches for Ubuntu 12.04

Dmitry Korzhevin dmitry.korzhevin at stidia.com
Wed Aug 15 05:08:44 EDT 2012


Hello, guys

I trying to configure L2TP VPN server with IPSec in Ubuntu 12.04 and i
found, that openswan package (latest release - openswan-2.6.38) includes
folder patches/kernel and there are subfolders with patches for various
kernel versions:

2.4.37.9  2.6.16  2.6.16.54-0.2.5  2.6.16.60-0.89.1  2.6.22  2.6.23
2.6.32  2.6.33.8-149.fc13  2.6.34  2.6.35  2.6.36  2.6.38  3.0.0

But, Ubuntu 12.04 Precise Pangolin handles kernel > 3.0.0

According to page:

http://packages.ubuntu.com/precise/linux

Main kernel version is 3.2.0.29.31

I can't find patch for this kernel version, can you please help me?

I mean this patches:

0001-SAREF-add-support-for-SA-selection-through-sendmsg.patch


[dkorzhevin at localhost 3.0.0]$ head
0001-SAREF-add-support-for-SA-selection-through-sendmsg.patch
commit f6d90f37e05745e3ba0a76f5766b6572550eca7e
Author: Jonathon Padfield <jonathon.padfield at gmail.com>
Date:   Sun Feb 26 06:47:09 2012 +0000

    SAref patch 0001 against Ubuntu 3.0.0-16 #28

diff --git a/include/linux/in.h b/include/linux/in.h
index beeb6de..9cfccb9 100644
--- a/include/linux/in.h
+++ b/include/linux/in.h
[dkorzhevin at localhost 3.0.0]$



0002-SAREF-implement-IP_IPSEC_BINDREF.patch


[dkorzhevin at localhost 3.0.0]$ head
0002-SAREF-implement-IP_IPSEC_BINDREF.patch
>From cc17555c99001470bddcd00e29f5a0a5a3861adf Mon Sep 17 00:00:00 2001
From: Bart Trojanowski <bart at jukie.net>
Date: Mon, 31 May 2010 16:19:19 -0400
Subject: [PATCH 2/2] SAREF: implement IP_IPSEC_BINDREF

Add sockopt IP_IPSEC_BINDREF, which associates an IPsec SAref to an inet
socket.  The ref is used to seed the skb->sp->ref for each skb on that
connection, which will force packets out a specific klips SA.
---
 include/linux/in.h     |    1 +
[dkorzhevin at localhost 3.0.0]$


Thank you

Best Regards,
Dmitry

---
Dmitry KORZHEVIN
System Administrator
STIDIA S.A. - Luxembourg

e: dmitry.korzhevin at stidia.com
m: +38 093 874 5453
w: http://www.stidia.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4488 bytes
Desc: ���������������������������������� �������������� S/MIME
URL: <http://lists.openswan.org/pipermail/users/attachments/20120815/7fcf81ac/attachment.p7s>


More information about the Users mailing list