How can I have the ouput of
in a dynamical fashion. This table should be displayed continuously on my terminal and have it updated along the packet capture. asked 11 Oct '16, 09:16 user31415 edited 11 Oct '16, 09:16 |
One Answer:
How can I have the ouput of
in a dynamical fashion. This table should be displayed continuously on my terminal and have it updated along the packet capture. asked 11 Oct '16, 09:16 user31415 edited 11 Oct '16, 09:16 |
One Answer:
Can you imagine dynamic updates of a list of 10000+ IP addresses? I mean, this is not something you would implement as a generic feature, not only because it would generate a lot of load on the text output subsystem but mainly because the output would be totally impossible to deal with for the human observing it. So if you need such functionality for your particular scenario with less IP addresses on the wire than lines in your terminal window, I'd recommend to pipe the normal output of tshark
-T fields -e ip.src -e ip.dst
to stdin of your own piece of code (a perl script is enough) which would then do what you want.