Re: pure raw eth sockets

From: Willy Tarreau (
Date: Fri Nov 08 2002 - 03:14:29 EST

On Fri, Nov 08, 2002 at 12:12:44AM -0600, Colin Burnett wrote:
> I'm at a complete road block here and I appreciate any help!
> I'm trying to write a packet generator that generates a packet down to the
> destination/src mac address of an eth frame. However, nothing I find seems to
> explain how to do this let alone if it is possible. As example (for
> familiarity), implementing a RARP client (and server). I first create a socket:

I wrote a tool which works exactly like this, to test network equipments to
limits. It's slightly commented, and relatively basic. You can download it
there :

Just a tip: don't start it without args, by default it will bomb as many
packets as possible on your network! Read it first :-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:15 EST