Re: [Tcpick-project] Question about multiple streams
Status: Beta
Brought to you by:
duskdruid
From: Christian B. <ch...@do...> - 2011-02-13 16:31:39
|
Hi, I've had the same problem some years ago. My solution was a simple patch to the tcpick output-routine, which printed the connection-identifier in front of each piece of data. That way a single script/program was able to partition the interleaved stream into multiple streams. I did use this to passively record HTTP connections and it worked pretty good. Some instructions to make that work (including the patch) can be found here: https://secure.jwall.org/web/tap/building_tcpick.jsp (Building a patched TCPICK) https://secure.jwall.org/web/tap/index.jsp (HTTP Recording with Java) Regards, Chris Am 07.02.2011 um 07:00 schrieb Chuck Lane: > I'm using a php script to parse input coming from tcppick. I've figured out how to get it working with one stream, however if I have multiple incoming streams on the same port I can't figure it out. > > Right now i'm using something like > > tcpick -bR "port xxx" | php5 ./myscript.php > > and reading the input in from stdin. > > Is there any way that I can make tcppick launch multiple instances of my script depending on how many connections are coming in > each one is on the same dest port but a different source port if that helps > > Thanks > > > -- > Chuck Lane > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb_______________________________________________ > Tcpick-project mailing list > Tcp...@li... > https://lists.sourceforge.net/lists/listinfo/tcpick-project |