Date: Wed, 11 May 2005 19:17:58 -0700 (PDT) From: Daniel Valencia <fetrovsky@yahoo.com> To: freebsd-net@freebsd.org Subject: Re: sending MAC packets --- again Message-ID: <20050512021758.99519.qmail@web53905.mail.yahoo.com> In-Reply-To: 6667
next in thread | raw e-mail | index | archive | help
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 <gandalf@digital.net> wrote: > Greetings and Salutations: > > On 5/3/05 7:33 PM, "Daniel Valencia" > <fetrovsky@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050512021758.99519.qmail>