From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <91349a4a1eb8d5e0b5782aa83af2b111@plan9.bell-labs.com> From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] error in icmp error packets MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-thlvrsxacfpdmkbytioqhmobgd" Date: Sun, 13 Oct 2002 15:27:48 -0400 Topicbox-Message-UUID: 04dd79e4-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-thlvrsxacfpdmkbytioqhmobgd Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit thanks, updated. --upas-thlvrsxacfpdmkbytioqhmobgd Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sun Oct 13 15:12:17 EDT 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sun Oct 13 15:12:16 EDT 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D9B9B19A6D; Sun, 13 Oct 2002 15:12:08 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from hamnavoe (hamnavoe.gotadsl.co.uk [213.208.117.150]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 2101A19A6C for <9fans@cse.psu.edu>; Sun, 13 Oct 2002 15:11:50 -0400 (EDT) Message-ID: To: 9fans@cse.psu.edu From: Richard Miller MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] error in icmp error packets Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Sun, 13 Oct 2002 20:11:11 +0100 Problem: the data section of icmp "port unreachable" and "time exceeded" packets contains a copy of the headers of the packet being responded to. In Plan 9 the copy is corrupted, which annoys my firewall and presumably will not be helpful for the host receiving the icmp packet. Evidence: see the udp header in the icmp packet shown below. term% snoopy& term% con -l udp!192.168.23.1!99 vihl = IP_VER4; /sys/src/9/ip/icmp.c:203 a icmp.c:203 > np->vihl = IP_VER4; /sys/src/9/ip/icmp.c:227 d icmp.c:226 < p->vihl = IP_VER4; /sys/src/9/ip/icmp.c:242 a icmp.c:242 > np->vihl = IP_VER4; -- Richard Miller --upas-thlvrsxacfpdmkbytioqhmobgd--