This is our old Q&A Site. Please post any new questions and answers at


I searched a lot but I don't find a solution. I would to know if it is possible in tshark to filter the traffic (in Bytes) for each mac address

exemple :

00:ce:56:fd:34:ab -> 8000 Bytes
00:ce:89:fd:37:c8 -> 16788 Bytes

I have started something like this :

tshark -r myfile -qz io,stat,0,1,SUM(...

Any idea please ?


asked 01 Mar '11, 08:29

steameraproject's gravatar image

accept rate: 0%

edited 01 Mar '11, 14:06

SYN-bit's gravatar image

SYN-bit ♦♦

Try this:
tshark -r test.pcap -q -z conv,eth,eth.addr==00:ce:56:fd:34:ab -z conv,eth,eth.addr==00:ce:89:fd:37:c8

Just some other examples:
$ tshark -r test.pcap -q -z conv,eth
$ tshark -r test.pcap -q -z conv,eth -z conv,ip -z conv,tcp
$ tshark -r test.pcap -q -z conv,tcp,ip.addr== -z conv,ip,ip.addr==

permanent link

answered 01 Mar '11, 10:32

joke's gravatar image

accept rate: 9%

edited 02 Mar '11, 03:40

Thank you so much for your quick response !! I will try this tomorrow.

Another question : My goal is to detect abnormal traffic volume during the night (virus...) I do not necessarily know all the mac address as they connect to wifi

so is it possible to combine the data volume per mac address without knowing them ?

something like this :

 tshark -r test.pcap -q -z conv,eth,eth.addr==*

thank you again kevin

permanent link

answered 02 Mar '11, 09:38

steameraproject's gravatar image

accept rate: 0%

To see all ethernet conversations use:
$ tshark -r test.pcap -q -z conv,eth

To redirect output to a text file use:
$ tshark -r test.pcap -q -z conv,eth > test.txt

permanent link

answered 02 Mar '11, 10:41

joke's gravatar image

accept rate: 9%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 01 Mar '11, 08:29

question was seen: 6,560 times

last updated: 02 Mar '11, 10:41

p​o​w​e​r​e​d by O​S​Q​A