Opened 18 years ago
Last modified 21 months 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: | ||
Platform: | All |
Description (last modified by )
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 (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Component: | Network & Internet/PPP → Network & Internet/Stack |
---|---|
Description: | modified (diff) |
Keywords: | tun added |
comment:3 by , 21 months ago
Here are 2 projects with permissive licenses that can be a reference to have a tun/tap API in Haiku:
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.