[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200627120920.b4c6af54789b0c09747a92a9@hwipl.net>
Date: Sat, 27 Jun 2020 12:09:20 +0200
From: Hans Wippel <ndev@...pl.net>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: WireGuard mailing list <wireguard@...ts.zx2c4.com>,
Netdev <netdev@...r.kernel.org>
Subject: Re: wireguard: problem sending via libpcap's packet socket
Hi Jason,
thanks for quick replies and patches!
For whatever it's worth, I have attached another simple test program to
this mail. It opens AF_PACKET sockets without libpcap and (incorrectly)
sets the protocol to 0. It works with my ethernet device. Looking at the
code, it should also work with the patches you posted. Maybe it is
useful for testing some (stupid) corner case.
Hans
Download attachment "rawsock.go" of type "application/octet-stream" (3847 bytes)
Powered by blists - more mailing lists