1 | initial version |
You can add a display filter to only output packets that are sent from a to b or from b to a, e.g.
-Y ((ip.src == a) && (ip.dst == b)) || ((ip.src == b) && (ip.dst == a))
if you need to make sure only tcp packets are included, then append an additional filter element for tcp, e.g.
&& tcp