From owner-freebsd-net@FreeBSD.ORG Tue Jun 11 14:32:40 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5FD3464B for ; Tue, 11 Jun 2013 14:32:40 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 284BD17AA for ; Tue, 11 Jun 2013 14:32:40 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id hu16so3015326qab.1 for ; Tue, 11 Jun 2013 07:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=HAJMTte7ug4PVtn90SteVVSHC6UN7URMOn0XkgpVdm4=; b=Vt5s3dJ/luix3Y2SuCTDiUTpyS/sobNOHM7V1JFzfQsVUT+jDfevO9/3JRYKkVyBlX SQdzY9+viF3NhfFEX4ci7hmpMzxED1PkIS6SO74bZ3h2EqK1p/cRQciwLiAqoUY43sFq zyqsET/x9NRx35KeNKgnB3BdksX8KC8ZHqaHududkLyAVBbpGPOvXodHfwfWDkK+7axK CzO4g5/Z4z2a4cziweDHfUrhHzKhCsKz4FgYISS8drjMsnsUGKlNt4LI6B/Wd2LE1SoD 5kQf9mHpLommF2zK1gBJNWVHhJkntBMocRCb8jJVqvuG/5OWiA26Yla9jjjIlCnKUZXa JyEg== MIME-Version: 1.0 X-Received: by 10.49.27.135 with SMTP id t7mr9409543qeg.22.1370961159633; Tue, 11 Jun 2013 07:32:39 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.49.51.8 with HTTP; Tue, 11 Jun 2013 07:32:39 -0700 (PDT) Date: Tue, 11 Jun 2013 16:32:39 +0200 X-Google-Sender-Auth: djGyryJgjlEO1-SRLmNTOA8HvWA Message-ID: Subject: [PATCH] stf(4) 6rd implementation From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: freebsd-net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 11 Jun 2013 14:32:40 -0000 Hello, at location [1] can be found a patch for making stf(4) understand 6rd. It supports variable masks for the ipv4 network as well. The patch has been tested on pfSense. It adds to new option to ifconfig for defining the 6rd border router at ISP. ifconfig $stf stfv4net $ipv4network/$mask ifconfig $stf stfv4br $6rdv4gwip Any reasons for not pushing this change into FreeBSD? [1] https://github.com/pfsense/pfsense-tools/blob/master/patches/RELENG_10_0/stf_6rd.diff -- Ermal