Opened 13 years ago

Last modified 3 weeks ago

#868 new enhancement

create general point-to-point connection kernel module API

Reported by: wkornewald Owned by: wkornewald
Priority: low Milestone: Unscheduled
Component: Network & Internet/Stack Version: R1/pre-alpha1
Keywords: tun Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by kallisti5)

Certain connection types (SLIP, PPP, VPN, Bluetooth) share similar behavior/concepts (ConnectOnDemand, authentication, point-to-point networks, etc.), so it might be useful to have a generic API for point-to-point connections in order to simplify their implementation.

Linux and BSD's implement this as a "tun" interface.

We have a rust port, and https://github.com/cloudflare/boringtun is a nice userspace implementation of the new wireguard VPN. It needs tun_haiku.rs written, which can't exist until we have some tun implementation... so it might be a good "first consumer" of tun.

Change History (2)

comment:1 Changed 3 weeks ago by kallisti5

The best implementation for such a thing would be a "tun" style network device.

Since we really can't leverage any kind of VPN (even userspace) without a tun device, i'm hijacking this ticket for this purpose.

comment:2 Changed 3 weeks ago by kallisti5

Component: Network & Internet/PPPNetwork & Internet/Stack
Description: modified (diff)
Keywords: tun added
Note: See TracTickets for help on using tickets.