This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

Unable to write to standard output: The pipe is being closed.

asked Nov 06 '25

I got an error when capturing packets with Wireshark on EVE as follows "Unable to write to standard output: The pipe is being closed". Please help me!!! Error image link: https://drive.google.com/file/d/1o8cI...

Comments

Can you provide more detail of your capture system. Also add output of wireshark -v.

User 2763 ( Nov 07 '25 )

Also, you need to provide access to this screenshot, 'cause no one other than you can see it.

User 39986 ( Nov 07 '25 )

I have given permission, please help me

User 84649 ( Nov 07 '25 )

The wireshark_wrapper.bat file looks like this:

@User 26764 OFF
SET USERNAME="root"
SET PASSWORD="dnl@123"

SET S=%1
SET S=%S:capture://=%
FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b
IF "%INT%" == "pnet0" SET FILTER=" not port 22"

ECHO "Connecting to %USERNAME%@%HOST%..."

"C:\Program Files\EVE-NG\plink.exe" -ssh -batch -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -
User 84649 ( Nov 07 '25 )

1 Answer

0

answered Nov 07 '25

updated Nov 07 '25

"Unable to write to standard output: The pipe is being closed"

Error message is from plink. See:
Remote ssh capture does not work on Windows 10
Error Piping to Wireshark with Plink.exe

If you installed the extcap interfaces with Wireshark, maybe use the sshdump interface in the gui or from the command line as shown in the man page.

cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.