summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/tests/cap_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-08-27 20:12:10 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-08-31 08:31:46 +0200
commit7f6c35ba7a55503495c6b70cbd77dc0fc8a321c5 (patch)
treebcdb5bfbd67998bb371562aeb508fbe1b7f4f3b9 /src/ipcpd/unicast/tests/cap_test.c
parent36afe253e5def100585428abdab6c75b095a036f (diff)
downloadouroboros-7f6c35ba7a55503495c6b70cbd77dc0fc8a321c5.tar.gz
ouroboros-7f6c35ba7a55503495c6b70cbd77dc0fc8a321c5.zip
ipcpd: Assign random MAC on ETH poa with loopback
The loopback has an all-zero MAC, so two PoAs on a loopback receive their own frames and a PoA refuses its own FLOW_REQ, failing the flow with ECONNREFUSED. The shim IPCP didn't have this problem because it ignored requests for names not registered locally (shim-data). The PoA has no "local" name registry, it uses the unicast IPCP's directory (DHT) via IRMd query requests. This fixes the issue by generating a random locally administered MAC on the loopback device. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/tests/cap_test.c')
0 files changed, 0 insertions, 0 deletions