Interest: kernel TUN overlay transport (acting as exit node / subnet router on small Linux routers)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- linux, rust
- Domain
- embedded-iot, networking
Research direction
This is a proposal for a kernel TUN transport as an alternative to NetstackActor, not a defined change yet. Start by reading NetstackActor and the NewOverlayTransport channels in ts_runtime, then the Config in ts_control where HostInfo.RoutableIPs would be set. Done means the maintainers have agreed on a direction and it has been split into small PRs, so wait for their reply before writing code.
Written by the indexing model from the issue text.
Description
#405 covers using an exit node. We built the opposite on top of tailscale-rs, for small routers where Go tailscaled gets OOM-killed (MikroTik mAP lite: MIPS 24Kc, 64 MB RAM, 16 MB flash):
- a
TunActoras an alternative toNetstackActor, using the sameNewOverlayTransportchannels (kernel TUN, batched reads with backpressure); HostInfo.RoutableIPssent fromts_control::Config;- extra inbound routes (
0.0.0.0/0,::/0) in the route updater; - netstack made an optional feature of
ts_runtime.
The kernel does forwarding and NAT. Result on the mAP lite: ~11 Mbit/s, ~8.6 MB peak RSS, about 3 MB on flash (static musl, opt-level = "z"). Tested against a lab Headscale + derper; related fixes reported in #481, #439 and #485.
Would you be interested in this direction? If so, we could split it into small PRs following CONTRIBUTING.
AI disclosure: the code was written with an AI assistant (Claude) under human direction. It was tested on a lab tailnet and on real hardware.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 75
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tailscale/tailscale-rs
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tailscale/tailscale-rs#485 ·
Maintainers usually reply within 1 day
-
documentation enhancement language support
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
tailscale/tailscale-rs#114 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
tailscale/tailscale-rs#39 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 57/100
tailscale/tailscale-rs#484 ·
Maintainers usually reply within 1 day
-
ci: fix publish dry-run failure statesPossibly taken @smmckay claimed this 3 days ago. Openbug ci/cd
tailscale/tailscale-rs#483 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in tailscale/tailscale-rs
Similar issues
-
bug UI
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
wardian-app/Wardian#1746 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jlcodes99/cockpit-tools#3125 ·
Maintainers usually reply within 2 days
-
bug user-sprint
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Vondor/KassenSturz#967 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
area:build bug effort:low P5 source:agent
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day