Aaron Turner | 18 Dec 2008 18:53
Picon

Free invites to pcapr: A new pcap repository & editing online community

Mu Dynamics (where I work) is now running a beta for a new online
community where people can share pcap files and using their browser
view AND edit them.  Think Facebook meets Wireshark meets tcprewrite.

As part of the beta, I'm willing to send free invites to the first
five (5) people from the tcpreplay-users list who agree to provide
feedback in the form of three (3) bug reports or feature requests.
You can send these bug reports/feature requests directly to me or via
the pcapr forum on google groups.

After the beta period completes (some time early next year), pcapr
will be free to anyone who would like to join.

--

-- 
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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
(Continue reading)

Abdelrazak Younes | 30 Dec 2008 12:02
Favicon

Tcpreplay between two cards on the same computer?

Hello,

I have used with success self compiled tcpreplay between two computers 
running ubuntu. I would like now to run it between two ethernet cards 
with two different IP address on the same computer. Is this possible? 
Does someone know how to force the stream to go outside the first card 
on not loop internally?

Thanks in advance for any help.

Abdel.

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Valentín Carela | 30 Dec 2008 12:26
Favicon

Re: Tcpreplay between two cards on the same computer?

Hi Abdel,

I think I'm using tcpreplay in a similar scenario. I have a computer
with two ethernet cards connected. 

First I change the MAC addresses of the trace with tcprewrite

tcprewrite --dmac=XX:XX:XX:XX:XX:XX (eth2  <at> MAC) --smac=XX:XX:XX:XX:XX:XX
(eth1  <at> MAC) -i trace.pcap -o new_trace.pcap

Then I use tcpreplay to send the packets from eth1 to eth2

tcpreplay -i eth1 new_trace.pcap

I don't know if it is exactly the same scenario but I hope it helps.

Regards,

Valentín

El mar, 30-12-2008 a las 12:02 +0100, Abdelrazak Younes escribió:
> Hello,
> 
> I have used with success self compiled tcpreplay between two computers 
> running ubuntu. I would like now to run it between two ethernet cards 
> with two different IP address on the same computer. Is this possible? 
> Does someone know how to force the stream to go outside the first card 
> on not loop internally?
> 
> Thanks in advance for any help.
(Continue reading)

Abdelrazak Younes | 30 Dec 2008 14:13
Favicon

Re: Tcpreplay between two cards on the same computer?

Valentín Carela wrote:
> Hi Abdel,
> 
> I think I'm using tcpreplay in a similar scenario. I have a computer
> with two ethernet cards connected. 
> 
> First I change the MAC addresses of the trace with tcprewrite
> 
> tcprewrite --dmac=XX:XX:XX:XX:XX:XX (eth2  <at> MAC) --smac=XX:XX:XX:XX:XX:XX
> (eth1  <at> MAC) -i trace.pcap -o new_trace.pcap
> 
> Then I use tcpreplay to send the packets from eth1 to eth2
> 
> tcpreplay -i eth1 new_trace.pcap
> 
> I don't know if it is exactly the same scenario but I hope it helps.

Yes, that's exactly what I am after. But are you sure that the stream 
will effectively go out of eth1 into eth0? My fear is that the system 
(linux) will shortcut the path...

FYI I want to monitor the performance between two PLC devices that are 
connected to eth0 and eth1.

Thanks Valentin,
Abdel.

> 
> Regards,
> 
(Continue reading)

Aaron Turner | 31 Dec 2008 06:40
Picon

Re: Tcpreplay between two cards on the same computer?

On Tue, Dec 30, 2008 at 5:13 AM, Abdelrazak Younes <younes <at> lyx.org> wrote:
> Valentín Carela wrote:
>> Hi Abdel,
>>
>> I think I'm using tcpreplay in a similar scenario. I have a computer
>> with two ethernet cards connected.
>>
>> First I change the MAC addresses of the trace with tcprewrite
>>
>> tcprewrite --dmac=XX:XX:XX:XX:XX:XX (eth2  <at> MAC) --smac=XX:XX:XX:XX:XX:XX
>> (eth1  <at> MAC) -i trace.pcap -o new_trace.pcap
>>
>> Then I use tcpreplay to send the packets from eth1 to eth2
>>
>> tcpreplay -i eth1 new_trace.pcap
>>
>> I don't know if it is exactly the same scenario but I hope it helps.
>
> Yes, that's exactly what I am after. But are you sure that the stream
> will effectively go out of eth1 into eth0? My fear is that the system
> (linux) will shortcut the path...
>
> FYI I want to monitor the performance between two PLC devices that are
> connected to eth0 and eth1.
>
> Thanks Valentin,
> Abdel.

