Skip to main content
1 vote
0 answers
28 views

OpenSSL with p11-kit-client.so fails inside Nginx container (but p11tool works via UNIX socket)

I'm setting up nginx inside a Docker container (proxy container) to use a PKCS#11 private key via OpenSSL + engine_pkcs11. The private key is managed by SoftHSM2 in another container (HSM container), ...
Latte Xu's user avatar
-1 votes
1 answer
43 views

Exclusive unix-socket write permissions for shared libraries

I have a logging application and shared library, that write to this application via unix socket. I want to implement exclusive access of writing to logging application only for the dynamic library. I ...
dodik's user avatar
  • 11
-2 votes
0 answers
68 views

Does this Deno REPL in the browser resemble FIFO, Unix Domain Sockets, something else?

A file system experiment I've thought about for a while. Somehow creating a FIFO or Unix Domain Socket that is a bi-directional connection with streaming capabilities between arbitrary Web pages and ...
guest271314's user avatar
0 votes
0 answers
42 views

Second client connect() on unix domain socket succeeds even when listen() set to zero and server only accepts a single connection

I am writing a Python 3-based server/client program using a Unix-domain socket. I am trying to build the server such that only a single client can connect to the server and subsequent connect() calls ...
Anirban's user avatar
  • 580
0 votes
0 answers
33 views

Docker Volume Socket Release Issue

Having some application that is ran within a container. Besides the rest it starts listening a unix socket within a pre mounted volume directory. Previously file is pre cleaned up if exists any. The ...
404's user avatar
  • 459
4 votes
1 answer
41 views

How can I create a BufReader and safely continue reading ancillary data from an underlying unix socket?

I'm writing some Rust code where I have a UnixStream socket that I want to receive ancillary messages as well as normal messages. For the normal messages, it would be useful to use BufReader's ...
irontigran's user avatar
3 votes
1 answer
88 views

Splicing from stdin to a socket: Broken pipe

With the following, the client has a small chance of receiving "Broken pipe" when it attempts to splice, despite the socket being, as far as I can see, open. (The "small chance" ...
Runxi Yu's user avatar
  • 410
2 votes
1 answer
63 views

Splicing standard input to a socket

As part of a larger program, I would like to copy everything from standard input to a UNIX domain socket. I figured that splice(2) would likely be appropriate but I'm having trouble using it. Minimal ...
Runxi Yu's user avatar
  • 410
0 votes
0 answers
79 views

Unix domain sockets in rust with interprocess intermittent 'failed to fill whole buffer'

I have a rust program that starts up a server process and listens on a specific unix domain socket for incoming connections. Incoming connections connect to this domain socket, send a single request ...
Toms Jansons's user avatar
1 vote
1 answer
72 views

Behaviour of one-side socket close for UNIX socket with SOCK_DGRAM vs. SOCK_STREAM

When closing a UNIX socket on one side I would expect the other side to be notified of that by a read call, that returns 0. However when using SOCK_DGRAM, the read-call blocks indefinitely. Even when ...
Caulder's user avatar
  • 356
0 votes
0 answers
22 views

Sockets in POSIX RT PSE profiles

I stumbled upon the API standards for open systems. In Appendix A., at the end of this document there is a Feature Matrix which summarizes the requirements for key profiles. Regarding the Feature &...
Daniel B's user avatar
0 votes
0 answers
69 views

Raw UDP packet being dropped

I am learning raw socket programming in linux Ubuntu but i have a problem. My udp packet is not shown in Wireshark. I suspect that its being dropped by my router because of a mistake I made. here is ...
ling978089's user avatar
2 votes
2 answers
317 views

How to open a socket /proc/pid/fd/3 file?

A process' file descriptors can be seen in /proc/pid/fd dir, where some of them can be opened and read or written. For example, if I pipe something to a process on stdin, it will show up as /proc/pid/...
msharov's user avatar
  • 21
0 votes
1 answer
118 views

How to serve a nuxt 3 webapp with unix socket instead of http

Is it possible to build a Nuxt 3 App so that it will use a unix socket instead of serving on a local tcp port? I am intending to make an app with pywebview and nuxt3. I want the pywebview to display ...
Safwan Amin's user avatar
1 vote
0 answers
114 views

How to bind ktor to a unix socket?

I can't find a way to bind ktor server to a Unix socket, whatever engine I use. I've found the socket API, but I cant find a way to have ktor handle requests coming from it as it would with plain HTTP ...
OwOchlé's user avatar

15 30 50 per page
1
2 3 4 5
49