From owner-freebsd-net@FreeBSD.ORG Thu Sep 16 20:08:06 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD63D1065786; Thu, 16 Sep 2010 20:08:06 +0000 (UTC) (envelope-from ddesimone@verio.net) Received: from relay1-bcrtfl2.verio.net (relay1-bcrtfl2.verio.net [131.103.218.142]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7E58FC19; Thu, 16 Sep 2010 20:08:06 +0000 (UTC) Received: from iad-wprd-xchw02.corp.verio.net (unknown [198.87.7.165]) by relay1-bcrtfl2.verio.net (Postfix) with ESMTP id CD590B03822F; Thu, 16 Sep 2010 15:49:08 -0400 (EDT) Thread-Index: ActV2DoAm1/fg9BSQoyUyB7mUocF7w== Received: from dllstx1-8sst9f1.corp.verio.net ([10.144.2.52]) by iad-wprd-xchw02.corp.verio.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 16 Sep 2010 15:49:07 -0400 Received: by dllstx1-8sst9f1.corp.verio.net (sSMTP sendmail emulation); Thu, 16 Sep 2010 14:49:06 -0500 Date: Thu, 16 Sep 2010 14:49:05 -0500 Content-Transfer-Encoding: 7bit From: "David DeSimone" To: "Tom Judge" Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4657 Importance: normal Priority: normal Message-ID: <20100916194905.GR4928@verio.net> Mail-Followup-To: Tom Judge , freebsd-net@freebsd.org, bz@freebsd.org References: <273436110.20100916180053@gmail.com> <4C9232F9.70206@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4C9232F9.70206@tomjudge.com> Precedence: bulk User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 16 Sep 2010 19:49:07.0395 (UTC) FILETIME=[395E0130:01CB55D8] Cc: freebsd-net@freebsd.org, bz@freebsd.org Subject: Re: Strange FreeBSD behavior when trying to forward beetween ipsec crypted gif's. May be a problem with ICMP unreach packets at all X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2010 20:08:06 -0000 Tom Judge wrote: > > > Question: Why FW2 does not send ICMP need-fragment-but-DF-set > > message to HostB ? > > If you take a look at icmp_error() in sys/netinet/ip_icmp.c you will > see that icmp errors are not sent for packets that have been > previously been decrypted by IPSec. I have a feeling that this is > because icmp_reflect() will not use the correct output path but I may > be and most probably am wrong. Bjoern (CC'd) can probably shed more > light on it. It is not done because the resulting ICMP packets may very well end up being sent to an unrelated host or router which has no SA policy defined, meaning that the ICMP would be sent unencrypted. This would expose some packet data in the payload of the ICMP message that had been previously sent as securely encrypted, giving an attacker some known-plaintext data to use in attempting to guess session keys, among other information exposed. -- David DeSimone == Network Admin == fox@verio.net "I don't like spinach, and I'm glad I don't, because if I liked it I'd eat it, and I just hate it." -- Clarence Darrow This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you.