From owner-freebsd-net@FreeBSD.ORG Wed Jun 12 17:27:59 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6B3CB454; Wed, 12 Jun 2013 17:27:59 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE8E1209; Wed, 12 Jun 2013 17:27:59 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id e10so2892086qcy.41 for ; Wed, 12 Jun 2013 10:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=srSW89Y53okCE+LT4cYFtTCmX1E6cx40u/2C9JrDayA=; b=cY+6uKX49DHcUvPr6d7tBfHgFSdOrsor4ZhgnBDKipefoEV5r97frxQnDQeDwSobBR UUUgNlAdoaVXkKfN7ZmswBh845maqdwLC+ry++2K8Ind1bDE4z1mVs3SyPMwxfWM2emH JEH7ro1ynwDC9wVGzI7wtVpjnA+85A4yukHAdvWHPzZAsum0+9RsM+OnOwhEQiKZwlZg TKGwT17iqNncdLbUJ+bDdwXvsVc4ODJPNzs6+UlZMV+vIaj0CunZewSabJqv9TM1ENkh JbhrtOYui/FFKZwxTGcZpwkgit0ldkvNE5ZtduuQazK1lHmANmbiWexSgEKqUKmbJGDY LQoQ== MIME-Version: 1.0 X-Received: by 10.224.42.195 with SMTP id t3mr24834092qae.44.1371058078562; Wed, 12 Jun 2013 10:27:58 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.49.51.8 with HTTP; Wed, 12 Jun 2013 10:27:58 -0700 (PDT) In-Reply-To: <20130612.170232.1609178509417950961.hrs@allbsd.org> References: <20130612.170232.1609178509417950961.hrs@allbsd.org> Date: Wed, 12 Jun 2013 19:27:58 +0200 X-Google-Sender-Auth: oO03THuuEaWI22B70_ufihYflTg Message-ID: Subject: Re: [PATCH] stf(4) 6rd implementation From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: Hiroki Sato Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 12 Jun 2013 17:27:59 -0000 On Wed, Jun 12, 2013 at 10:02 AM, Hiroki Sato wrote: > Ermal Lu=E7i wrote > in = : > > er> Hello, > er> > er> at location [1] can be found a patch for making stf(4) understand 6rd= . > er> It supports variable masks for the ipv4 network as well. > er> > er> The patch has been tested on pfSense. > er> It adds to new option to ifconfig for defining the 6rd border router > at ISP. > er> > er> ifconfig $stf stfv4net $ipv4network/$mask > er> ifconfig $stf stfv4br $6rdv4gwip > er> > er> > er> Any reasons for not pushing this change into FreeBSD? > > I am feeling guilty about not committing the original patch and RFC > 5969 part for a long time. I still have uncommitted code for them > (similar but some reported security and performance issues and corner > cases addressed), I hope if you do not mind my working on it. I will > finish it this month. > > -- Hiroki > Your original patch had issues with looping of traffic and this patch also has still some other issues imported from your original implementation. If i would write it from scratch it would been more similar to gif/gre rather than this one. The target was to have it operational. If you feel that you will finish rather soon your implementation than ok for postponing. If you think its better to put this in and than you can push yours even better. Whichever is faster/better. --=20 Ermal