Re: 5.3 IPSEC broken

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 25 Sep 2004 13:39:08 -0400 (EDT)
On Sat, 25 Sep 2004, Hannes Mehnert wrote:

> On Fri, Sep 24, 2004 at 10:58:33PM -0400, Robert Watson wrote:
> > I'd like to take a look at this sometime in the next few days.  Could you
> > send me an appropriately censored version of your racoon configuration for
> > each endpoint that I can use as a starting point?
> 
> Sure, my config files are available at https://berlin.ccc.de/~hannes/racoon/
> 
> I use a /30 subnet for IPSec, 192.168.2.40/30.

So an interesting first observation for anyone else following this is that
under mbuma, the number of bytes available in an mbuf has changed by four
due (presumably) to the use of extra space by mbuma:

4.x:

 MSIZE:     256
 MLEN:      236
 MHLEN:     212
 MINCLSIZE: 213
 sizeof(struct m_hdr):  20
 sizeof(struct pkthdr): 24

5.x:
 MSIZE:     256
 MLEN:      232
 MHLEN:     208
 MINCLSIZE: 209
 sizeof(struct m_hdr):  24
 sizeof(struct pkthdr): 24

So presumably something in pfkey was carefully (or accidentally) designed
to assume that some object/content would fit in MLEN or MHLEN that no
longer does.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Principal Research Scientist, McAfee Research
Received on Sat Sep 25 2004 - 15:39:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC