agent-substrate / agent-substrate/substrate

ateomnet: worker pod netns enables IPv4 forwarding only, dropping actor IPv6 traffic

未關閉
#945 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/network kind/bug
主要語言
Go
星號
1.8k
分支
316
平均合併
2 天 43 分鐘
30 天內合併 PR
287

描述

Sub-task of #246, part of bowei's [step 3](https://github.com/agent-substrate/substrate/issues/246#issuecomment-4771177881).

`EnableIPv4Forwarding` writes `/proc/sys/net/ipv4/ip_forward` and has no IPv6 counterpart (`internal/ateomnet/net.go:206`). Actor packets enter the worker pod on a veth and are forwarded to `eth0`, so with `net.ipv6.conf.all.forwarding` left at 0 every IPv6 packet an actor sends is dropped by `ip6_forward()` — including the actor's own DNS queries.

On an IPv6-only cluster this is a hard failure: `TestActorEgress` returns 504, reproduced 4/4. The netns setup also has no IPv6 veth addressing and no v6 nftables rules, per the existing TODO at `net.go:243`.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。