[Openswan Users] setsockopt recvref[22]: Protocol not available problem in xl2tpd 1.2.4, openswan 2.6.25 , kernwl 2.6.23
Paul Wouters
paul at xelerance.com
Mon Mar 29 14:46:52 EDT 2010
On Mon, 29 Mar 2010, Emil Stefanescu wrote:
> My goal is to create an ipsec/l2tp server which supports the saref feature.
> I managed to get ipsec wotking but now i get that error (setsockopt recvref[22]: Protocol not available) from
> xl2tpd.
>
> Here is what i've done.
>
> I patched the 2.6.23. kernel using make kpatch from inside the openswan-2.6.25. So ipsec is working ok. I have a
> mast0 interface and everything.
You also need the apply the ng-patch. Try make ngpatch or check openswan-2.6.25/patches/kernel/ an apply the
saref.patch. The one is 2.6.16.54-0.2.5 is probably more up to dat ethen the 2.6.23 one.
> Is the openswan.patch generated by 'make kpatch' enough to enable saref in the kernel or must i apply another
> patch (maybe saref.patch from openswan-2.6.25 tree) ?
Indeed.
Paul
More information about the Users
mailing list