Hello,<br><br><br>My goal is to create an ipsec/l2tp server which supports the saref feature.<br>I managed to get ipsec wotking but now i get that error (setsockopt recvref[22]: Protocol not available) from xl2tpd.<br><br>
Here is what i&#39;ve done.<br><br>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.<br><br>I expected that xl2tpd would work with this setup but it doesn-t.<br>
<br>Before  doing make kpatch i applied the openswan, natt patches by hand but protostack=mast didn-t work. Now it does. <br><br>I think my question is this<br><br>Is the openswan.patch generated by &#39;make kpatch&#39; enough to enable saref in the kernel or must i apply another patch (maybe saref.patch from openswan-2.6.25 tree) ?<br>
<br>This because i cannot find in linux-2.6.23/include/linux/in.h(or anywhere else in the kernel tree for that matter) the line #define IP_IPSEC_REFINFO 22 after the openswan.patch. And i believe this is the cause of the xl2tpd error. Please correct me if i&#39;m wrong.<br>
<br>No errors were issued  at make kpatch.<br><br>Please tell me if you need more info,logs etc.<br><br>Thank you for your time.<br>