You don't need to worry about Linux "short cutting" the packets-
tcpreplay insures the packets actually goes out the interface(s) you
(Continue reading)

Bojan Smojver | 31 Dec 2008 07:07

Re: Tcpreplay between two cards on the same computer?

On Tue, 2008-12-30 at 21:40 -0800, Aaron Turner wrote:
> If
> you're willing to recompile your kernel, it's pretty simple to turn
> off this bogon check.

Isn't that controlled by net.ipv4.conf.default.rp_filter and friends via
sysctl?

--

-- 
Bojan

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Abdelrazak Younes | 31 Dec 2008 09:15
Picon

Re: Tcpreplay between two cards on the same computer?

Aaron Turner wrote:
> On Tue, Dec 30, 2008 at 5:13 AM, Abdelrazak Younes <younes <at> lyx.org> wrote:
>   
>> Valentín Carela wrote:
>>     
>>> Hi Abdel,
>>>
>>> I think I'm using tcpreplay in a similar scenario. I have a computer
>>> with two ethernet cards connected.
>>>
>>> First I change the MAC addresses of the trace with tcprewrite
>>>
>>> tcprewrite --dmac=XX:XX:XX:XX:XX:XX (eth2  <at> MAC) --smac=XX:XX:XX:XX:XX:XX
>>> (eth1  <at> MAC) -i trace.pcap -o new_trace.pcap
>>>
>>> Then I use tcpreplay to send the packets from eth1 to eth2
>>>
>>> tcpreplay -i eth1 new_trace.pcap
>>>
>>> I don't know if it is exactly the same scenario but I hope it helps.
>>>       
>> Yes, that's exactly what I am after. But are you sure that the stream
>> will effectively go out of eth1 into eth0? My fear is that the system
>> (linux) will shortcut the path...
>>
>> FYI I want to monitor the performance between two PLC devices that are
>> connected to eth0 and eth1.
>>
>> Thanks Valentin,
>> Abdel.
(Continue reading)

Abdelrazak Younes | 31 Dec 2008 09:58
Picon

Gui for tcpreplay/tcprewrite?

Hello,

I am not much a commandline guy and my coworkers are Windows people; so 
I was thinking of creating a simple GUI for tcpreplay and tcprewrite. Is 
there anything like this planned or in the work already? I am willing to 
contribute to this project if it exists. If nothing is decided yet, I am 
quite proficient with C++ and Qt4 (I wrote the initial Qt4 port of LyX*) 
so if that could be taken in the balance...

Abdel.

* www.lyx.org

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Abdelrazak Younes | 31 Dec 2008 10:35
Favicon

Problem with --enable-local-libopts

Hello,

In http://tcpreplay.synfin.net/trac/wiki/Developer#DeveloperNotes, I 
read that I should use --enable-local-libopts

I don't know if this is an old page but I get this error:

younes <at> younes:~/devel/pcap/tcpreplay$ ./autogen.sh
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
younes <at> younes:~/devel/pcap/tcpreplay$ ./configure --enable-local-libopts
...
checking for autogen version >= 5.9.x... yes 

configure: error: Your version of autogen (5.9.5) != libopts tear off 
(5.9.2)  Either install the correct version or specify 
--disable-local-libopts

I am reporting this just in case it is not known.

Abdel.

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Abdelrazak Younes | 31 Dec 2008 10:38
Picon

Problem with --enable-local-libopts

Hello,

In http://tcpreplay.synfin.net/trac/wiki/Developer#DeveloperNotes, I 
read that I should use --enable-local-libopts

I don't know if this is an old page but I get this error:

younes <at> younes:~/devel/pcap/tcpreplay$ ./autogen.sh
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
younes <at> younes:~/devel/pcap/tcpreplay$ ./configure --enable-local-libopts
...
checking for autogen version >= 5.9.x... yes
configure: error: Your version of autogen (5.9.5) != libopts tear off 
(5.9.2)  Either install the correct version or specify 
--disable-local-libopts

I am reporting this just in case it is not known.

Abdel.

PS: Sorry Aaron for the double post if it comes. I send the first mail 
from gmane without noticing.

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

(Continue reading)


Gmane