SOCK_RAW sockets and IPPROTO_AH

Sebastien Petit spetit at selectbourse.com
Mon Apr 5 06:13:10 PDT 2004


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)

Any help will be appreciated.

Regards,
Sebastien.
-- 
spetit at selectbourse.com
spe at selectbourse.net
FreeVRRPd project http://www.b0l.org/

Les informations contenues dans ce message sont confidentielles et peuvent constituer des informations privilegiees. Si vous n etes pas le destinataire de ce message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d en utiliser tout ou partie. Si vous avez recu ce message par erreur, merci de le supprimer de votre systeme, ainsi que toutes ses copies, et d en avertir immediatement l expediteur par message de retour..
Il est impossible de garantir que les communications par messagerie electronique arrivent en temps utile, sont securisees ou denuees de toute erreur ou virus. En consequence, l expediteur n accepte aucune responsabilite du fait des erreurs ou omissions qui pourraient en resulter.
--- ----------------------------------------------------- ---
The information contained in this e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail.
E-mail communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions which arise as a result.



More information about the freebsd-net mailing list