Comment

Comment by globular-toast

What you want is a packet socket:

   sock_raw = socket(AF_PACKET , SOCK_RAW , htons(ETH_P_ALL));
IP networks should forward anything, but NAT is a major problem. Would be interesting to try with IPv6.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton