From: Aaron T. <syn...@gm...> - 2007-04-26 15:14:33
|
Wow, that's an ugly bug! Thank you for reporting it. I've opened the following ticket for it: http://tcpreplay.synfin.net/trac/ticket/170 Right now I have it assigned to 3.1, but this is probably serious enough to warrant a bug fix release (3.0.1). If you're interested in testing a patch against 3.0 let me know. Regards, Aaron On 4/26/07, Sharon Rozenblum <sro...@al...> wrote: > Hi! > > Doing it is changing also the server-ip... > > E.g. > > I have FTP dump file (ftp_wget.dmp) with source-ip=172.20.2.20 & > dest-ip=168.10.4.20 (and I need the command for dump files with more > dest ip's...) > > After the command: > > tcprewrite --pnat=172.20.2.20/32:1.2.3.4/32 --infile=ftp_wget.dmp > --outfile=ftp_wget_2.dmp > > ==> > > The new file (ftp_wget_2.dmp) conatins just the 1.2.3.4 ip for both > source-ip & dest-ip! > > > (BTW - I am using V.3-beta-13) > > ??? > > > -----Original Message----- > From: tcp...@li... > [mailto:tcp...@li...] On Behalf Of > Aaron Turner > Sent: Wednesday, April 25, 2007 7:23 PM > To: Main forum for tcpreplay > Subject: Re: [Tcpreplay-users] Can I change source-ip to another ip? > > > trcprewrite --pnat=168.10.1.1/32,<newip>/32 > > you probably should read the tcprewrite manual: > > http://tcpreplay.synfin.net/trac/wiki/tcprewrite > > On 4/25/07, Sharon Rozenblum <sro...@al...> wrote: > > Hi! > > > > Thanks, > > > > But, > > > > What if I have dump file with "168.10.1.1" as client and it has a lot > > of servers? (and I don't know serversp-IP) > > > > I need to change just the client ip and not with the "--endpoints" > > option... > > > > > > > > > > -----Original Message----- > > From: tcp...@li... > > [mailto:tcp...@li...] On Behalf Of > > Aaron Turner > > Sent: Sunday, April 22, 2007 7:11 PM > > To: Main forum for tcpreplay > > Subject: Re: [Tcpreplay-users] Can I change source-ip to another ip? > > > > > > Hi Sharon, inline... > > > > On 4/22/07, Sharon Rozenblum <sro...@al...> wrote: > > > > > > Hi! > > > > > > 1) Can I change with "tcprewrite" a source-ip X to Y? > > > > > > E.G. > > > > > > I have dump file with connection between 168.10.1.1 (source-ip) to > > > 168.10.3.1 (destination-ip). Can I rewrite the file to contain > > > connection between 1.0.0.1 (new source-ip) to 168.10.3.1? > > > > Yes. This is documented in the manual. I'd recommend reading: > > http://tcpreplay.synfin.net/trac/wiki/usage#RewritingIPsforDual-NIC > > but there are other ways of doing this as well (pseudo-NAT for > > example). > > > > > 2) Are there limitations to the programs (tcpreplay,tcprewrite & > > > tcpprep) concerning working with huge files? (>1Gbyte) > > > > Not a problem. If you're planning on looping these files (playing > > them multiple times in the same session) I would suggest compiling > > with --enable-64bits so that the counters/statistics can deal with > > values > 2^32. > > > > -- > > Aaron Turner > > http://synfin.net/ > > http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix > > > > ---------------------------------------------------------------------- > > -- > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Tcpreplay-users mailing list Tcp...@li... > > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Tcpreplay-users mailing list > > Tcp...@li... > > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > > > > > -- > Aaron Turner > http://synfin.net/ > http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Tcpreplay-users mailing list Tcp...@li... > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Tcpreplay-users mailing list > Tcp...@li... > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix |