On Fri, Apr 6, 2012 at 5:33 AM, Senthil Kumar S
<senthilkuma...@sasken.com> wrote:
> Hi Aaron,
>
> Thanks for a brief explanation. Our aplication/software actually does not 
> listen in any interface. Application/Software runs in centos pc as already 
> mentioned.
>
> Our application/software takes the packets from the tcp/ip stack (after the 
> packets reached the tcp/ip stack of cent-os) and then do some processing.
>
> Due to the confidentiality of this app/software, I am really sorry that I 
> cannot go beyond this limit, but this is how our app/soft works.
>
> I suspect packets replayed through tcpreplay didn't reach the tcp/ip stack.
>
> Am I doing anything wrong in the modification of pcap ???

The way you're describing your DUT makes me believe that you're
opening a standard TCP socket on both DUT interfaces.  And then you're
trying to use tcpreplay to send client traffic to one socket/interface
and server traffic to the other.  As I explained in an earlier thread,
you can't use tcpreplay to send traffic to DUT's which listen on a
standard TCP socket.

Ie: if you're doing something like this in your code:

fd = socket(AF_INET, SOCK_STREAM, 0);

then you have a 0% chance of it ever working because tcpreplay doesn't
know how to respond to the TCP 3 way handshake required of a real
TCP/IP stack on an endpoint.  Game over.

If you're not doing what I've just described above, you're going to
have to pull back the veil of secrecy a little and explain what you
are doing and how your DUT works.  If you're not able to do that on a
public forum, I'm available as a consultant and I can sign an NDA.  If
interested, email me off-list and we can talk further.  But if you
can't explain it any more then sorry, but I won't be able to help you
further.

Regards,
Aaron


-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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

Reply via email to