WebAssembly / WebAssembly/WASI

Emulate dualstack sockets in userspace

Open
#747 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-sockets S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

Dualstack support per platform according to the internet: (Not verified)

  • OpenBSD: Not supported.
  • FreeBSD: Not supported by default, but support can be manually toggled with a system-wide config change.
  • Windows: Supported. Disabled by default. Can be enabled on a per-socket basis.
  • Linux: Supported. Generally enabled by default, but some distros disable it by default.
  • POSIX & RFC3493: Specifies IPv6 sockets should be dualstack by default.

On the *BSD's: Can dualstack sockets be emulated efficiently and transparently in userspace by creating two sockets?

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.

Research direction

Start by comparing the listed OpenBSD and FreeBSD socket behavior with POSIX and RFC3493 requirements. Determine whether two userspace sockets can provide an efficient, transparent dualstack equivalent, and document the feasibility, platform constraints, and any required interface changes.

Written by the indexing model from the issue text.

Assessment

Domain
networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.