On Fri, May 25, 2012 at 8:23 AM, Jaime Nebrera
<jnebr...@eneotecnologia.com>wrote:

> Still, the pcaps are big, like 1 to 2 Gb. Might be a bit too much for WS
>
> Any way to do so from command line so I can automate it?
>

tcpdump should work.

The format would be something like:

    $ tcpdump -r <master-file> -w <client-file> src <client-ip>
    $ tcpdump -r <master-file> -w <server-file> src <server-ip>

The -r and -w flags tell tcpdump to read from and write to the respective
files.

If you have other packets you could extend the BPF expressions by
specifying the destination IP of the server or client.  This will only
filter out packet with the client and server IPs (missing any ARP and some
DHCP packets), but that probably won't be a problem.

--michael
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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