From owner-freebsd-net@FreeBSD.ORG Mon Apr 5 06:13:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90D4616A4CE for ; Mon, 5 Apr 2004 06:13:10 -0700 (PDT) Received: from ACSV12.aimccf.net (mail22.aimccf.net [212.11.24.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9109243D1D for ; Mon, 5 Apr 2004 06:13:09 -0700 (PDT) (envelope-from spetit@selectbourse.com) Received: from sdef-dsi-117.bum.sub.fr.hsbc (unverified [10.79.10.67]) by ACSV12.aimccf.net (Content Technologies SMTPRS 4.3.12) with SMTP id for ; Mon, 5 Apr 2004 15:13:23 +0200 Received: from fr0010090585 ([10.39.10.188]) by sdef-dsi-117.bum.sub.fr.hsbc; Mon, 05 Apr 2004 15:06:46 +0200 Message-ID: <003b01c41b0f$b1e4fc90$bc0a270a@bum.sub.fr.hsbc> From: "Sebastien Petit" To: Date: Mon, 5 Apr 2004 15:12:49 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: SOCK_RAW sockets and IPPROTO_AH X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 13:13:10 -0000 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 wo= rks 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 m= ulticast join) Any help will be appreciated. Regards, Sebastien. --=20 spetit@selectbourse.com spe@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 destinatair= e 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 co= pies, et d en avertir immediatement l expediteur par message de retour.. Il est impossible de garantir que les communications par messagerie electro= nique arrivent en temps utile, sont securisees ou denuees de toute erreur o= u virus. En consequence, l expediteur n accepte aucune responsabilite du fa= it des erreurs ou omissions qui pourraient en resulter. --- ----------------------------------------------------- --- The information contained in this e-mail is confidential. It may also be le= gally privileged. If you are not the addressee you may not copy, forward, d= isclose 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 imme= diately by return e-mail. E-mail communications cannot be guaranteed to be timely secure, error or vi= rus-free. The sender does not accept liability for any errors or omissions = which arise as a result.