python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Expose stdin and stdout of binary as TCP socket in Docker
With socat I can expose a binaries stdin/out as a socket for example like this:
$ socat TCP-LISTEN:8080,fork EXEC:./mybinary,pty
I would like to do the same with for example the go docker image.
But ...
Hellstormer
Votes: 0
Answers: 0
Passing parameter with special characters to Socat exec script
I have a RNDIS USB modem that allows AT commands through a telnet port (5510). I want to use it to read and send SMS messages from a script.
I've used a variant of a similar question posted here but ...
Rob P
Votes: 0
Answers: 1
Socat - certificate rotation for mTLS connection - reload credential files interval
Use case:
I use socat to stream traffic between some app and external world via Squid (app->socat->Squid). To authenticate in SQUID I use mTLS.
My socat usage:
socat -d -d tcp-listen:3128,reusea...
Maciek Leks
Votes: 0
Answers: 1
How can I send a UDP packet from bash and receive the response
I want to send a UDP packet from bash (perhaps using netcat or socat) and then receive the one-packet reply, or time-out after three seconds.
(Strictly, the listening needs to start before the initial...
fadedbee
Votes: 0
Answers: 1