Question: In icmp.c:110, the line reads `ih6->icmp6_identifier = htons(ini->eport);`, where `ih6` is of type icmp6hdr *. However, this field does not exist --- ih6->u_echo.icmp6_identifier does. Is this intended?
Oh, never mind --- forgot to copy over the entire header, which includes the #defines.
Is AF_NETLINK required for passt usage, or is it only for pasta?
Looking at the archives, it looks like my message was never received (I'm still figuring this mailing list stuff out). I'm pasting my message below: Is AF_NETLINK required for passt usage, or is it only for pasta?
On Wed, 11 Sep 2024 22:19:15 -0400 DUO Labs <dvdugo333(a)gmail.com> wrote:Looking at the archives, it looks like my message was never received (I'm still figuring this mailing list stuff out). I'm pasting my message below:Non-subscribers' posts are held to avoid spam, I have to approve them manually. You can register to the list to avoid delays: https://lists.passt.top/postorius/lists/passt-dev.passt.top/Is AF_NETLINK required for passt usage, or is it only for pasta?It's more heavily needed for pasta because, there, we use it to directly configure the networking in the container (with --config-net), whereas with passt the configuration happens via DHCP/NDP/DHCPv6. With passt, we use netlink just to source addresses and routes from the host. I see two alternatives for Darwin: - use sysctls with NET_RT_DUMP / NET_RT_IFLIST2 / NET_RT_DUMP2 to fetch the same information. It's not clear to me if it needs root, though, or if there's a different way to fetch information without root - force the user to give a manual configuration (with options -a, -g at least) -- Stefano