Skip to content

fix(net): answer proxy NDP at once - #201

Merged
markovejnovic merged 3 commits into
mainfrom
fix/proxy-ndp-delay
Dec 2, 2026
Merged

markovejnovic merged 3 commits into
mainfrom
fix/proxy-ndp-delay

Conversation

@markovejnovic

@markovejnovic markovejnovic commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

host_init turns on proxy NDP on the uplink so the host answers the
router's neighbour solicitations for VM addresses, but Linux delays
proxied answers by a random time up to proxy_delay, 0.8 s by default.
The router drops what it holds for the address meanwhile, so the first
connection to a new VM loses its SYN and waits for TCP to resend it
after a second. On hypervm.sh every login paid that second: 1.08 to
1.11 s between usher handing sshpiperd the VM's address and the pipe
to it coming up, and a capture on the node showed the answer 726 ms
after the router asked.

host_init now sets the uplink's proxy_delay to 0, through a new
Sysctl::net().ipv6().neigh(link).no_proxy_delay(). The delay exists to
spare a busy segment; a node proxies one address per VM.
@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

Test Results

    4 files  ±0    364 suites  ±0   5m 37s ⏱️ -6s
1 737 tests +1  1 737 ✅ +1    0 💤 ±0  0 ❌ ±0 
2 416 runs  +1  1 737 ✅ +1  679 💤 ±0  0 ❌ ±0 

Results for commit 1141052. ± Comparison against base commit d1840b0.

@markovejnovic markovejnovic changed the title fix(net): answer proxy NDP at once, so a VM's first SYN is not lost fix(net): answer proxy NDP at once Dec 2, 2026
@markovejnovic
markovejnovic merged commit 3e1136e into main Dec 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant