Date: Tue, 06 Apr 2004 11:38:06 +0900 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp> To: "Sebastien Petit" <spetit@selectbourse.com> Cc: freebsd-net@freebsd.org Subject: Re: SOCK_RAW sockets and IPPROTO_AH Message-ID: <y7v8yh9al0x.wl@ocean.jinmei.org> In-Reply-To: <003b01c41b0f$b1e4fc90$bc0a270a@bum.sub.fr.hsbc> References: <003b01c41b0f$b1e4fc90$bc0a270a@bum.sub.fr.hsbc>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 5 Apr 2004 15:12:49 +0200, >>>>> "Sebastien Petit" <spetit@selectbourse.com> said: > Hi, > Is there a way to receive AH packets in userland with a SOCK_RAW socket ? > ie: socket(AF_INET, SOCK_RAW, IPPROTO_AH) ? > I found that this socket call doesn't work under FreeBSD. On OpenBSD, it works but a recvfrom/read doesn't return any AH packets when it was received on an interface. > Is there another proper way to receive AH packets in Userland under FreeBSD ? (bpf/pcap is not a solution because I want to have a socket opened for multicast join) Unfortunately, bpf/pcap is the only solution. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7v8yh9al0x.wl>