#3 IPv6 support

closed-out-of-date
Bishop
None
5
2003-03-18
2002-05-15
Anonymous
No

[Also sent to the developers mailing list.]

Hi,

the attached patch (against the current CVS tree)
enables IPv6 transmission over vtun usig "tun" devices.
I've developed and tested it under FreeBSD-4.5.

Before this patch, vtun used FreeBSD's tun device in
"compatibility" mode, which is restricted to IPv4
traffic. This patch enables the "multi-af" mode for
FreeBSD tun devices (where each packet read/written is
preceded by its address family number in network byte
order). OpenBSD's tun device already uses the same
technique; the vtun code supporting OpenBSD used to
explicitly strip off this information - this patch
removes this restriction. It also adds/strips the
address family prefix for tun devices which do not
(yet) support this, (e.g. Linux), to maintain
interoperability.

I'd very much like to see this included in a future
release (so I don't have to maintain a patched version
for local use :-) - please let me know if there's
anything I can do to improve this patch.

Thanks,
Lars

Discussion

  • Bishop

    Bishop - 2003-03-18

    Logged In: YES
    user_id=10830

    I *have* to close this ticket. The user did not log in, and
    I have no way ot communicating with the user without some
    kind of login.

     
  • Bishop

    Bishop - 2003-03-18
    • assigned_to: nobody --> mtbishop
    • status: open --> closed-out-of-date
     

Log in to post a comment.