Ask Your Question
0

Wireshark-win64-2.2.10 Cannot load interfaces for androiddump.exe on Win10

asked 2017-11-16 21:00:47 +0000

kekkou gravatar image

updated 2017-11-19 15:50:08 +0000

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\fang>adb version
Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android
Installed as C:\WINDOWS\adb.exe





C:\Users\fang>CD /d  D:\ProgramFiles\Wireshark
D:\ProgramFiles\Wireshark> Wireshark -oconsole.log.level:252 -ogui.console_open:ALWAYS


D:\ProgramFiles\Wireshark>file   D:\ProgramFiles\Wireshark\extcap\androiddump.exe
D:\ProgramFiles\Wireshark\extcap\androiddump.exe: PE32+ executable (GUI) x86-64, for MS Windows

D:\ProgramFiles\Wireshark>
D:\ProgramFiles\Wireshark>18:00:00  Capture Msg  Capture Interface List ...
18:00:00  Capture Dbg  sync_interface_list_open
18:00:00  Capture Info sync_pipe_run_command() starts
18:00:00  Capture Dbg    argv[0]: D:\ProgramFiles\Wireshark\dumpcap.exe
18:00:00  Capture Dbg    argv[1]: -D
18:00:00  Capture Dbg    argv[2]: -Z
18:00:00  Capture Dbg    argv[3]: none
18:00:00  Capture Dbg  sync_pipe_open_command
18:00:00  Capture Dbg  read 6 indicator: S empty value
18:00:00  Capture Dbg  sync_pipe_wait_for_child: wait till child closed
18:00:00  Capture Dbg  sync_pipe_wait_for_child: capture child closed after 0.001s
18:00:00  Capture Info sync_pipe_run_command() ends, taking 0.218s, result=0
18:00:00  Capture Msg  Loading External Capture Interface List ...
18:00:00  Capture Dbg  Loading interface list for D:\ProgramFiles\Wireshark\extcap\androiddump.exe
18:00:00  Capture Dbg  Cannot load interfaces for D:\ProgramFiles\Wireshark\extcap\androiddump.exe
18:00:00  Capture Dbg  Loading interface list for D:\ProgramFiles\Wireshark\extcap\ciscodump.exe
18:00:00  Capture Dbg  Interface found (null)

18:00:00  Capture Dbg    Extcap [(null)]
18:00:00  Capture Dbg  Interface found cisco

18:00:00  Capture Dbg    Interface [cisco] "Cisco remote capture"
18:00:00  Capture Dbg  Loading interface list for D:\ProgramFiles\Wireshark\extcap\randpktdump.exe
18:00:00  Capture Dbg  Interface found (null)

18:00:00  Capture Dbg    Extcap [(null)]
18:00:00  Capture Dbg  Interface found randpkt

18:00:00  Capture Dbg    Interface [randpkt] "Random packet generator"
18:00:00  Capture Dbg  Loading interface list for D:\ProgramFiles\Wireshark\extcap\sshdump.exe
18:00:00  Capture Dbg  Interface found (null)

18:00:00  Capture Dbg    Extcap [(null)]
18:00:00  Capture Dbg  Interface found ssh

18:00:00  Capture Dbg    Interface [ssh] "SSH remote capture"
18:00:00  Capture Dbg  Loading interface list for D:\ProgramFiles\Wireshark\extcap\udpdump.exe
18:00:00  Capture Dbg  Interface found (null)

18:00:00  Capture Dbg    Extcap [(null)]
18:00:00  Capture Dbg  Interface found udpdump

18:00:00  Capture Dbg    Interface [udpdump] "UDP Listener remote capture"
18:00:00  Capture Msg  Capture Interface Capabilities ...
18:00:00  Capture Dbg  sync_if_capabilities_open
18:00:00  Capture Info sync_pipe_run_command() starts
18:00:00  Capture Dbg    argv[0]: D:\ProgramFiles\Wireshark\dumpcap.exe
18:00:00  Capture Dbg    argv[1]: -i
18:00:00  Capture Dbg    argv[2]: \Device\NPF_{7CCA571D-7442-4397-908C-478D09E86C8B}
18:00:00  Capture Dbg    argv[3]: -L
18:00:00  Capture Dbg    argv[4]: -Z
18:00:00  Capture Dbg    argv[5]: none
18:00:00  Capture Dbg  sync_pipe_open_command
18 ...
(more)
edit retag flag offensive close merge delete

Comments

What happens if you run D:\ProgramFiles\Wireshark\extcap\androiddump.exe from the Windows command line?

Guy Harris gravatar imageGuy Harris ( 2017-11-17 03:30:18 +0000 )edit

It prints "Usage: " ... on the console

kekkou gravatar imagekekkou ( 2017-11-17 05:42:34 +0000 )edit

Why do you need to use an old version, can you try the latest stable (2.4.2)?

grahamb gravatar imagegrahamb ( 2017-11-17 12:39:58 +0000 )edit

What if you run D:\ProgramFiles\Wireshark\extcap\androiddump.exe --extcap-interfaces?

Guy Harris gravatar imageGuy Harris ( 2017-11-17 18:04:06 +0000 )edit

@grahamb On my company PC, Wireshark 2.2.3 shows interfaces but it gives "Error by extcap pipe: ERROR: Broken socket connection." My company doesn't allow to install new software, so I try 2.2.10 and the latest (2.4.2) version, but both cannot work even show no interfaces about android.

@Guy Harris It outputs nothing using Version 2.4.2 (v2.4.2-0-gb6c63ae086) and adb.server has been started.

kekkou gravatar imagekekkou ( 2017-11-19 15:18:02 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-13 11:46:08 +0000

Lori gravatar image

@kekkou I had the same "ERROR: Broken socket connection." To solve this issue you need to run the adb server as root. Try running adb root before capturing. The reason behind this is that androiddump is using tcpdump on the emulator, and that needs to be executed as root.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-16 21:00:47 +0000

Seen: 2,732 times

Last updated: Feb 13 '18