[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IKE negotiation for fragmentation controls in IPsec
Received: from [184.108.40.206] (comsec.bbn.com [220.127.116.11])
by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id h5UDKEDD009711;
Mon, 30 Jun 2003 09:20:18 -0400 (EDT)
Date: Mon, 30 Jun 2003 09:19:33 -0400
To: "Srinivasa Rao Addepalli" <email@example.com>
From: Stephen Kent <firstname.lastname@example.org>
Subject: Re: IKE negotiation for fragmentation controls in IPsec
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
At 3:51 PM -0700 6/27/03, Srinivasa Rao Addepalli wrote:
> > > Outbound Processing steps:
>> > - Reassemble the packet (Packet coming from trusted network).
>> NO. there is no implied reassembly by the transmitter.
>> I won't comment on the rest of your message since this assumption was
>> not right and it may influence later parts of your message.
>I am curious on why this is not needed.
>IPSEC SPD supports selector space with not only IP addresses, but also
>with TCP/UDP port values. If some sort of reassembling is not done(either wait
>for all fragments OR maintain reassembly state with IP ID, SIP, DIP), there
>is possibility of mapping the non-first fragments of the packets to the wrong
>security policy. Only first fragment has TCP/UDP information and it chooses
>the correct security policy.
>Complete IP reassembling helps in finding out obvious DoS attacks and
>helps in reducing the number of encapsulated IPSEC packets.
Each inbound IPsec datagram carries and SPI and that maps uniquely to
an SA. If one links selector info with each SAD entry (part of the
simplified processing model I'll bee explaining as we progress), then
there is no ambiguity about which selectors to match against an
If the SA calls for examination of port fields, then yes, non-initial
fragments cannot be examined, but so long as we make sure the offsets
are large enough to avoid overwriting these fields, then letting such
fragments through does not seem like a serious problem. Also, as Tero
noted in his message, at worst one might buffer, but not reassemble,
non-initial fragments for an SA under such circumstances.