in reply to Sorting out troubles with advanced-ish sort
As an idea for a "conversation", presuming you mean "packets that go either way between host:port X and host:port Y", you could develop a signature for the conversation by sorting the host:port so that the lower host:port is always to the left, and then the signature is the concatenation of the two. For example, packets from 10.1:8000 to 10.2:5000 as well as packets from 10.2:5000 to 10.1:8000 would both be labeled as "10.1:8000-10.2:5000" in the signature of the conversation, by sorting the two hosts so that the lower host/port is to the left.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting out troubles with advanced-ish sort
by chargrill (Parson) on May 06, 2006 at 17:28 UTC | |
by japhy (Canon) on May 06, 2006 at 18:02 UTC | |
by ikegami (Patriarch) on May 06, 2006 at 19:18 UTC | |
by chargrill (Parson) on May 08, 2006 at 17:22 UTC | |
by ikegami (Patriarch) on May 08, 2006 at 17:53 UTC | |
by johngg (Canon) on May 06, 2006 at 20:20 UTC |