From owner-freebsd-net@FreeBSD.ORG Wed Mar 8 17:39:05 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D467816A422 for ; Wed, 8 Mar 2006 17:39:05 +0000 (GMT) (envelope-from kfl@xiplink.com) Received: from mail.net (custpop.ca.mci.com [142.77.1.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7AE443D5A for ; Wed, 8 Mar 2006 17:39:03 +0000 (GMT) (envelope-from kfl@xiplink.com) Received: from [216.95.199.148] (account kfl@xiphos.ca HELO [192.168.1.7]) by mail.net (CommuniGate Pro SMTP 5.0.1) with ESMTPA id 160377895 for freebsd-net@freebsd.org; Wed, 08 Mar 2006 12:39:02 -0500 Message-ID: <440F194F.4000206@xiplink.com> Date: Wed, 08 Mar 2006 12:50:07 -0500 From: Karim Fodil-Lemelin User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ipfw/ip6fw Ipv6 forwarding X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 17:39:05 -0000 Hi, I could not find a way to do ipv6 packet forwarding with ip6fw or ipfw. I am looking to use a rule like this: add fwd ::1,8080 tcp from any to any either using ip6fw or ipfw. I understand that packet diversion is not supported in ipfw or ip6fw but I would assume this is for DIVERT sockets. Although in ip_fw2.c the case O_FORWARD_IP exist, no such thing seems to have been implemented in ip6_fw.c. So I was wondering if anyone has done some previous work in that direction? And If I could get some hints as where to start my own implementation if nobody has started already. Regards, -- Karim Fodil-Lemelin