Friday, 26 October 2007

capture packets on linux

capture packets : tethereal tool

ex:
> tethereal -R tcp.port==8185 -i any -w output.cap

params:

-R «Wireshark filter string»
-i «interface anme»
-w «output file»