From owner-freebsd-ipfw@FreeBSD.ORG Tue Oct 16 07:00:27 2007 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCEE16A418 for ; Tue, 16 Oct 2007 07:00:27 +0000 (UTC) (envelope-from john.w.court@nokia.com) Received: from mgw-ext12.nokia.com (smtp.nokia.com [131.228.20.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA4A13C467 for ; Tue, 16 Oct 2007 07:00:25 +0000 (UTC) (envelope-from john.w.court@nokia.com) Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145]) by mgw-ext12.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id l9G6hawg008247 for ; Tue, 16 Oct 2007 09:44:07 +0300 Received: from siebh102.NOE.Nokia.com ([172.30.195.29]) by esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Oct 2007 09:44:00 +0300 Received: from siebe101.NOE.Nokia.com ([172.30.195.47]) by siebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Oct 2007 14:43:56 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 16 Oct 2007 14:40:12 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Send_pkt() does it support IPV6 ? Thread-Index: AcgPv2cm6Yu+3jRDQVmduTdNmFNqag== From: To: X-OriginalArrivalTime: 16 Oct 2007 06:43:56.0019 (UTC) FILETIME=[EC730430:01C80FBF] X-Nokia-AV: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Send_pkt() does it support IPV6 ? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 07:00:27 -0000 Hi, Sorry if I have missed something blindingly obvious, but I can't see how the send_pkt() routine in ip_fw2.c would create a valid ipv6 source and destination address. This is relevent due to its use in ipfw_tick(). Basically in an ipv6 configuration when ipfw_tick() goes off to send a keep-alive, I think send_pkt() would produce an erroneous IPV4 style packet due to its use of id->dst_ip and id->src_ip rather than dst_ip6 and src_ip6 ? Further, ipfw_tick() then calls ip_output() rather than any ip6_output() routine. =20 I am just checking before I make any modifications that I am not missing something fundamental that invalidates my analysis. Thanks John Court =20