Skip to contentSkip to conversation

crash using netfilter for ipsec when processing icmp packets

DISCUSSION Michael Varga 1 participant 1 message Jan 25, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hello:

I have written an Ipsec module that uses netfilter to capture packets. These packets are then sent to a hardware crypto device which after finishing, it's driver calls a callback, which then calls either an ip_rcv (inbound/decrypt) or an ip_send (outbound/encrypt) to deliver the packet.

When netfilter captures icmp packets which are destined to the machine for which the Ipsec module is running on, I get kernel crashes.

It only crashes when the icmp traffic is >= 10Mbits/sec.

Are there some unpublished rules when processing icmp with Netfilter? Does anyone have some suggestions/recommendations?

thanks
Mike