From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 21:50:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFAE316A4CE; Sun, 1 Feb 2004 21:50:40 -0800 (PST) Received: from tora.nunu.org (YahooBB219003182070.bbtec.net [219.3.182.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FD3343D1F; Sun, 1 Feb 2004 21:50:38 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id EC88F4B02A; Mon, 2 Feb 2004 14:50:36 +0900 (JST) Date: Mon, 02 Feb 2004 14:50:36 +0900 Message-ID: <87d68yowr7.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Dario Freni In-Reply-To: <1075559223.615.9.camel@localhost> References: <1075559223.615.9.camel@localhost> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-net@freebsd.org cc: freebsd-firewire@freebsd.org Subject: Re: Will rfc2734 be supported? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 05:50:41 -0000 At Sat, 31 Jan 2004 15:27:03 +0100, Dario Freni wrote: >=20 > [1 ] > Hi guys, > I was wondering if the standard implementation of IPoFW is planning to > be implemented. I'm not expert on device writing, I was also looking for > some workarounds, like attach the fwe0:lower netgraph hook to a virtual > interface, but reading the rfc I realized that the normal IP packet > needs an encapsulation before it's sent on the wire. I have no plan to implement rfc2734 by myself near future. IEEE1394 is somewhat complicated, compared with Ethernet. Because there are some types of packets, fwe and IPoFW uses very different packet type and formats, so you don't have an easy workaround using netgraph. If you are interested in implementing rfc2734, you need several steps. - Implement rfc2734 encapsulation as /sys/net/if_ethersubr.c for ethernt. rfc2734 uses very different packet format from ethernet. - Implement generic GASP receive routin in the firewire driver. You need this service for multicast/broadcast packet such as an arp packet. - Implement if_fw.c for the interface device. Though I'm not sure it actually worked, the firewire driver for FreeBSD-4.0 seems to have a support for IPoFW See ftp://ftp.uec.ac.jp/pub/firewire/ for the patch. > Bye, > Dario >=20 > --=20 > Dario Freni (saturnero@gufi.org) - SaturNero on IRCNet, Azzurra > Gruppo Utenti FreeBSD Italia (http://www.gufi.org) > GPG Public key at http://www.saturnero.net/saturnero.asc > [2 Questa parte del messaggio =E8 firmata ] >=20 /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html