Your problem is that source pcap is DLT_LINUX_SSL and is not a supported DLT type for editing in tcprewrite. Try converting to DLT_EN10MB (ethernet). The manual has more information on how to do this:
http://tcpreplay.synfin.net/trac/wiki/tcprewrite#RewritingLayer2 On Wed, Oct 8, 2008 at 5:35 PM, <[EMAIL PROTECTED]> wrote: > I was trying the change the source ethernet mac address for a pcap file > containing G.729 and tone relay packets. Here is the command and resulting > error: > > tcprewrite --enet-smac=00:e0:18:39:78:86 --infile=trpTestlsi3.pcap > --outfile=rewriteTrpTestlsi3.pcap > > Fatal Error: From ./plugins/dlt_linuxsll/linuxsll.c:dlt_linuxsll_encode() > line 223: > DLT_LINUX_SLL plugin does not support packet encoding > > I have attached the pcap file for refernce. Any idea what I am doing wrong. > I get the same error if I use the portmap option. > > ------------------------------------------------------------------------- > 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 > -- 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