This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

capture at multiple interface in Wireshark 1.7 development release

0

Could some pls tell me if it is possible to start wireshark 1.7 ( dev version ) from command line with multiple interfaces specified ? I could start a capture from a single interface from command line but not multiple interfaces.

I tried these but nothing worked

sudo wireshark -i eth1 -i /tmp/pipe

sudo wireshark -k -i eth1 -i /tmp/pipe

For the above wireshark started but displayed some error information for dumpcap that “–t option is invalid.” But i did not specific “-t” in the command line.

Some pls tell me what the issue is ??

thanks in advance

asked 10 Jan ‘12, 22:47

v%20j's gravatar image

v j
11447
accept rate: 0%

edited 11 Jan ‘12, 00:09

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196

To quote Michael Tuexen’s answer when the same question was asked on the wireshark-dev mailing list:

What does dumpcap -t do?

The -t option is supported on the current developer version (svn head) on my system.

I will ask some additional questions:

  • Did you build this from source, or is it the 1.7.0 release from the Wireshark download page, or is it one of the automated builds?

  • If you built it from source, did you modify it?

  • If you built it from source, are you running it from the build directory or from a make install?

(11 Jan ‘12, 00:08) Guy Harris ♦♦

dumpcap -t throws invalid option error.

I built wireshark from source

No I did not modify the code

i am running it from build directory

(11 Jan ‘12, 04:40) v j


One Answer:

0

Unfortunately, there was a required change made to dumpcap.c after 1.7.0 was released, so you will need to download and build one of the more recent automated sources in order for this to work, or you could manually apply the change to the 1.7.0 dumpcap.c file yourself.

answered 11 Jan '12, 11:21

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

edited 11 Jan '12, 11:22