kern/53624: patches for ipfw2 to support ipsec packet filtering

Ari Suutari ari.suutari at syncrontech.com
Mon Aug 4 00:30:02 PDT 2003


Hi,

On Thursday 10 July 2003 12:12, Christian Kratzer wrote:
> Hi,
>
> We applied the patch to a RELENG_4 system but can't seem to be able to
> catch packets based on them having ipsec history or not.
>
> We have "options IPSEC_FILTERGIF" and "options IPFW2" in our kernel config.
>
> We currently have an ipsec esp tunnel running between two locations without
> any gif tunnels.  IPSEC_FILTERGIF seems to be working fine as packets are
> now being filtered by our ipfw ruleset.
>
> We can't match any packets based on the ipsec or not ipsec flags in ipfw2.
>
> I just wanted to ask if somebody knows the obvious before I start digging
> my head in the code.

	I did my quick testing on 5.1-RELEASE system, but I cannot really 
	understand why the change wouldn't work on RELENG_4 also.
	It uses only one call which works on RELENG_4 (otherwise a system
	*without* IPSEC_FILTERGIF wouldn't work as expected).

	I have really tested with KAME ipsec. Are you using FAST_IPSEC ?

		Ari S.



More information about the freebsd-ipfw mailing list