From owner-freebsd-net@FreeBSD.ORG Thu May 12 02:30:53 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 5CEFC16A4CE for ; Thu, 12 May 2005 02:30:53 +0000 (GMT) Received: from web53901.mail.yahoo.com (web53901.mail.yahoo.com [206.190.36.211]) by mx1.FreeBSD.org (Postfix) with SMTP id D9FD543D2F for ; Thu, 12 May 2005 02:30:52 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: (qmail 27333 invoked by uid 60001); 12 May 2005 02:30:52 -0000 Message-ID: <20050512023052.27331.qmail@web53901.mail.yahoo.com> Received: from [128.200.38.147] by web53901.mail.yahoo.com via HTTP; Wed, 11 May 2005 19:30:52 PDT Date: Wed, 11 May 2005 19:30:52 -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:30:53 -0000 Uhmm... About my previous message, I think that the problem is that i'm using a switch, where I thought I had a hub... If I'm sending ethernet broadcast packets... will they be forwarded to all the ports of a switch?? Probably the answer is No, and that's why I'm getting that behaviour Thank you very much!! - Daniel have fun --- Daniel Valencia wrote: > > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to > "freebsd-net-unsubscribe@freebsd.org" > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com