For ZDB namespaces, disable forwarding in the namespace

Open
#2,527 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go, linux

Research direction

Start with pkg/netlight/options/global.go at line 13 and trace the namespace creation path for workload-only or 0-db namespaces. Verify that forwarding is disabled for these namespaces without changing router namespaces, then confirm IPv6 SLAAC accepts RA and 0-db is reachable over public IPv6.

Written by the indexing model from the issue text.

Description

priority_major

When creating a namespace that hosts only a workload, i.e. the namespace is not used as some form of router but is only an edge,
forwarding needs to be disabled in the namespace.
https://github.com/threefoldtech/zos4/blob/8701df02aa52624bd29f035e7cf69dfae74785c9/pkg/netlight/options/global.go#L13

When forwarding for IPv6 is enables, SLAAC won't accept RA when accept_ra=1 on the interface.
One could set SLAAC to accept RA with accept_ra=2 but that is not a correct solution given that the NS is not a Router.

this needs to be solved for 0-db's to be reachable over public IPv6

Dominant language
Go
Stars
95
Forks
22
Avg merge
2m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from threefoldtech/zos

All issues in threefoldtech/zos

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.