From owner-freebsd-ipfw@FreeBSD.ORG Tue Oct 16 07:16:19 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 8954816A41A for ; Tue, 16 Oct 2007 07:16:19 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2E33B13C468 for ; Tue, 16 Oct 2007 07:16:18 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-037-127.pools.arcor-ip.net [88.66.37.127]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1Ihget2IFr-0006pe; Tue, 16 Oct 2007 09:16:18 +0200 From: Max Laier Organization: FreeBSD To: freebsd-ipfw@freebsd.org Date: Tue, 16 Oct 2007 09:15:40 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8967889.SrkcK1VLGv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710160916.05510.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/yYpilCeGGxgCdGq5LkZGaRolGxMXWq9otkcb 5yPj5FB9GpQhXutHHdTJV973d9J1Poeq2BfJu1qy2ESTpSOrJA 9JVhpEPIDQkZpRN+KvXwGwXee1mFIHntx/NgbN6Pns= Cc: john.w.court@nokia.com Subject: Re: 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:16:19 -0000 --nextPart8967889.SrkcK1VLGv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 16 October 2007, john.w.court@nokia.com wrote: > 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. > > I am just checking before I make any modifications that I am not > missing something fundamental that invalidates my analysis. I don't think you are missing something. IPv6 support in ipfw is still a=20 second class citizen (as is stateful filtering). I remember seeing a=20 mail with similar topic just recently, but can't recall on which list or=20 from whom. I don't see a PR for this - could you please create one so it's not=20 forgotten about? =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart8967889.SrkcK1VLGv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHFGU1XyyEoT62BG0RAivIAJ9YlLfsIEWTekmD5lzNBTYEwgltxACePMX9 PPhJM/eTiGMeMtP0JOhK3so= =DCDz -----END PGP SIGNATURE----- --nextPart8967889.SrkcK1VLGv--