[Openswan Users] Trying to find why ipsec0 tx dropped occurs
Mike C
smith.not.western at gmail.com
Mon Jun 14 04:20:43 EDT 2010
On Fri, Jun 11, 2010 at 5:17 PM, Mike C <smith.not.western at gmail.com> wrote:
> On Fri, Jun 11, 2010 at 4:45 PM, Mike C <smith.not.western at gmail.com> wrote:
>> I'm going to look into it further, but for some reason one of the
>> below conditions is being met in ipsec_tunnel.klips_header
>>
>> if(prv->dev->header_ops == NULL ||
>> prv->dev->header_ops->create == NULL) {
>> ...
>> }
>>
>
> prv->dev->header_ops is NULL, but I'm not sure why. Linux kernel is
> 2.6.32.9, so does support netdev_priv.
I'm still at a loss to explain why this is NULL. The physical
interface is ppp0, and I use pppd (paul's ppp package, 2.4.5 from
http://ppp.samba.org/) and kernel 2.6.32.9. It looks as if for the ppp
device it (pppd, kernel, openswan? Sorry I'm not very familiar of the
inner workings of all this) is not setting header_ops.
I did see this patch -
http://thuermann.net/urs/patches/linux-2.6/ppp-hdr for the kernel
itself but haven't tried it yet.
I still find my situation a bit odd, in that it seems to be a general
incompatibility with openswan and the ppp device, yet I would have
though everyone using openswan and a kernel supporting header_ops and
using the ppp device would have encountered this error. But I don't
see any evidence of this.
So, has anyone seen this before? Is there a "best" solution to resolve
it? Or have I misread everything and am going down the wrong track?
Regards,
Mike
More information about the Users
mailing list