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

Keep pipe in interface list

1

I am capturing from \\.\pipe\wireshark using a utility program. Right now, I go to Capture Options->Manage Interfaces and add the new pipe. Capturing here is no problem.

However, the next time I open Wireshark, the pipe has gone from the list and I need to go through the same procedure to add the pipe again.

Is there any way that I can make the pipe persist in the interface list? Doing this every time I open Wireshark is very inconvenient.

asked 11 Jul '14, 06:41

burwell's gravatar image

burwell
26346
accept rate: 100%


One Answer:

1

Please start Wireshark like this:

wireshark -ni \\.\pipe\wireshark

You will then see the pipe in the list of interfaces.

If you want to start capturing immediately, you can run

wireshark -ni \\.\pipe\wireshark -k

Regards
Kurt

answered 15 Jul '14, 03:39

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 15 Jul '14, 03:40

Thanks for your reply, Kurt. Is there any way to do this without starting from the command line?

(15 Jul '14, 12:39) burwell

I don't think so. I believe it would require a code change.

(15 Jul '14, 12:57) Kurt Knochner ♦

Okay. I'll accept your answer since I didn't specify that I needed it to be non-command line and there doesn't seem to be another way. Thanks!

(15 Jul '14, 14:04) burwell

As the form of the pipe name you gave suggests you run Wireshark on Windows, have you noticed that application "shortcuts" (on the desktop, in the Start menu, or anywhere where you create it) are actually command line wrappers? If you open properties of the shortcut, you'll see that there is a command line starting the application. Modify it the way Kurt has suggested and the next time you click the shortcut, your pipe will be in the interface list.

(14 Sep '15, 22:17) sindy