Opened 18 years ago

Last modified 15 months ago

#868 new enhancement

create general point-to-point connection kernel module API — at Version 2

Reported by: wkornewald Owned by: wkornewald
Priority: low Milestone: Unscheduled
Component: Network & Internet/Stack Version: R1/pre-alpha1
Keywords: tun Cc:
Blocked By: Blocking:
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 by kallisti5, 5 years ago

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 by kallisti5, 5 years ago

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