On Wed, Jul 23, 2008 at 8:07 AM, James Bergeron <[EMAIL PROTECTED]> wrote: > Hi, > > When I use tcpreplay I always have to change to root. We are looking at > integrating tcpreplay with some other automation environments here and > root is not an option. Is there a way to allow write access to the > ethernet ports as a user? >
There are a number of options depending on your operating system: 1) Use sudo 2) If your OS uses /dev/bpf, grant said user write access to the device 3) Hack your kernel to not require root access to write raw frames -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support