[PATCH] stf(4) 6rd implementation

Ermal Luçi eri at freebsd.org
Wed Jun 12 17:27:59 UTC 2013


On Wed, Jun 12, 2013 at 10:02 AM, Hiroki Sato <hrs at freebsd.org> wrote:

> Ermal Luçi <eri at freebsd.org> wrote
>   in <CAPBZQG3rn-wEH-ckA-QXF+-3LyJM9s6NzrSkz5CxNG5LZTyWjw at mail.gmail.com>:
>
> 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.

-- 
Ermal


More information about the freebsd-net mailing list