Skip to content

Conversation

@copybara-service
Copy link

Make --allow-packet-socket-write a public flag.

This flag is now required for Docker versions 28 and beyond to function
inside gVisor, as dockerd sends unsolicited ARP/NA requests using AF_PACKET
sockets. The flag is no longer test-only.

The docker behavior to send the ARP/NA pkts was introduced in eaa84bc [1].
Failure to send was made a hard error in 422e056 [2], and in bc130f36 [3],
docker evolved to rely on these packets being sent.

[1] moby/moby@eaa84bc8f4
[2] moby/moby@422e056b0f
[3] moby/moby@bc130f367d

@copybara-service copybara-service bot added the exported Issue was exported automatically label Dec 2, 2025
@copybara-service copybara-service bot force-pushed the test/cl838942720 branch 13 times, most recently from 90882cd to a12de4a Compare December 5, 2025 18:51
This flag is now required for Docker versions 28 and beyond to function
inside gVisor, as dockerd sends unsolicited ARP/NA requests using AF_PACKET
sockets. The flag is no longer test-only.

The docker behavior to send the ARP/NA pkts was introduced in eaa84bc [1].
Failure to send was made a hard error in 422e056 [2], and in bc130f36 [3],
docker evolved to rely on these packets being sent.

[1] moby/moby@eaa84bc8f4
[2] moby/moby@422e056b0f
[3] moby/moby@bc130f367d

PiperOrigin-RevId: 840805091
@copybara-service copybara-service bot merged commit 9d75d56 into master Dec 5, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl838942720 branch December 5, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant