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

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%


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

permanent link

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
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×549
×37

question asked: 11 Jul '14, 06:41

question was seen: 4,558 times

last updated: 14 Sep '15, 22:17

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