Skip to main content

Questions tagged [named-pipes]

A named pipe is an inter-process communication mechanism, which exists both on Unix and Unix-like systems (where it is also known as a FIFO and is file-like), and on Microsoft Windows (where it is an in-memory kernel object). The semantics and APIs differ substantially between the platforms.

named-pipes
1 vote
0 answers
252 views

How to write my TCPDump data from a pipeline in Linux to a pcap file?

So I am writing a program on a PLC where I need to constantly record network traffic with TCPdump into a Linux Pipeline. Every x minutes I need to write the data from the pipeline into a pcap file ...
BrenDs's user avatar
  • 11
1 vote
1 answer
177 views

Creating a named pipe doesn't work from WinUI3 packaged app

I am creating a named pipe from WinUI3 packaged app. This is a piece of code and it works fine when I launch the application from Visual Studio 2022: PipeSecurity ps = new PipeSecurity(); var sid = ...
demonplus's user avatar
  • 5,731
0 votes
2 answers
82 views

Multiple NamedPipeServerStreams in same process

I have made a first implementation of a process that keeps two different NamedPipeServerStreams running and receiving messages on both. I'm wondering if there is a way to react on a task directly when ...
Helena's user avatar
  • 1,067
1 vote
2 answers
752 views

Is there a way to open FIFO(named pipe) in write-only way without blocked

I use FIFO in my server. Due to some limitations, I have to open the FIFO in write-only firstly, then I use fork to create another process to open FIFO in read-only. But I find that, it will be ...
Klen's user avatar
  • 23
0 votes
0 answers
127 views

How can I ensure secure communication between my browser extension and native host?

I am building an app that exchanges sensitive data between the extension and the native host. I realized that communication between the 2 is done via Named Pipes (see here). This means, as far as I ...
Moaz Fathy's user avatar
0 votes
1 answer
205 views

Why NamedPipes are not working with 64bit?

I am working on a C# project that uses NamedPipes for interprocess communication to exchange data between the main app and a Windows service. Creating and working with the pipe was implemented with ...
Spiky05's user avatar
  • 23
2 votes
1 answer
208 views

Named pipe monitor

I am trying to sniff on named pipe messages using API hooking. I am using the following C# code. I am not seeing any named pipe messages when I communicate using named pipe streams . Any help is ...
user2250991's user avatar
0 votes
1 answer
317 views

`os.OpenFile` with O_RDONLY hangs on named pipe with no writers

I am writing a daemon that is supposed to receive notifications from ephemeral CLI commands and have chosen to do so through a unix named pipe. I have written a short package that on the one hand ...
acud's user avatar
  • 89
2 votes
1 answer
189 views

Reopen linux pipes (from one side only) using file name

I have two different programs in C++ that talk to each other via (linux) pipes. One process is the master, and the other process is the slave. Either of them could crash or simply be restarted, but ...
nsalu's user avatar
  • 43
0 votes
2 answers
1k views

Is it possible to redirect a named pipe to standard output using only shell redirection?

I need to write a shell script, the output of which is fed to the standard input of another application. The shell script needs to read data from a named pipe pipe.fifo. A trivial way to do this is ...
Flanas's user avatar
  • 1
0 votes
1 answer
39 views

Determine the r/w mode of named pipe that the client is using

Windows named pipes. The pipe is created in duplex mode. Once the connection is accepted by the server by calling ConnectNamedPipe, how can the server determine if the client opened the pipe for ...
Seva Alekseyev's user avatar
0 votes
1 answer
1k views

Windows named pipe ReadFile failing with error 232

I have two 32 bit applications communicating over a named pipe in windows without errors. Recently due to project requirements I had to convert one of the 32 bit to 64 bit application, Now when the 64 ...
Tej Ravi's user avatar
0 votes
0 answers
174 views

Reading FFmpeg bytes from named pipes, extracted NAL units are bad/corrupted

I'm trying to read .mp4 file wtih ffmpeg and read bytes from the named pipe which I then want to package to RTP stream and send those packets over WebRTC. What I learned is that H264 video consists of ...
Mr Squidr's user avatar
  • 143
0 votes
1 answer
114 views

How to create NamedPipe as LocalSystem account that can be connected to by normal users

I am able to create a NamedPipe on Windows that clients can connect to and everything works fine, but when I create the pipe as LocalSystem user, my "normal" users cannot connect to it ...
Daniel's user avatar
  • 27.9k
0 votes
1 answer
273 views

ReadFile returns 233 reading from a Named-pipe which CreateProcess output is redirected to

I'm trying to run a command using CreateProcess and redirect STDOUT to a named-pipe created on the same machine(server) which the client is connected to and is going to receive the output data. Named-...
zbx0310's user avatar
  • 64

15 30 50 per page
1
3 4
5
6 7
127