SOCK_RAW sockets and IPPROTO_AH
JINMEI Tatuya /神明達哉
jinmei at isl.rdc.toshiba.co.jp
Mon Apr 5 19:38:58 PDT 2004
>>>>> On Mon, 5 Apr 2004 15:12:49 +0200,
>>>>> "Sebastien Petit" <spetit at 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 at isl.rdc.toshiba.co.jp
More information about the freebsd-net
mailing list