From owner-freebsd-questions@FreeBSD.ORG Sun May 8 01:49:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42F0A106564A for ; Sun, 8 May 2011 01:49:29 +0000 (UTC) (envelope-from bseklecki@probikesllc.com) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id CEED18FC15 for ; Sun, 8 May 2011 01:49:28 +0000 (UTC) Received: (qmail 84977 invoked from network); 8 May 2011 01:22:46 -0000 Received: from 24.23.114.249 (HELO ?172.16.70.119?) (24.23.114.249) by relay00.pair.com with SMTP; 8 May 2011 01:22:46 -0000 X-pair-Authenticated: 24.23.114.249 Message-ID: <4DC5F054.4000308@probikesllc.com> Date: Sat, 07 May 2011 21:22:28 -0400 From: Brian Seklecki Organization: CE-Pro Bikes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <214923.99033.qm@web111721.mail.gq1.yahoo.com> <4DC5CA83.6080009@locolomo.org> In-Reply-To: <4DC5CA83.6080009@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Link and network level in the tcp/ip stack X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: seklecki@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 01:49:29 -0000 On 5/7/2011 6:41 PM, Erik Nørgaard wrote: > So the question is which behaviour is correct, recommended or accepted? > Stripping the link layer and reply according to the network layer, or > keeping the link layer? This is the way it in every TCP/IP stack out there. The routing decision for the reply IP packet of the ICMP message is made independently of the upper-OSI-layer TCP state. In this instance, its a bit inconvenient for you, but having these layers abstracted makes for incredible flexibility in TCP/IP; the same thinking as small POSIX utilities work independently is more flexible. -- Brian A. Seklecki CE-Pro Bikes, LLC 412-378-3823 (m) PGP Key Available Upon Request