From owner-freebsd-net@FreeBSD.ORG Thu May 12 02:17:59 2005 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 70C2616A4D2 for ; Thu, 12 May 2005 02:17:59 +0000 (GMT) Received: from web53905.mail.yahoo.com (web53905.mail.yahoo.com [206.190.36.215]) by mx1.FreeBSD.org (Postfix) with SMTP id EEA2643D6D for ; Thu, 12 May 2005 02:17:58 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: (qmail 99521 invoked by uid 60001); 12 May 2005 02:17:58 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=tSDlD+c+6NWietrDi3BlKqP1CZkRyr46hMeLrvbHQeLqeYpdZFFLfjePwBZM3nxqnbWh4ZF2XJ0pj4U6jwl7sVNTBtMRYpouEr/450fd7+UoHTt55+vyNoYGZhCMTxGwFSv/qiD7jff8sw1S3up9O8XvcdOvzGSUsz2zOuoQxLI= ; Message-ID: <20050512021758.99519.qmail@web53905.mail.yahoo.com> Received: from [128.200.38.147] by web53905.mail.yahoo.com via HTTP; Wed, 11 May 2005 19:17:58 PDT Date: Wed, 11 May 2005 19:17:58 -0700 (PDT) From: Daniel Valencia To: freebsd-net@freebsd.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: sending MAC packets --- again 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: Thu, 12 May 2005 02:17:59 -0000 Hello all, and thanks for your input. I was able to send packets using libnet, and i could confirm that the messages were propperly sent using tcpdump... Now I needed to read the packets from another node, so I tried libpcap... then the problem arised. It would wait for ages, even after I sent a few packets, and then it would suddenly output that it had captured a packet which would have nothing to do with the one that I sent. Has anyone in this list had any experience with libpcap over fbsd that can point me into the right direction? That would be greatly appreciated. Thank you very much!! - Daniel have fun --- Gandalf The White wrote: > Greetings and Salutations: > > On 5/3/05 7:33 PM, "Daniel Valencia" > wrote: > > I'm doing research on network-layer protocols, so > I > > need a way to send packets straight into layer 2. > So > > far i've been reffered to raw sockets, but i've > read > > the code and i cannot skip header checking and > that > > stuff... Is there a way to interact with the > network > > if in a way that I can get network parameters > (mtu, > > etc.) and send packets (specify destination mac > > address and payload)?? > > Thank you > > - Daniel > > Try netwib/netwox/netwag. Netwag has a nice GUI: > http://www.laurentconstantin.com/en/ > > Ken > > --------------------------------------------------------------- > Do not meddle in the affairs of wizards for they are > subtle and > quick to anger. > Ken Hollis - Gandalf The White - gandalf@digital.net > - O- TINLC > WWW Page - http://digital.net/~gandalf/ > Trace E-Mail forgery - > http://digital.net/~gandalf/spamfaq.html > Trolls crossposts - > http://digital.net/~gandalf/trollfaq.html > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com